View Single Post
Old 04-29-2009, 08:30 AM   #501
rc006
Junior Member
rc006 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2009
Device: prs-505
ok thanks,
I have not found how to use "self.rower" in print_version, so i grep the the real link from "send link to" url
Quote:
def get_article_url(self, article):
if 'link' in article:
url = article.get('link', None)

if 'guid' in article:
texte = article.get('description', None)
texte = texte[texte.find('link=')+5:]
url = texte[0:texte.find('"')]
return url
I have "solved" the problem for "Le figaro", but for the web site "Les Echos" i think i really need to use the function you mentioned because the "printed version" is called from the html page with a link "http://lesechos.fr/imprimer.php"
rc006 is offline