Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various Danish news sources by Allan Simonsen
Merge branch 'master' of https://github.com/CoderAllan/calibre
- Loading branch information
Showing
30 changed files
with
575 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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'), | ||
] |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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'), | ||
] |
Oops, something went wrong.