cpack_repository/commit
Added ClioPatria home page
author | Jan Wielemaker |
---|---|
Tue Jan 25 13:47:48 2011 +0100 | |
committer | Jan Wielemaker |
Tue Jan 25 13:47:48 2011 +0100 | |
commit | 91716b0ef567c7aa385772e96e437e232a49cf37 |
tree | 9f5c51a28c5a0fda262a7d8c90542cbe5d5d3a96 |
parent | 8b3bbcde93a6d61b6e213dc1c6b14995861e4cfd |
Diff style: patch stat
diff --git a/applications/cpack_home.pl b/applications/cpack_home.pl index f23483d..4655a6d 100644 --- a/applications/cpack_home.pl +++ b/applications/cpack_home.pl @@ -32,7 +32,8 @@ :- include(bundle(html_page)). :- use_module(components(cpack)). -:- http_handler(root(home), cpack_home, [id(home), priority(10)]). +:- http_handler(root(cpack_home), cpack_home, []). +:- http_handler(root(home), cliopatria_home, [id(home), priority(10)]). %% cpack_home(+Request) % @@ -52,3 +53,12 @@ cpack_home(Request) :- [ \insert_html_file(html('cpack_home.html')), \package_table([sort_by(By)]) ])). + +%% cliopatria_home(+Request) +% +% HTTP handler that provides the ClioPatria welcome page. + +cliopatria_home(_Request) :- + reply_html_page(cliopatria(cpack), + title('ClioPatria: the SWI-Prolog RDF toolkit'), + \insert_html_file(html('cliopatria_home.html'))). diff --git a/config-available/cpack_repository.pl b/config-available/cpack_repository.pl index 1eb8240..87a3c99 100644 --- a/config-available/cpack_repository.pl +++ b/config-available/cpack_repository.pl @@ -17,6 +17,7 @@ http:location(cpack, root(cpack), []). cliopatria:menu_popup_order(cpack, 250). cliopatria:menu_label(cpack, 'CPACK'). +cliopatria:menu_item( 50=cpack/cpack_home, 'Home'). cliopatria:menu_item(100=cpack/cpack_list_packages, 'List packs'). cliopatria:menu_item(200=cpack/cpack_submit_form, 'Submit pack'). cliopatria:menu_item(300=cpack/cpack_clone_server_form, 'Clone server') :- diff --git a/web/html/cliopatria_home.html b/web/html/cliopatria_home.html new file mode 100644 index 0000000..180b542 --- /dev/null +++ b/web/html/cliopatria_home.html @@ -0,0 +1,45 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> + +<html> + <head> + <title>ClioPatria: the SWI-Prolog RDF toolkit</title> + </head> +<body> +<h1>ClioPatria: the SWI-Prolog RDF toolkit</h1> + +<p> +ClioPatria is a <a href="http://www.swi-prolog.org">SWI-Prolog</a> +application that integrates SWI-Prolog's the SWI-Prolog libraries for +RDF and HTTP services into a ready to use (semantic) web server. The +core server has an integrated package manager that allows distributing +and using add-on libraries: CPACK. + +<p> +The development of ClioPatria started within the MultimediaN project, +where it formed the core of the a semantic search demonstrator that won +1st price in the ISWC2006 application contest <a href="#1">[1]</a>. With +the current ClioPatria, we stripped the functionality to the basics and +provide the CPACK system for extending it. We intend to continue with +the development for a long time. + +<ul> + <li>A <a href="/help/whitepaper.html">whitepaper</a> that explains + why you need ClioPatria. + <li>Getting <a href="/help/">started</a> with ClioPatria. + <li>The home of the <a href="/cpack/home.html">CPACK</a> package + manager. + <li>The ClioPatria <a href="http://mailman.few.vu.nl/mailman/listinfo/cliopatria-list">mailing list</a>. +</ul> + +<hr> +<p> +<a name="1">[1]</a> G. Schreiber, A. Amin, M. van Assem, V. de Boer, L. +Hardman, M. Hildebrand, L. Hollink, Z. Huang, J. van Kersen, M. de Niet, +B. Omelayenko, J. van Ossenbruggen, R. Siebes, J. Taekema, J. +Wielemaker, and B. Wielinga. MultimediaN E-Culture Demonstrator. In The +Semnantic Web - ISWC 2006, Athens, Georgia, volume 4273 of LNCS, pages +951-958. Springer Verlag, November 2006. Winner Semantic Web Challenge +2006, + +</body> +</html>