openplans / openblock

OpenBlock is a web application and RESTful service that allows users to browse and search their local area for "hyper-local news
61 stars 26 forks source link

Rewrite /ebdata/scrapers/general/georss/ as an RssListDetailScraper #235

Closed slinkp closed 11 years ago

slinkp commented 11 years ago

The RssListDetailScraper supports extracting location data in more formats than the ad-hoc code in georss/retrieval.py, which only supports georss-simple.

It would be straightforward to rewrite, as an example look at general/seeclickfix/seeclickfix_retrieval.py

slinkp commented 11 years ago

Conversely, the georss/retrieval.py script supports getting location_name from relevant xcal or georss elements. That should be folded back in to RssListDetailScraper.

slinkp commented 11 years ago

Also should support the ev namespace for location names, as per http://web.resource.org/rss/1.0/modules/event/

slinkp commented 11 years ago

Ticket imported from Trac: http://developer.openblockproject.org/ticket/242 Reported by: slinkp