View Single Post
Old 08-02-2011, 05:43 PM   #1
fw190a8
Junior Member
fw190a8 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
ShackNews works with 5 articles but no more

I'm new at this but having read the docs, I've put together a recipe for ShackNews RSS, which should be pretty straightforward, as the HTML's all quite nice already. However, if I set it to download 5 articles, I get the 5 articles. If I increase it to 10, or 15, the job completes immediately, and the resulting file only contains the table of contents, which doesn't have any article content.

I have pasted the output of the job at http://pastebin.com/EebsUQKR and the recipe is simply:
Code:
class AdvancedUserRecipe1312317103(BasicNewsRecipe):
    title          = u'ShackNews'
    oldest_article = 1
    max_articles_per_feed = 15
    no_stylesheets = True

    keep_only_tags = [dict(name='div', attrs={'id':['article']})]

    feeds          = [(u'ShackNews', u'http://feed.shacknews.com/shackfeed.xml')]
Is there any way for someone to tell what I'm doing wrong?
fw190a8 is offline   Reply With Quote