Register Guidelines E-Books Search Today's Posts Mark Forums Read

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


Thread Tools Search this Thread
Old 05-23-2011, 06:14 AM   #1
Junior Member
zulusailor began at the beginning.
Posts: 4
Karma: 10
Join Date: May 2011
Location: Umhlanga South Africa
Device: Kindle
Recipe Request - Mail and Guardian ZA News

Have been an avid follower of this site for several months now and this'll be my first post.

Can anyone out there assist with a Recipe for the Mail & Guardian ZA News (South African)

I'm off to sea in a couple of days and receiving the news out there will be fantastic. Thanks!
zulusailor is offline   Reply With Quote
Old 06-17-2011, 07:42 AM   #2
sexymax15 began at the beginning.
sexymax15's Avatar
Posts: 30
Karma: 12
Join Date: Jun 2011
Location: India
Device: Kindle 3g
Here's your recipe for Mail & Guardian Online(South Africa). The recipe is fine. No junks in articles. I am using the print version pages.


class AdvancedUserRecipe1308308835(BasicNewsRecipe):
    title          = u'Mail & Guardian Online(South Africa)'
    oldest_article = 10
    max_articles_per_feed = 15
    use_embedded_content = False

    remove_empty_feeds = True
    no_stylesheets = True
    remove_javascript = True
    remove_tags_after = [dict(name= 'p')]
    extra_css             = """ h1{font-family: Georgia,serif; font-size: x-large}
                               h2{font-family: Georgia,serif;font-style:italic; font-size: small} """

    feeds          = [(u'Top Stories', u''), (u'National News', u''), (u'Sports', u''), (u'Business', u''), (u'International', u''), (u'Africa', u''), (u'Offbeat News', u'')]

    def print_version(self, url):
        return url.replace('/article/','/printformat/single/')


Moderator Notice
Edited to add tags.
Attached Files
File Type: zip Mail & Guardian Online(South Africa) (670 Bytes, 73 views)

Last edited by Starson17; 06-17-2011 at 09:36 AM.
sexymax15 is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Guardian recipe, more sections ? mrwout Recipes 0 04-11-2011 05:22 PM
Receipe Request: Media Guardian SteveMW Recipes 5 02-08-2011 02:18 PM
Request for Recipe - Dallas Morning News erichoch Recipes 0 01-23-2011 08:25 AM
New recipe request - BBC News Ukrainian storkozos Introduce Yourself 7 10-25-2010 11:36 AM
Guardian recipe still erratic pars_andy Calibre 17 12-24-2009 01:31 PM

All times are GMT -4. The time now is 08:41 PM. is a privately owned, operated and funded community.