Fixed bugs in dr_dk.recipe.

Added Queue magazine recipe.
Added recipes for various danish local, regional and national newspapers and tv news feeds.
This commit is contained in:
Allan Simonsen 2016-10-05 19:11:37 +02:00
parent 5aea60f184
commit 3254a32508
30 changed files with 575 additions and 11 deletions

40
recipes/borsen_dk.recipe Normal file
View File

@ -0,0 +1,40 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
Børsen.dk
'''
class Borsen_dk(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'Børsen.dk'
description = ('Meget mere end Danmarks førende erhvervsavis. Børsen sætter dagsordenen for erhvervslivet.'
' Vi skriver interessant og med kant. På alle platforme.')
category = 'newspaper, news, finance, politics, economy, sport, Denmark'
oldest_article = 7
max_articles_per_feed = 50
auto_cleanup = False
language = 'da'
keep_only_tags = [
dict(name="h1", attrs={'itemprop': 'headline'}),
dict(name="div", attrs={'itemprob': 'datePublished'}),
dict(name="div", attrs={'itemprop': 'articleBody'}),
]
# Feed are found here:
# http://borsen.dk/kundeservice/smartphone_tablet_og_rss/rss-feeds.html
feeds = [
('Nyheder', 'http://borsen.dk/rss/'),
('Breaking news feed', 'http://borsen.dk/rss/breaking'),
('Penge', 'http://borsen.dk/rss/penge/'),
('Topnyheder', 'http://borsen.dk/rss/topnyheder/'),
('Privat økonomi', 'http://borsen.dk/rss/privatoekonomi/'),
('Økonomi', 'http://borsen.dk/rss/oekonomi/'),
('Politik', 'http://borsen.dk/rss/politik/'),
('Finans', 'http://finans.borsen.dk/rss/'),
('Sport', 'http://borsen.dk/rss/sport/'),
]

33
recipes/bt_dk.recipe Normal file
View File

@ -0,0 +1,33 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
BT Nyheder
'''
class Bt_dk(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'BT Nyheder'
category = 'newspaper, news, localnews, sport, politics, health, entertainment, music, crime, cars, Denmark'
oldest_article = 7
max_articles_per_feed = 50
auto_cleanup = True
language = 'da'
# Feed are found here: http://www.bt.dk/rss-feeds
feeds = [
('Top nyheder', 'http://www.bt.dk/bt/top/rss'),
('Seneste nyheder', 'http://www.bt.dk/nyheder/seneste/rss'),
('Underholdning', 'http://www.bt.dk/underholdning/seneste/rss'),
('Forbrug', 'http://www.bt.dk/forbrug/seneste/rss'),
('Sundhed', 'http://www.bt.dk/sundhed/seneste/rss'),
('Krimi', 'http://www.bt.dk/krimi/seneste/rss'),
('Politik', 'http://www.bt.dk/politik/seneste/rss'),
('Misik', 'http://www.bt.dk/musik/seneste/rss'),
('Utroligt', 'http://www.bt.dk/utroligt/seneste/rss'),
('Biler', 'http://www.bt.dk/biler/seneste/rss'),
('Digital', 'http://www.bt.dk/digital/seneste/rss'),
]

View File

@ -0,0 +1,34 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
Dagens Medicin
'''
class Dagensmedicin_dk(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'Dagens Medicin'
description = 'Uafhængig nyhedsavis om sundhedssektoren'
category = 'news, medicin, healthcare, Denmark'
oldest_article = 7
max_articles_per_feed = 50
auto_cleanup = True
language = 'da'
# Feed are found here: http://dagensmedicin.dk/feeds
feeds = [
('Dagens Medicin', 'http://dagensmedicin.dk/feed/'),
('Leder', 'http://dagensmedicin.dk/sektion/opinion/leder/rss'),
('Kommentarer til Dagens Medicin', 'http://dagensmedicin.dk/comments/feed/'),
('Almen Praksis ', 'http://dagensmedicin.dk/sektion/almen-praksis/rss'),
('Cancer', 'http://dagensmedicin.dk/sektion/cancer/rss'),
('Hjerte-kar', 'http://dagensmedicin.dk/sektion/hjerte-kar/rss'),
('Psykiatri', 'http://dagensmedicin.dk/sektion/psykiatri/rss'),
('Diabetes', 'http://dagensmedicin.dk/sektion/diabetes/rss'),
('Debat', 'http://dagensmedicin.dk/sektion/opinion/debat/rss'),
('Blogs', 'http://dagensmedicin.dk/sektion/opinion/blogs/rss'),
('Stikpillen', 'http://dagensmedicin.dk/sektion/opinion/stikpillen/rss'),
]

View File

@ -0,0 +1,27 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
Dagens Pharma
'''
class Dagenspharma_dk(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'Dagens Pharma'
description = 'Først med professionelles nyheder om medicin'
category = 'medicin, healthcare, Denmark'
oldest_article = 7
max_articles_per_feed = 50
auto_cleanup = True
language = 'da'
# Feed are found here: http://dagenspharma.dk/feeds/
feeds = [
('Dagens Pharma', 'http://dagenspharma.dk/feed/'),
('Kommentarer til Dagens Pharma', 'http://dagenspharma.dk/comments/feed/'),
('Regulering – Dagens Pharma', 'http://dagenspharma.dk/sektion/regulering/rss'),
('Tilskud – Dagens Pharma', 'http://dagenspharma.dk/sektion/tilskud/rss'),
]

View File

@ -6,22 +6,36 @@ from calibre.web.feeds.news import BasicNewsRecipe
__license__ = 'GPL v3'
__copyright__ = '2010, Darko Miletic <darko.miletic at gmail.com>'
'''
dr.dk
DR.dk
'''
class DRNyheder(BasicNewsRecipe):
title = 'DR Nyheder'
__author__ = 'Darko Miletic'
publisher = 'DR Nyheder'
category = 'news, politics, money, culture, sport, science, Denmark'
oldest_article = 2
title = 'DR Nyheder'
__author__ = 'Darko Miletic'
publisher = 'DR Nyheder'
description = 'Her finder du nyheder fra DR og alle vores TV og Radio kanaler live og on demand - når du har lyst.'
category = 'news, politics, money, culture, sport, science, Denmark'
oldest_article = 2
max_articles_per_feed = 50
no_stylesheets = True
encoding = 'utf8'
use_embedded_content = False
language = 'da'
no_stylesheets = True
encoding = 'utf8'
use_embedded_content = False
language = 'da'
auto_cleanup = False
# All feeds are found here: http://www.dr.dk/nyheder/dr-nyheder-som-rss-feed
keep_only_tags = [
dict(name="h1", attrs={'id': 'access-content'}),
dict(name="p", attrs={'class': 'summary'}),
dict(name="span", attrs={'itemprop': 'datePublished'}),
dict(name="div", attrs={'class': 'wcms-article-content'}),
]
remove_tags = [
dict(name='menu', attrs={'class': 'share'}),
dict(name='menu', attrs={'class': 'dr-site-share-horizontal'}),
]
# Feed are found here: http://www.dr.dk/nyheder/dr-nyheder-som-rss-feed
feeds = [
('Indland', 'http://www.dr.dk/nyheder/service/feeds/indland'),
('Udland', 'http://www.dr.dk/nyheder/service/feeds/udland'),
@ -40,3 +54,4 @@ class DRNyheder(BasicNewsRecipe):
('DR Sjælland', 'http://www.dr.dk/Nyheder/Service/feeds/regionale/sjaelland/'),
('DR Østjylland', 'http://www.dr.dk/Nyheder/Service/feeds/regionale/oestjylland/'),
]

View File

@ -0,0 +1,25 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
Hornsherred Avis
'''
class Hornsherredavis_dk(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'Hornsherred Avis'
description = 'Lokale nyheder fra Jægerspis, Skibby og Bramsnæs'
category = 'newspaper, news, localnews, sport, culture, Denmark'
oldest_article = 30
max_articles_per_feed = 50
auto_cleanup = True
language = 'da'
# Feed are found here: http://hornsherredavis.dk/
feeds = [
('Hornsherred Avis', 'http://hornsherredavis.dk/?feed=rss2'),
('Kommentarer til Hornsherred Avis', 'http://hornsherredavis.dk/?feed=comments-rss2'),
]

BIN
recipes/icons/borsen_dk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

BIN
recipes/icons/bt_dk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 540 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 894 B

BIN
recipes/icons/tv2oj_dk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 917 B

BIN
recipes/icons/tveast_dk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
recipes/icons/tvsyd_dk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,25 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
Kommunal Sundhed
'''
class Kommunalsundhed_dk(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'Kommunal Sundhed'
description = 'Nyheder til kommunale ledere, der arbejder med sundhed og sygdom'
category = 'medicin, healthcare, Denmark'
oldest_article = 7
max_articles_per_feed = 50
auto_cleanup = True
language = 'da'
# Feed are found here: http://kommunalsundhed.dk/
feeds = [
('Kommunal Sundhed', 'http://kommunalsundhed.dk/feed/'),
('Kommentarer', 'http://kommunalsundhed.dk/comments/feed/'),
]

View File

@ -0,0 +1,25 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
Maskinbladet.dk
'''
class Maskinbladet_dk(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'Maskinbladet'
description = ('Landbrugets største, uafhængige nyhedskilde med adgang '
'til nye og brugte landbrugs- og entreprenørmaskiner')
category = 'news, localnews, farming, Denmark'
oldest_article = 7
max_articles_per_feed = 50
auto_cleanup = True
language = 'da'
# Feed are found here: http://www.maskinbladet.dk/
feeds = [
('Maskinbladet', 'http://www.maskinbladet.dk/rss'),
]

38
recipes/newz_dk.recipe Normal file
View File

@ -0,0 +1,38 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
newz.dk
'''
class Newz_dk(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'newz.dk'
description = 'Nyheder for rigtige nørder'
category = 'newspaper, news, localnews, sport, culture, Denmark'
oldest_article = 7
max_articles_per_feed = 50
auto_cleanup = True
language = 'da'
# Feed are found here: https://newz.dk/feeds
feeds = [
('Newz', 'https://newz.dk/rss'),
('Forums', 'https://newz.dk/forum/rss'),
('Artikler', 'https://newz.dk/forum/artikler/rss'),
('Afstemninger', 'https://newz.dk/forum/afstemninger/rss'),
('Tagwall', 'https://newz.dk/forum/tagwall/rss'),
('Hardware', 'https://newz.dk/forum/hardware/rss'),
('Software', 'https://newz.dk/forum/software/rss'),
('Programmering', 'https://newz.dk/forum/programmering/rss'),
('Support', 'https://newz.dk/forum/support/rss'),
('Køb / Salg', 'https://newz.dk/forum/koeb-salg/rss'),
('Jobs', 'https://newz.dk/forum/jobs/rss'),
('Demo /LAN-parties', 'https://newz.dk/forum/demo-lan-parties/rss'),
('Folding@Home', 'https://newz.dk/forum/folding-home/rss'),
('Gallerier', 'https://newz.dk/forum/gallerier/rss'),
('news.dk', 'https://newz.dk/forum/newz-dk/rss'),
]

View File

@ -0,0 +1,40 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
Politiko.dk
'''
class PolitikoDK(BasicNewsRecipe):
title = 'Politiko | Berlingskes politiske site'
__author__ = 'CoderAllan.github.com'
publisher = 'Berlingske Media'
description = ('Læs de seneste nyheder om dansk politik. På Politiko får du alt om'
' politik samlet et sted - Politiko.dk')
category = 'news, politics, money, Denmark'
oldest_article = 2
max_articles_per_feed = 50
no_stylesheets = True
encoding = 'utf8'
use_embedded_content = False
language = 'da'
auto_cleanup = False
keep_only_tags = [
dict(name="h1", attrs={'class': 'article-headline'}),
dict(name="p", attrs={'class': 'article-summary'}),
dict(name="div", attrs={'class': 'article-date'}),
dict(name="div", attrs={'class': 'article-content'}),
]
# Feed are found here: http://www.b.dk/rss
feeds = [
('Nyheder', 'http://www.politiko.dk/feeds/rss/nyheder'),
('Politisk Morgenpost', 'http://www.politiko.dk/taxonomy_rss/329960/rss'),
('Den Politiske Puls', 'http://puls.politiko.dk/feed/'),
('Analyse og perspektiv', 'http://www.politiko.dk/feeds/rss/analyser'),
('Longreads', 'http://www.politiko.dk/feeds/rss/longreads'),
]

View File

@ -0,0 +1,84 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
ACM Queue Magazine
'''
class QueueAcmOrg(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'ACM Queue Magazine'
description = ('Queue is the ACMs magazine for practicing software engineers. '
'Written by engineers for engineers, Queue focuses on the technical '
'problems and challenges that loom ahead, helping readers to sharpen '
'their own thinking and pursue innovative solutions. Queue does not '
'focus on either industry news or the latest "solutions." Rather, '
'Queue takes a critical look at current and emerging technologies, '
'highlighting problems that are likely to arise and posing questions '
'that software engineers should be thinking about.')
category = 'tecnology, engeneering, testing, hardware, software, developement, sql, performance'
oldest_article = 45
max_articles_per_feed = 10
auto_cleanup = True
language = 'en'
# Feed are found here: http://queue.acm.org/rssfeeds.cfm
feeds = [
('Latest Queue Content', 'http://queue.acm.org/rss/feeds/latestitems.xml'),
('Curmudgeon', 'http://queue.acm.org/rss/feeds/curmudgeon.xml'),
('Opinion', 'http://queue.acm.org/rss/feeds/opinion.xml'),
('Kodevicious', 'http://queue.acm.org/rss/feeds/kodevicious.xml'),
('ACM TechNews', 'http://www.infoinc.com/acm/TechNews.rss'),
('AI', 'http://queue.acm.org/rss/feeds/ai.xml'),
('API Design', 'http://queue.acm.org/rss/feeds/apidesign.xml'),
('Bioscience', 'http://queue.acm.org/rss/feeds/bioscience.xml'),
('Compliance', 'http://queue.acm.org/rss/feeds/compliance.xml'),
('Component Technologies', 'http://queue.acm.org/rss/feeds/componenttechnologies.xml'),
('Computer Architecture', 'http://queue.acm.org/rss/feeds/computerarchitecture.xml'),
('Concurrency', 'http://queue.acm.org/rss/feeds/concurrency.xml'),
('DSPs', 'http://queue.acm.org/rss/feeds/dsps.xml'),
('Databases', 'http://queue.acm.org/rss/feeds/databases.xml'),
('Development', 'http://queue.acm.org/rss/feeds/development.xml'),
('Distributed Computing', 'http://queue.acm.org/rss/feeds/distributedcomputing.xml'),
('Distributed Development', 'http://queue.acm.org/rss/feeds/distributeddevelopment.xml'),
('Education', 'http://queue.acm.org/rss/feeds/education.xml'),
('Email and IM', 'http://queue.acm.org/rss/feeds/emailandim.xml'),
('Embedded Systems', 'http://queue.acm.org/rss/feeds/embeddedsystems.xml'),
('Failure and Recovery', 'http://queue.acm.org/rss/feeds/failureandrecovery.xml'),
('File Systems and Storage', 'http://queue.acm.org/rss/feeds/filesystemsandstorage.xml'),
('Game Development', 'http://queue.acm.org/rss/feeds/gamedevelopment.xml'),
('Graphics', 'http://queue.acm.org/rss/feeds/graphics.xml'),
('HCI', 'http://queue.acm.org/rss/feeds/hci.xml'),
('Managing Megaservices', 'http://queue.acm.org/rss/feeds/managingmegaservices.xml'),
('Mobile Computing', 'http://queue.acm.org/rss/feeds/mobilecomputing.xml'),
('Networks', 'http://queue.acm.org/rss/feeds/networks.xml'),
('Object-Relational Mapping', 'http://queue.acm.org/rss/feeds/object-relationalmapping.xml'),
('Open Source', 'http://queue.acm.org/rss/feeds/opensource.xml'),
('Patching and Deployment', 'http://queue.acm.org/rss/feeds/patchinganddeployment.xml'),
('Performance', 'http://queue.acm.org/rss/feeds/performance.xml'),
('Power Management', 'http://queue.acm.org/rss/feeds/powermanagement.xml'),
('Privacy and Rights', 'http://queue.acm.org/rss/feeds/privacyandrights.xml'),
('Processors', 'http://queue.acm.org/rss/feeds/processors.xml'),
('Programming Languages', 'http://queue.acm.org/rss/feeds/programminglanguages.xml'),
('Purpose-built Systems', 'http://queue.acm.org/rss/feeds/purpose-builtsystems.xml'),
('Quality Assurance', 'http://queue.acm.org/rss/feeds/qualityassurance.xml'),
('RFID', 'http://queue.acm.org/rss/feeds/rfid.xml'),
('Risks Forum', 'http://queue.acm.org/rss/feeds/risksforum.xml'),
('SIP', 'http://queue.acm.org/rss/feeds/sip.xml'),
('Search Engines', 'http://queue.acm.org/rss/feeds/searchengines.xml'),
('Security', 'http://queue.acm.org/rss/feeds/security.xml'),
('Semi-structured Data', 'http://queue.acm.org/rss/feeds/semi-structureddata.xml'),
('Social Computing', 'http://queue.acm.org/rss/feeds/socialcomputing.xml'),
('System Administration', 'http://queue.acm.org/rss/feeds/systemadministration.xml'),
('System Evolution', 'http://queue.acm.org/rss/feeds/systemevolution.xml'),
('Virtual Machines', 'http://queue.acm.org/rss/feeds/virtualmachines.xml'),
('Virtualization', 'http://queue.acm.org/rss/feeds/virtualization.xml'),
('VoIP', 'http://queue.acm.org/rss/feeds/voip.xml'),
('Web Development', 'http://queue.acm.org/rss/feeds/webdevelopment.xml'),
('Web Security', 'http://queue.acm.org/rss/feeds/websecurity.xml'),
('Web Services', 'http://queue.acm.org/rss/feeds/webservices.xml'),
('Workflow Systems', 'http://queue.acm.org/rss/feeds/workflowsystems.xml'),
]

View File

@ -0,0 +1,24 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
Søndagsavisen.dk
'''
class Sondagsavisen_dk(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'Søndagsavisen.dk'
description = 'Danmarks mest læste avis'
category = 'newspaper, news, localnews, home, health, decoration, Denmark'
oldest_article = 7
max_articles_per_feed = 50
auto_cleanup = True
language = 'da'
# Feed are found here: http://www.sondagsavisen.dk/
feeds = [
('Søndagsavisen.dk', 'http://www.sondagsavisen.dk/feed'),
]

View File

@ -0,0 +1,25 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
TV 2 Lorry
'''
class Tv2lorry_dk(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'TV 2 Lorry'
description = ('Ved at abonnere på vores RSS-feed kan du få de '
'seneste regionale nyheder til at dukke op på din skærm.')
category = 'news, localnews, sport, culture, Denmark'
oldest_article = 7
max_articles_per_feed = 50
auto_cleanup = True
language = 'da'
# Feed are found here: http://www.tv2lorry.dk/tv2lorry/rss
feeds = [
('www.tv2lorry.dk - RSS Feed', 'http://tv2lorry.dk/rss'),
]

26
recipes/tv2nord_dk.recipe Normal file
View File

@ -0,0 +1,26 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
TV2 Nord
'''
class Tv2nord_dk(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'TV2 Nord'
description = ('Siden 1989 har nordjyderne inviteret TV2 Nord ind i stuen, men med '
'premieren på Nordjylland LIVE i 2014 blev det forhold vendt om. Nu '
'inviterer TV2 Nord nordjyderne i fjernsynet.')
category = 'newspaper, news, localnews, sport, culture, Denmark'
oldest_article = 7
max_articles_per_feed = 50
auto_cleanup = True
language = 'da'
# Feed are found here: http://www.tv2nord.dk/tv2nord/rss-feed-fra-tv2-nord
feeds = [
('TV2 Nord', 'http://www.tv2nord.dk/rss'),
]

24
recipes/tv2oj_dk.recipe Normal file
View File

@ -0,0 +1,24 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
TV 2 | ØSTJYLLAND
'''
class Tv2oj_dk(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'TV 2 | ØSTJYLLAND'
description = 'Alle nyheder fra tv2oj.dk kan læses som RSS RSS-feedet kan findes via adressen www.tv2oj.dk/rss'
category = 'newspaper, news, localnews, sport, culture, Denmark'
oldest_article = 7
max_articles_per_feed = 50
auto_cleanup = True
language = 'da'
# Feed are found here: http://www.tv2oj.dk/tv2oj/rss-feeds
feeds = [
('www.tv2oj.dk - RSS Feed', 'http://www.tv2oj.dk/rss'),
]

25
recipes/tveast_dk.recipe Normal file
View File

@ -0,0 +1,25 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
TV ØST
'''
class Tveast_dk(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'TV ØST'
description = ('Ved at abonnere på vores RSS-feed kan du få de seneste '
'regionale nyheder til at automatisk dukke op på din skærm.')
category = 'news, localnews, sport, culture, Denmark'
oldest_article = 7
max_articles_per_feed = 50
auto_cleanup = True
language = 'da'
# Feed are found here: http://www.tveast.dk/tveast/rss
feeds = [
('TV ØST', 'http://www.tveast.dk/tveast/rss'),
]

View File

@ -0,0 +1,30 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
TV MIDTVEST
'''
class Tvmidtvest_dk(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'TV MIDTVEST'
description = ('Du skal bruge en browser som understøtter RSS (f.eks. '
'Firefox ), eller en nyhedslæser (f.eks. SharpReader eller '
'RSSReader). Se rss-feed på tvmidtvest.dk/rss. Du kan også '
'bruge vores RSS feeds på online feed-readers som f.eks. '
'Google eller Live.com. Du kan frit indsætte vores RSS '
'feeds på din hjemmeside, via f.eks. www.feedburner.com '
'eller www.rss2html.com.')
category = 'newspaper, news, localnews, sport, culture, Denmark'
oldest_article = 7
max_articles_per_feed = 50
auto_cleanup = True
language = 'da'
# Feed are found here: http://www.tvmidtvest.dk/tvmidtvest/rss-feed
feeds = [
('TV MIDTVEST', 'http://tvmidtvest.dk/rss'),
]

24
recipes/tvsyd_dk.recipe Normal file
View File

@ -0,0 +1,24 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
TV SYD
'''
class Tvsyd_dk(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'TV SYD'
description = 'Ved at abonnere på vores RSS-feed kan du få de seneste regionale nyheder til at dukke op på din skærm.'
category = 'newspaper, news, localnews, sport, culture, Denmark'
oldest_article = 7
max_articles_per_feed = 50
auto_cleanup = True
language = 'da'
# Feed are found here: http://www.tvsyd.dk/tvsyd/rss
feeds = [
('TV Syd', 'http://www.tvsyd.dk/rss'),
]