Thread: web2lrf
View Single Post
Old 03-21-2008, 09:59 PM   #238
ddavtian
Addict
ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.
 
Posts: 274
Karma: 332
Join Date: Nov 2003
Location: San Francisco, USA
Device: Sage, Elipsa, Oasis, Galaxy Tab 8U, S22U
Help for WSJ

Kovid, it's again me and the profile for WSJ.

With your help I got the profile working with web2lrf. When trying feeds2lrf, I get an error message about "time:

File "<string>", line 29, in WallStreetJournalPaper
NameError: name 'time' is not defined
Traceback (most recent call last):
File "convert_from.py", line 71, in <module>
File "convert_from.py", line 56, in main

This is the line 29 from profile:
issue_date = time.ctime()

Later "issue_date" is used here:
articles.append({
'title':title, 'url':url, 'description':'', 'date':issue_date
})


Can you tell me what to put here for it to work again?
ddavtian is offline   Reply With Quote