View Single Post
Old 12-15-2009, 07:17 PM   #5
horsegoalie
Junior Member
horsegoalie began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Dec 2009
Device: Nook
I apologize, I am sure I'm missing something stupid, and my Python is non-existent. Here is my code in total. It does not produce the desired results. What am I doing wrong? I will be moving along to the python tutorial next, so maybe that will give me the answers...

class AdvancedUserRecipe1260919720(BasicNewsRecipe):
title = u'CCC'
oldest_article = 7
max_articles_per_feed = 100

feeds = [(u'Boston Globe', u'http://feeds.boston.com/boston/topstories')]

def get_article_url(self, a):
return a.get('guid').split('?')[0]+'?mode=PF'
horsegoalie is offline   Reply With Quote