mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
|
|
__license__ = 'GPL v3'
|
|
__copyright__ = '2010, Darko Miletic <darko.miletic at gmail.com>'
|
|
'''
|
|
luminous-landscape.com
|
|
'''
|
|
|
|
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class theluminouslandscape(BasicNewsRecipe):
|
|
title = 'The Luminous Landscape'
|
|
__author__ = 'Darko Miletic'
|
|
description = 'A photography news and information website in the form of a weblog with multiple authors who write on a variety of photography and art-photography related issues.' # noqa
|
|
publisher = 'The Luminous Landscape '
|
|
category = 'news, blog, photograph, international'
|
|
oldest_article = 15
|
|
max_articles_per_feed = 100
|
|
no_stylesheets = True
|
|
remove_empty_feeds = True
|
|
use_embedded_content = True
|
|
encoding = 'cp1252'
|
|
language = 'en'
|
|
|
|
conversion_options = {
|
|
'comment': description, 'tags': category, 'publisher': publisher, 'language': language
|
|
}
|
|
|
|
feeds = [
|
|
(u"What's new", u'http://www.luminous-landscape.com/whatsnew/rssfeed.php')]
|
|
remove_tags = [dict(name=['object', 'link', 'iframe'])]
|
|
|
|
def preprocess_html(self, soup):
|
|
return self.adeify_images(soup)
|