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 10-06-2011, 02:15 PM   #1
marksoc
Junior Member
marksoc began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2011
Device: Kindle
Recipe for Real-World Economics Review Blog (wordpress) needed

The feed from the Real World Economics Blog stopped working for me a couple of days ago. Now it fetched the title of each article and after it in every case the list of contributors to the blog, which is in each article webpage.

How I do to have the content of each article? Probably is something very basic, but I cannot find my way with Python (not a very ingenious person, am I?) I tried to do it by myself, but not luck.

This is the feed:
http://rwer.wordpress.com/feed/

Thanks for any help or link to post with similar problem.
marksoc is offline   Reply With Quote
Old 10-08-2011, 02:10 PM   #2
marksoc
Junior Member
marksoc began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2011
Device: Kindle
Found a solution

A simple solution was to send the feed to Google Reader, and then use the Google Reader Uber recipe (setting the embedded line to False). Now I receive the posts and the comments for each of them. It doesnt look nice, the text is gray instead of black, but I can read it.

If somebody finds a better solution, please say it.
marksoc is offline   Reply With Quote
Advert
Old 10-27-2011, 05:57 PM   #3
julio:map
Member
julio:map began at the beginning.
 
Posts: 23
Karma: 12
Join Date: Jul 2011
Device: Cool-er
Well maybe my answer arrives too late.

Code:
class Real_world_economics_review(BasicNewsRecipe):
    title          = u'Real-world economies review blog'
    oldest_article = 7
    max_articles_per_feed = 100

    no_stylesheets = True

    keep_only_tags = dict(name='div', attrs={'id':'main'})
    remove_tags = [dict(name='div', attrs={'id':'postpath'}),
        dict(name='div', attrs={'class':'robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing'}),
        dict(name='div', attrs={'class':'sharedaddy sd-sharing-enabled'})
        ]

    feeds          = [(u'Real-World Economics Review Blog', u'http://rwer.wordpress.com/feed/')]
julio:map is offline   Reply With Quote
Old 10-28-2011, 08:33 PM   #4
marksoc
Junior Member
marksoc began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2011
Device: Kindle
It works like a charm.

Gracias, amazing that people would spend some time working for free for a complete stranger´s request on the Internet.

Saludos.
marksoc is offline   Reply With Quote
Old 10-29-2011, 04:33 AM   #5
julio:map
Member
julio:map began at the beginning.
 
Posts: 23
Karma: 12
Join Date: Jul 2011
Device: Cool-er
It's amazing that people would spend some time choosing the best resources on the Internet and tell us for free.
julio:map is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
E-Readers out in the 'real world' ncguy68 Barnes & Noble NOOK 39 10-06-2011 09:18 AM
Recipe for Wordpress ventures Recipes 0 05-24-2011 09:10 PM
REQUEST: recipe for blog ayurazzz Recipes 0 03-25-2011 01:00 PM
Recipe for Flickr Blog rickydh Recipes 0 02-24-2011 12:59 PM
Buying an Ebook: In the real world stustaff News 38 01-19-2010 10:00 AM


All times are GMT -4. The time now is 05:27 PM.


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