#!/usr/pkg/bin/python3.13
__license__ = 'GPL v3'
__author__ = 'Lorenzo Vigentini'
__copyright__ = '2009, Lorenzo Vigentini <l.vigentini at gmail.com>'
__version__ = 'v1.01'
__date__ = '14, January 2010'
__description__ = 'Macworld is a publication of IDG Communication in the UK specifically on the Apple Mac.'

'''
http://www.macworld.co.uk/
'''

from calibre.web.feeds.news import BasicNewsRecipe


class pcMag(BasicNewsRecipe):
    __author__ = 'Lorenzo Vigentini'
    description = 'Macworld is a publication of IDG Communication in the UK specifically on the Apple Mac.'
    cover_url = 'http://media.macworld.co.uk/images/masthead.jpg'

    title = 'Mac World UK '
    publisher = 'IDG Communication'
    category = 'Apple, Mac, computing, product reviews, UK'

    language = 'en_GB'
    timefmt = '[%a, %d %b, %Y]'

    max_articles_per_feed = 25
    use_embedded_content = False
    recursion = 10

    remove_javascript = True
    no_stylesheets = True
    auto_cleanup = True

    feeds = [
        (u'MacWorld Headlines', u'http://www.macworld.co.uk/latest/rss'),
        (u'Reviews', u'http://www.macworld.co.uk/news/rss'),
        (u'Masterclass', u'http://www.macworld.co.uk/how-to/rss'),
        (u'MacWorld Team', u'http://www.macworld.co.uk/review/rss'),
        (u'Andy Ihnatko', u'http://www.macworld.co.uk/latest/iphone/rss'),
        (u'Andy Penfold', u'http://www.macworld.co.uk/latest/ipad/rss'),
        (u'Jonny Evans', u'http://www.macworld.co.uk/latest/mac/rss'),
        (u'Karen Haslam', u'http://www.macworld.co.uk/latest/apple/rss')
    ]
