Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
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
Old 08-02-2011, 06:27 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,337
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
oldest_article = 100
kovidgoyal is online now   Reply With Quote
Advert
Old 08-04-2011, 05:34 PM   #3
fw190a8
Junior Member
fw190a8 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
Thanks so much, a real rookie mistake on my part! With your help I was able to create and share https://www.mobileread.com/forums/sho...25#post1689025
fw190a8 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Classic Font and epub, what works on sony, now works on Nook too! ctos Barnes & Noble NOOK 26 07-25-2011 09:24 AM
Help please for french articles MichelK57 Library Management 4 05-10-2011 07:18 PM
cant seem to keep my articles! marbs Recipes 2 11-18-2010 12:56 PM
PRS-600 Articles like this scottjl Sony Reader 31 12-30-2009 05:41 AM
Fonts and Epub - What works on Sony, Works for Pocket Pro too! tamzilla Astak EZReader 23 12-13-2009 10:56 PM


All times are GMT -4. The time now is 10:40 AM.


MobileRead.com is a privately owned, operated and funded community.