Real author catching on article pages

But still doesn't work for editorial
Tested on 0.b and 0.c
This commit is contained in:
Florent 2012-04-25 13:49:36 +02:00 committed by Romain Bignon
commit 68add41f7f

View file

@ -27,7 +27,7 @@ class ArticlePage(GenericNewsPage):
def on_loaded(self):
self.main_div = self.document.getroot()
self.element_title_selector = "title"
self.element_author_selector = "div.content-author>a"
self.element_author_selector = "div[id=content-author]>a"
self.element_body_selector = "div.block"
def get_body(self):