View Single Post
Old 01-07-2011, 04:06 PM   #3
bcollier
Member
bcollier began at the beginning.
 
bcollier's Avatar
 
Posts: 22
Karma: 10
Join Date: Jan 2011
Device: Kindle DX
Ok, thanks for the quick response. Where is the documentation for the article object being passed in? I'm just looking for the main article text and can't seem to get it in the populate_article_metadata. I have

if len(article.text_summary) == 0:
article.text_summary = "the first two sentences of the article"


should I somehow pull the main article text from soup, or is it already parsed in in the article object?


Quote:
Originally Posted by kovidgoyal View Post
1) Use the populate_article_metadata method.

3) It wont make any difference, calibre supports paywalled sites just fine, see WSJ for an example.
bcollier is offline   Reply With Quote