[Koha-cvs] koha/opac opensearchdescription [dev_week]

Joshua Ferraro jmf at liblime.com
Thu Jan 18 19:47:39 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Joshua Ferraro <kados>	07/01/18 18:47:39

Modified files:
	opac           : opensearchdescription 

Log message:
	more better autodiscovery stuff -- thanks Ed Summers

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opensearchdescription?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.1&r2=1.1.2.2

Patches:
Index: opensearchdescription
===================================================================
RCS file: /sources/koha/koha/opac/Attic/opensearchdescription,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -b -r1.1.2.1 -r1.1.2.2
--- opensearchdescription	19 Dec 2006 14:33:23 -0000	1.1.2.1
+++ opensearchdescription	18 Jan 2007 18:47:39 -0000	1.1.2.2
@@ -8,6 +8,10 @@
 print "<?xml version='1.0' encoding='utf-8'  ?>";
 print "<OpenSearchDescription \n\txmlns=\"http://a9.com/-/spec/opensearchdescription/1.0/\"\n\txmlns:openIll=\"http://open-ils.org/xml/openIll/1.0\">";
 print "\n<Url>http://search.athenscounty.lib.oh.us/opensearch?q={searchTerms}&amp;searchindex=NPLKoha&amp;startPage={startPage}&amp;count={count}</Url>";
+
+print "\n<Url type=\"application/rss+xml\" template=\"http://search.athenscounty.lib.oh.us/opensearch?q={searchTerms}&amp;searchindex=NPLKoha&amp;startPage={startPage}&amp;count={count}\"/>";
+print "\n<Url type=\"text/html\" template=\"http://search.athenscounty.lib.oh.us/opensearch?q={searchTerms}\"/>";
+
 print "\n<Format>http://a9.com/-/spec/opensearchrss/1.0/</Format>";
 print "\n<ShortName>NPLKoha</ShortName>";
 print "\n<LongName>Nelsonville Public Library System (NPLS) Ohio</LongName>";





More information about the Koha-cvs mailing list