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"