mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
52 lines
2.1 KiB
Plaintext
52 lines
2.1 KiB
Plaintext
|
|
__license__ = 'GPL v3'
|
|
__copyright__ = '2010, Darko Miletic <darko.miletic at gmail.com>'
|
|
'''
|
|
db.tidbits.com
|
|
'''
|
|
|
|
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class TidBITS(BasicNewsRecipe):
|
|
title = 'TidBITS: Mac News for the Rest of Us'
|
|
__author__ = 'Darko Miletic'
|
|
description = 'Insightful news, reviews, and analysis of the Macintosh and Internet worlds'
|
|
publisher = 'TidBITS Publishing Inc.'
|
|
category = 'news, Apple, Macintosh, IT, Internet'
|
|
oldest_article = 2
|
|
max_articles_per_feed = 100
|
|
no_stylesheets = True
|
|
encoding = 'utf-8'
|
|
use_embedded_content = False
|
|
language = 'en'
|
|
remove_empty_feeds = True
|
|
masthead_url = 'http://db.tidbits.com/images/tblogo9.gif'
|
|
extra_css = ' body{font-family: Georgia,"Times New Roman",Times,serif} '
|
|
|
|
conversion_options = {
|
|
'comment': description, 'tags': category, 'publisher': publisher, 'language': language
|
|
}
|
|
|
|
keep_only_tags = [dict(name='div', attrs={'id': 'center_ajax_sub'})]
|
|
remove_tags = [dict(name='div', attrs={'id': 'social-media'})]
|
|
|
|
feeds = [
|
|
|
|
(u'Business Apps', u'http://db.tidbits.com/feeds/business.rss'),
|
|
(u'Entertainment', u'http://db.tidbits.com/feeds/entertainment.rss'),
|
|
(u'External Links', u'http://db.tidbits.com/feeds/links.rss'),
|
|
(u'Home Mac', u'http://db.tidbits.com/feeds/home.rss'),
|
|
(u'Inside TidBITS', u'http://db.tidbits.com/feeds/inside.rss'),
|
|
(u'iPod & iPhone', u'http://db.tidbits.com/feeds/ipod-iphone.rss'),
|
|
(u'Just for Fun', u'http://db.tidbits.com/feeds/fun.rss'),
|
|
(u'Macs & Mac OS X', u'http://db.tidbits.com/feeds/macs.rss'),
|
|
(u'Media Creation', u'http://db.tidbits.com/feeds/creative.rss'),
|
|
(u'Networking & Communications', u'http://db.tidbits.com/feeds/net.rss'),
|
|
(u'Opinion & Editorial', u'http://db.tidbits.com/feeds/opinion.rss'),
|
|
(u'Support & Problem Solving', u'http://db.tidbits.com/feeds/support.rss'),
|
|
(u'Safe Computing', u'http://db.tidbits.com/feeds/security.rss'),
|
|
(u'Tech News', u'http://db.tidbits.com/feeds/tech.rss'),
|
|
(u'Software Watchlist', u'http://db.tidbits.com/feeds/watchlist.rss')
|
|
]
|