2009-10-11, 20:58
I would like request the addition of two items to GetSearchResults
overview and banner
overview - text description of returned results
banner - image associated with result
I have already modified a few of the scrapers to include these items for UMM (we are using a modified scraperXML in UMM), we plan on adding the feature to all of the scrapers where this information can be returned. (some sites won't have the option).
I have submitted a trac request : http://trac.xbmc.org/ticket/7333
example from a modified themoviedb.org scraper
Output
XML
overview and banner
overview - text description of returned results
banner - image associated with result
I have already modified a few of the scrapers to include these items for UMM (we are using a modified scraperXML in UMM), we plan on adding the feature to all of the scrapers where this information can be returned. (some sites won't have the option).
I have submitted a trac request : http://trac.xbmc.org/ticket/7333
example from a modified themoviedb.org scraper
Output
Code:
<entity><title>\1</title><id>\2</id><year>\4</year><url cache="tmdb-\2.xml" >http://api.themoviedb.org/2.0/Movie.getInfo?id=\2&api_key=57983e31fb435df4df77afb854740ea9</url><banner>\5</banner><overview>\3</overview></entity>
Code:
<RegExp input="$$1" output="<entity><title>\1</title><id>\2</id><year>\4</year><url cache="tmdb-\2.xml" >http://api.themoviedb.org/2.0/Movie.getInfo?id=\2&amp;api_key=57983e31fb435df4df77afb854740ea9</url><banner>\5</banner><overview>\3</overview></entity>" dest="3">
<expression repeat="yes"><movie>.*?<title>([^<]*)</title>.*?<id>([^<]*)</id>.*?<short_overview/?>([^<]*).*?<release/?>([0-9]+)?.*?(?:<poster size="cover">(.*?)</poster>.*?)?</movie></expression>
</RegExp>