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 12-17-2010, 12:18 PM   #1
Torx
Junior Member
Torx began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2010
Device: kindle-3
recipe content retrieval

accidentally posted to kendle forum sorry.
i am unable to get content (only article headings) from http://feeds.feedburner.com/universetoday/pYdq

read tutorials, googled & api documentation. how about get_feeds ?
feedburner links to original article tried using "get_article" maybe its syntax?
it doesn't appear that login is necessary because i can click from feedburner and link to articles.

using: Ubuntu 10.04 LTS / Kindle-3 / calibre 7.33 / Python / .Mobi

full newbe please help.

recipe:

class AdvancedUserRecipe1292594244(BasicNewsRecipe):
title = u'Universe Today'
oldest_article = 10
max_articles_per_feed = 40

feeds = [(u'feedburner', u'http://feeds.feedburner.com/universetoday/pYdq')]
def get_article_url(self, article):
return article.get('feedburner_origlink',None)

Last edited by Torx; 12-17-2010 at 08:05 PM.
Torx is offline   Reply With Quote
Old 04-06-2013, 03:58 PM   #2
seird
Junior Member
seird plays well with othersseird plays well with othersseird plays well with othersseird plays well with othersseird plays well with othersseird plays well with othersseird plays well with othersseird plays well with othersseird plays well with othersseird plays well with othersseird plays well with others
 
Posts: 5
Karma: 2740
Join Date: Jun 2012
Device: Kindle Touch
Code:
class UniverseToday(BasicNewsRecipe):
    title                 = u'Universe Today'
    description           = u'Space and astronomy news.'
    publisher             = u'universetoday.com'
    category              = 'science, astronomy, news, rss'
    oldest_article = 7
    max_articles_per_feed = 40
    auto_cleanup = True
    no_stylesheets = True
    use_embedded_content = False
    remove_empty_feeds = True
    
    feeds          = [(u'Universe Today', u'http://feeds.feedburner.com/universetoday/pYdq')]
seird is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
content retrieval recipe Torx Amazon Kindle 0 12-17-2010 11:05 AM
Recipe - save some date for later retrieval mh445 Calibre 3 07-19-2010 04:06 PM
Olympic 2010 Photos Recipe - too big for content server? Starson17 Calibre 4 02-18-2010 05:49 PM
Science Fiction Swigart, Rob: Portal A Dataspace Retrieval. V1.1. 16 May 2009 MrBunwah BBeB/LRF Books 0 01-25-2009 10:06 AM
Web2Mail Lite: Email retrieval through the Web Alexander Turcic Lounge 3 01-26-2004 08:21 AM


All times are GMT -4. The time now is 03:15 PM.


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