View Single Post
Old 03-23-2012, 10:09 PM   #6
Locarno
Member
Locarno began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jan 2012
Device: Kindle Touch
Quote:
Originally Posted by kovidgoyal View Post
Code:
    def populate_article_metadata(article, soup, first):
          print (time.time(), article.title)
OK, I added this to the very beginning of my class, but still nothing. What else do I need to do? Here is my recipe:

Code:
class OPML2PY_1326333899(BasicNewsRecipe):
	def populate_article_metadata(article, soup, first):
		print (time.time(), article.title)
	
	title          = u'Baseball'
	oldest_article = 2
	max_articles_per_feed = 100
	populate_article_metadata = 1

	feeds          = [
		(u'38 Pitches', u'http://38pitches.com/feed/'), 
		(u'A Fans View', u'http://www.startribune.com/rss/?did=78693312'), 
	....
	]
Locarno is offline   Reply With Quote