# HG changeset patch # User samer # Date 1423858994 0 # Node ID dd7f423292eed86e40c6a21fb1cd8f36d3f3e488 # Parent 4de310ede251403b742c6c221c78312e717c9a83 Added adjusted config to handle main menu differently. diff -r 4de310ede251 -r dd7f423292ee var/dml/config-enabled/isearch.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/var/dml/config-enabled/isearch.pl Fri Feb 13 20:23:14 2015 +0000 @@ -0,0 +1,25 @@ +:- module(conf_isearch, []). +:- use_module(library(http/http_dispatch)). +:- use_module(isearch(applications/isearch)). + +/** Interactive search + +Provide interactive search based on property-chains and multi-facetted +browsing. + +@author Michiel Hildebrand +*/ + +% Hijack the search-field, redirecting the queries to the interactive +% search page. + +% SA- disabled +% :- http_handler(cliopatria(isearch_literal), +% isearch_page([ header(false), +% query_type(literal) +% ]), +% [id(list_triples_with_literal), priority(10)]). +% :- http_handler(cliopatria(isearch), +% isearch_page([ header(false) +% ]), +% [id(search), priority(10)]). diff -r 4de310ede251 -r dd7f423292ee var/dml/config-enabled/isearch.pl.disabled --- a/var/dml/config-enabled/isearch.pl.disabled Fri Feb 13 18:46:12 2015 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -:- module(conf_isearch, []). -:- use_module(library(http/http_dispatch)). -:- use_module(isearch(applications/isearch)). -:- use_module(cliopatria(hooks)). - -/** Interactive search - -Provide interactive search based on property-chains and multi-facetted -browsing. - -@author Michiel Hildebrand -*/ - -% Hijack the search-field, redirecting the queries to the interactive -% search page. - -% SA- disabled -% :- http_handler(cliopatria(isearch_literal), -% isearch_page([ header(false), -% query_type(literal) -% ]), -% [id(list_triples_with_literal), priority(10)]). -% :- http_handler(cliopatria(isearch), -% isearch_page([ header(false) -% ]), -% [id(search), priority(10)]). - - - - diff -r 4de310ede251 -r dd7f423292ee var/dml/config-enabled/skos_browser.pl --- a/var/dml/config-enabled/skos_browser.pl Fri Feb 13 18:46:12 2015 +0000 +++ b/var/dml/config-enabled/skos_browser.pl Fri Feb 13 20:23:14 2015 +0000 @@ -1,20 +1,1 @@ -:- module(conf_skos_browser, []). - -:- use_module(library(semweb/rdf_library)). -:- use_module(library(skos_schema)). -:- use_module(cliopatria(hooks)). - -/** SKOS vocabulary browser -*/ - -http:location(skosbrowser, cliopatria(skos/browse), []). -http:location(skosapi, cliopatria(skos/api), []). - -:- use_module(api(skos_concepts)). -:- use_module(applications(skos_browser)). - -% I rather have the application do stuff like this: -% :- rdf_attach_library(vocs). - -% SA - Added menu item for browser -cliopatria:menu_item(900=places/http_skos_browser, 'SKOS Concept browser'). +../cpack/skos_browser/config-available/skos_browser.pl \ No newline at end of file