[OPEN-ILS-DEV] Opensearch rrs2-full format

Whalen, Liam Liam.Whalen at NRCan-RNCan.gc.ca
Mon Oct 17 12:32:12 EDT 2011


We are running Evergreen 2.0.8.  Right now I am using the OpenSearch functionality to create an RSS feed of items that are new to the OPAC.  Here is the URL I am using.

http://catalogue.nrcan.gc.ca/opac/extras/opensearch/1.1/-/rss2-full?searchTerms=item_type%28a%20||%20t%29%20sort%28create_date%29%23descending

This produces 10 links that go to a card catalogue type output that provides information about these items.  One such link looks like this:

http://catalogue.nrcan.gc.ca/opac/extras/unapi?id=tag:open-ils.org,2011-10-14:biblio-record_entry/8226825/-&format=htmlholdings-full

We would prefer the rss2-full links to go directly to our re-skinned OPAC instead of the card catalogue type output.

I've noticed that if I change &format=htmlholdings-full to &format=opac, then the links resolve to the default skin OPAC.  So, I have two questions.

What do I have to change in my first URL, the opensearch URL, in order to make it default to links that have &format=opac instead of &format=htmlholdings-full?

Second, what do I have to change to make the &format=opac links use our reskinned OPAC rather than the default skin OPAC?

Liam 

Natural Resources Canada Library / Bibliothèque de Ressources naturelles Canada
615 rue Booth Street, 121, Ottawa, ON, Canada
K1A 0E9
Telephone / Téléphone : 613-995-4180
lwhalen at nrcan-rncan.gc.ca
Web: http://www.nrcan.gc.ca/library/


More information about the Open-ils-dev mailing list