All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
...
Flexible, interesting RSS Feeds. Because one of the formats that OpenSearch specifies for its results is RSS (or Atom), you can turn any search query into an RSS feed. So if there are keywords highly discriminative of content in a collection or repository, these can be turned into a URL that a feed reader can subscribe to. Taken to the extreme, one could take any search a user makes, and dynamically compose an RSS feed URL for it in the page of returned results. To see an example, if you have a DSpace with OpenSearch enabled, try:
Code Block |
---|
http# The Opensearch feature is available from the dspace.server.url [dspace.server.url]/opensearch/search?query=<your query> # e.g. https://demo.dspace.mysite.edu/open-search/org/server/opensearch/search?query=<your query> |
The default format returned is Atom 1.0, so you should see an Atom document containing your search results.
You can extend the syntax with a few other parameters, as follows:
Parameter | Values |
---|---|
format | atom, rss, html |
scope | handle of a collection or community to restrict the search to |
rpp | number indicating the number of results per page (i.e. per request) |
start | number of page to start with (if paginating results) |
sort_by | number indicating sorting criteria (same as DSpace advanced search values |
Multiple parameters may be specified on the query string, using the "&" character as the delimiter, e.g.:
Code Block |
---|
httphttps://demo.dspace.mysite.edu/open-search/org/server/opensearch/search?query=<your query>&format=rss&scope=123456789/1 |
...