View Single Post
Old 01-01-2012, 07:57 PM   #3
Purple Lady
Grand Sorcerer
Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.
 
Purple Lady's Avatar
 
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
So all I need to add is this? It's not working and I added the print statement to see if it's even getting here and it's not.

Code:
def print_version(self, url):
    print ' @@@ url: ',url
    return url + '?viewAll=y'

The recipe is pretty simple

Code:
class AdvancedUserRecipe1325116587(BasicNewsRecipe):
    title          = u'Philadelphia Inquirer new2'
    oldest_article = 1
    max_articles_per_feed = 50
    auto_cleanup = True
    no_stylesheets = True
    remove_empty_feeds = True

    feeds = 	[(u'Front Page'		, u'http://www.philly.com/inquirer_front_page.rss'), 
	(u'Philly.com National/World'	, u'http://www.philly.com/philly_news_nation.rss'), 
	(u'Philly.com Politics '		, u'http://www.philly.com/philly_politics.rss'), 
	(u'Business'		, u'http://www.philly.com/inq_business.rss'), 
	(u'Personal Finance'		, u'http://www.philly.com/philly_business_personal_finance.rss'),
	(u'News Columnists'		, u'http://www.philly.com/inq_columnists.rss'), 
	(u'Annette John-Hall'		, u'http://www.philly.com/philly/columnists/annette_john-hall/index.rss2'), 
	(u'Dick Polman'		, u'http://www.philly.com/philly/columnists/dick_polman/index.rss2'), 
	(u'Editorial'			, u'http://www.philly.com/inq_news_editorial.rss'), 
	(u'Philly.com News'		, u'http://www.philly.com/philly_news.rss'), 
	(u'Philly.com Local'		, u'http://www.philly.com/philly_news_local.rss'), 
	(u'South Jersey News'		, u'http://www.philly.com/inq_news_south_jersey.rss'), 
	(u'Tech News'		, u'http://www.philly.com/philly_tech.rss'), 
	(u'Weekend'		, u'http://www.philly.com/inq_entertainment_weekend.rss'), 
	(u'Books'			, u'http://www.philly.com/inq_books.rss'), 
	(u'Entertainment'		, u'http://www.philly.com/inq_entertainment.rss'), 
	(u'Food'			, u'http://www.philly.com/inq_food.rss'), 
	(u'Planet of the Apes'		, u'http://www.philly.com/evolution.rss'), 
	(u'Health and Science'		, u'http://www.philly.com/inquirer_health_science.rss'), 
	(u'Home and Design'		, u'http://www.philly.com/inq_home_design.rss'), 
	(u'Daily Magazine'		, u'http://www.philly.com/inq_magazine_daily.rss')]


def print_version(self, url):
    print ' @@@ url: ',url
    return url + '?viewAll=y'
Purple Lady is offline   Reply With Quote