[OPEN-ILS-DEV] Supercat and rss feeds
Whalen, Liam
Liam.Whalen at NRCan-RNCan.gc.ca
Fri Oct 14 08:44:02 EDT 2011
> On Thu, Oct 13, 2011 at 3:17 PM, Whalen, Liam
> <Liam.Whalen at nrcan-rncan.gc.ca> wrote:
> >> > The benefit of using OpenSearch, I hope, is that it will exclude
> >>records that do not have copies associated with them. If that is
> >>true, then all I need to know is how to return a list of the most
> >>recent
> >>> additions to the catalogue via OpenSearch, and how to limit the
> >>>results of to a specific format like Journals. Does
> anyone know how to do that?
> >> Assuming EG 2.0 or later, ou wat to add "sort(create_date)
> #descending"
> >> (IIRC) to the query portion of the url.
> >
> > Thanks for the tip, that let me know it was possible. I've
> gotten a
> > little farther. Now I have the following OpenSearch string:
> >
> >
> http://dev.catalogue.nrcan.gc.ca/opac/extras/opensearch/1.1/-/rss2-ful
> >
> > option in the URL, but I get less than 50 returned. Is OpenSearch
> > supposed to act like the catalogue, or am I trying to make
> it do things it wasn't designed to do?
> >
>
> It all depends on what you're really trying to get.
>
...
> ). Or, as you saw with the freshmeat feed, you can browse by
> cataloging activity (import or edit), globally. With
> OpenSearch, simply adding "sort(create_date)#descending"
> (url-encoded, of course) to the searchTerms param (or even
I forgot all about url-encoding the string. That has helped immensely.
...
> That's not, per se, an abuse of OpenSearch -- at least not in
> Evergreen's context -- because Evergreen explicitly allows
> the full power of its search grammar (
> http://evergreen-ils.org/dokuwiki/doku.php?id=documentation:te
> chnical:search_grammar
> ) in the OpenSearch searchTerms parameter.
Thank you very much for the explanations and the link to the search grammar. That will allow me to accomplish exactly what I need to get done.
Liam
More information about the Open-ils-dev
mailing list