Skip to content

Commit

Permalink
Changed: boston news feeds are now apparently using georss_featurename
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkp committed Oct 7, 2010
1 parent a780819 commit f12d30f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion obdemo/obdemo/scrapers/add_news.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def main(argv=None):
item.title = convert_entities(e.title)
item.description = convert_entities(e.description)
item.url = e.link
item.location_name = e.get('x-calconnect-street') or u''
item.location_name = e.get('x-calconnect-street') or e.get('georss_featurename')
item.item_date = datetime.datetime(*e.updated_parsed[:6])
item.pub_date = datetime.datetime(*e.updated_parsed[:6])
if 'point' in e:
Expand Down

0 comments on commit f12d30f

Please sign in to comment.