#!/usr/bin/env python
__license__ = 'GPL v3'
__author__ = 'Lorenzo Vigentini'
__copyright__ = '2009, Lorenzo Vigentini <l.vigentini at gmail.com>'
__version__ = 'v1.01'
__date__ = '14, January 2010'

'''
http://www.techworld.com/
'''

from calibre.web.feeds.news import BasicNewsRecipe


class techworld(BasicNewsRecipe):
    __author__ = 'Lorenzo Vigentini'
    description = 'Techworld offers the latest breaking IT industry news, product reviews, enterprise software downloads, how-to articles and expert blogs for technical professionals and enterprise users in the UK'  # noqa

    title = 'TechWorld'
    publisher = 'IDG Communication'
    category = ('Apple, Mac, video, computing, product reviews, '
                'editing, cameras, production')

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

    oldest_article = 7
    max_articles_per_feed = 15
    use_embedded_content = False
    recursion = 10

    remove_javascript = True
    no_stylesheets = True
    auto_cleanup = True

    feeds = [
        (u'News', u'http://www.techworld.com/news/rss'),
        (u'Tutorial', u'http://www.techworld.com/tutorial/rss'),
        (u'Reviews', u'http://www.techworld.com/review/rss'),
        (u'Features', u'http://www.techworld.com/features/rss'),
        (u'Analysis', u'http://www.techworld.com/analysis/rss'),
        (u'Galleries',
         u'http://www.techworld.com/picture-gallery/rss'),
        (u'TechWorld Blogs',
         u'http://www.techworld.com/blog/rss'),
    ]
