View Single Post
Old 08-18-2010, 06:39 PM   #2461
TonytheBookworm
Addict
TonytheBookworm is on a distinguished road
 
TonytheBookworm's Avatar
 
Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
Question Still trying with AJC

Alright I put in what you said but I still don't appear to be getting the print version. I'm testing it using
ebook-convert myrecipe.recipe output_dir --test -vv

I still see the weather tags and search and so on so that is definately not the print version...

here is what I have so far....
Spoiler:

class AdvancedUserRecipe1282101454(BasicNewsRecipe):
title = u'AJC'
oldest_article = 1
max_articles_per_feed = 100
no_stylesheets = True
extra_css = '.headline {font-size: x-large;} \n .fact { padding-top: 10pt }'



feeds = [(u'Breaking News', u'http://www.ajc.com/genericList-rss.do?source=61499')
]


def print_version(self, url):
return url.partition('?')[0] +'?printArticle=y'


TonytheBookworm is offline