Quote:
Originally Posted by gregcd
Hi all, I'm working on setting up these feeds for full text (print versions):
New zealand news site Stuff http://www.stuff.co.nz/feeds/topstories.xml
The Stuff site seems simple :
def print_version(self, url):
return url.replace('http://www.stuff.co.nz/', 'http://www.stuff.co.nz/print/')
|
Try with this in print_version:
Code:
def print_version(self, url):
raw_article, sep, unneeded = url.partition('?')
return raw_article.replace('http://www.stuff.co.nz/', 'http://www.stuff.co.nz/print/')