ecdemo/commit

Make sure datacloud is properly prepared

authorJan Wielemaker
Tue Jul 12 15:45:55 2011 +0200
committerJan Wielemaker
Tue Jul 12 15:45:55 2011 +0200
commit02a713b055f53bd1b9df01b4943f2dacd6159dd1
treec41d909f7a3389c707caad03f4dc56873a943c1d
parent6ded9a54708f82251a8744bf0c0a343507b26d73
Diff style: patch stat
diff --git a/config-available/econnect.pl b/config-available/econnect.pl
index c0685a9..fd3b432 100644
--- a/config-available/econnect.pl
+++ b/config-available/econnect.pl
@@ -3,6 +3,7 @@
 :- use_module(library(http/http_path)).
 :- use_module(library(http/html_write)).
 :- use_module(library(http/html_head)).
+:- use_module(library(semweb/rdf_library)).
 :- use_module(skin(cliopatria)).
 
 :- use_module(applications(vocabularies/vocabularies)).
@@ -12,6 +13,12 @@
 
 */
 
+% load the RDF Manifest files to enable the datacloud generation
+
+:- initialization
+	rdf_attach_library(ecdemo(rdf)),
+	forall(rdf_library_source('ec-all', _), true).
+
 :- html_resource(cliopatria,
                  [ virtual(true),
                    requires([ css('econnect.css')
@@ -46,7 +53,7 @@ home(_Request) :-
 
 cliopatria:server_address -->
 	html_requires(css('cliopatria.css')),
-	html([ 	\logo,
+	html([	\logo,
 		\server_address(amalgame)
 	     ]).