This plugin is part of search plugin system
Many website allow the generation of rss feeds based on a query. This plugin takes advantage of this can generate rss feeds that contain the result of a query.
NOTE: This plugin can not be used on the task level and that it can only be used within discover & urlrewrite_search plugin.
All valid rss plugin config options are valid here, just place {{search_term}}
into the url where the search term should go. This will be replaced with a percent encoded version of the serach term when searched. Jinja is used with this replacement, so you can also use jinja filters to manipulate the term.
search_rss: http://url/q={{search_term}}
Search_rss supports all the advanced options from rss
search_rss:
url: http://url/q={{search_term}}
link:
- link
- magneturi
This example shows search_rss used within the discover plugin. This particular example makes use of isohunt.com and generates an rss feed with the content of a search for each movie in the queue and generates entries from that rss feed.
discover:
what:
- emit_movie_queue: yes
from:
- search_rss: http://isohunt.com/js/rss/{{search_term}}?iht=
For more information about the usage see this recipe.