Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 02-17-2017, 03:11 PM   #1
erkfuizfeuadjfjz
Member
erkfuizfeuadjfjz began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Feb 2017
Device: Sony PRS-T3
Recipe for Het Laatste Nieuws (Belgian newspaper) based on built in recipe of Darko M

#!/usr/bin/env python2

__license__ = 'GPL v3'
__copyright__ = '2009, Darko Miletic <darko.miletic at gmail.com>'
'''
www.hln.be
'''

from calibre.web.feeds.news import BasicNewsRecipe


class HLN_be(BasicNewsRecipe):
title = 'Het Laatste Nieuws'
__author__ = 'Darko Miletic'
description = 'News from Belgium in Dutch'
publisher = 'HLN'
category = 'news, politics, Belgium'
oldest_article = 2
max_articles_per_feed = 100
use_embedded_content = False
no_stylesheets = True
encoding = 'utf-8'
language = 'nl_BE'

conversion_options = {
'comments': description, 'tags': category, 'language': 'nl-NL', 'publisher': publisher
}

remove_tags = [dict(name=['form', 'object', 'embed'])]

keep_only_tags = [
dict(name='article', attrs={'class':'article art_detail'}),
]

feeds = [(u'Articles', u'http://www.hln.be/rss.xml')]
erkfuizfeuadjfjz is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recipe voor De Tijd (Belgian newspaper) based on built in recipe of Darko Miletic erkfuizfeuadjfjz Recipes 0 02-17-2017 02:43 PM
Modify Built-In Recipe to Eliminate Images? huladaddy Recipes 12 08-17-2014 10:48 PM
Alter built-in recipe for IP-based authentication barium Recipes 0 05-19-2012 02:20 AM
Recipe for Dutch newspaper "Dagblad van het Noorden" reijndert Recipes 2 05-18-2011 07:52 AM
Tricky problem with built-in recipe - need your help.... :( stachuman Recipes 3 05-04-2011 03:08 PM


All times are GMT -4. The time now is 11:14 PM.


MobileRead.com is a privately owned, operated and funded community.