| 1 |
__license__ = 'GPL v3' |
| 2 |
__author__ = 'Ricardo Jurado' |
| 3 |
__copyright__ = 'Ricardo Jurado' |
| 4 |
__version__ = 'v0.1' |
| 5 |
__date__ = '22 February 2011' |
| 6 |
|
| 7 |
''' |
| 8 |
http://blog.flickr.net/ |
| 9 |
''' |
| 10 |
|
| 11 |
|
| 12 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 13 |
|
| 14 |
|
| 15 |
class AdvancedUserRecipe1297031650(BasicNewsRecipe): |
| 16 |
title = 'Flickr Blog' |
| 17 |
masthead_url = 'http://flickrtheblog.files.wordpress.com/2008/11/flickblog_logo.gif' |
| 18 |
cover_url = 'http://flickrtheblog.files.wordpress.com/2008/11/flickblog_logo.gif' |
| 19 |
publisher = '' |
| 20 |
|
| 21 |
__author__ = 'Ricardo Jurado' |
| 22 |
description = 'Pictures Blog' |
| 23 |
category = 'Blog,Pictures' |
| 24 |
|
| 25 |
oldest_article = 120 |
| 26 |
max_articles_per_feed = 10 |
| 27 |
no_stylesheets = True |
| 28 |
use_embedded_content = False |
| 29 |
encoding = 'UTF-8' |
| 30 |
remove_javascript = True |
| 31 |
language = 'en' |
| 32 |
|
| 33 |
extra_css = ''' |
| 34 |
p{text-align: justify; font-size: 100%} |
| 35 |
body{ text-align: left; font-size:100% } |
| 36 |
h2{font-family: sans-serif; font-size:130%; font-weight:bold; text-align: justify; } |
| 37 |
.published{font-family:Arial,Helvetica,sans-serif; font-size:80%; } |
| 38 |
.posted{font-family:Arial,Helvetica,sans-serif; font-size:80%; } |
| 39 |
''' |
| 40 |
|
| 41 |
keep_only_tags = [dict(name='div', attrs={'class': 'entry'})] |
| 42 |
|
| 43 |
feeds = [ |
| 44 |
('BLOG', 'http://feeds.feedburner.com/Flickrblog'), |
| 45 |
] |