mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Smarter Planet by Jack Mason
This commit is contained in:
parent
8d38075e3b
commit
91f78bf034
23
resources/recipes/ibm_smarter_planet.recipe
Normal file
23
resources/recipes/ibm_smarter_planet.recipe
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class AdvancedUserRecipe1293122276(BasicNewsRecipe):
|
||||||
|
title = u'Smarter Planet | Tumblr for eReaders'
|
||||||
|
__author__ = 'Jack Mason'
|
||||||
|
author = 'IBM Global Business Services'
|
||||||
|
publisher = 'IBM'
|
||||||
|
category = 'news, technology, IT, internet of things, analytics'
|
||||||
|
oldest_article = 7
|
||||||
|
max_articles_per_feed = 30
|
||||||
|
no_stylesheets = True
|
||||||
|
use_embedded_content = False
|
||||||
|
masthead_url = 'http://30.media.tumblr.com/tumblr_l70dow9UmU1qzs4rbo1_r3_250.jpg'
|
||||||
|
remove_tags_before = dict(id='item')
|
||||||
|
remove_tags_after = dict(id='item')
|
||||||
|
remove_tags = [dict(attrs={'class':['sidebar', 'about', 'footer', 'description,' 'disqus', 'nav', 'notes', 'disqus_thread']}),
|
||||||
|
dict(id=['sidebar', 'footer', 'disqus', 'nav', 'notes', 'likes_container', 'description', 'disqus_thread', 'about']),
|
||||||
|
dict(name=['script', 'noscript', 'style'])]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
feeds = [(u'Smarter Planet Tumblr', u'http://smarterplanet.tumblr.com/mobile/rss')]
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user