Danish News Feeds
Aggregates 100+ Danish RSS feeds into category-based unified RSS feeds.
Quick Start
CODEBLOCK0
Configuration
Edit feeds.json to customize which feeds to include:
CODEBLOCK1
Output Feeds
| Feed | Description | Sources |
|---|
| INLINECODE1 | All news combined | Top 30 |
| INLINECODE2 |
DR, Berlingske, Politiken | 8 |
|
danish-regional.xml | Nordjyske, Fyens, etc | 5 |
|
danish-sports.xml | Bold, Tipsbladet, TV2 Sport | 8 |
|
danish-business.xml | Finans, Nationalbanken | 6 |
|
danish-tech.xml | Version2, Ingeniøren | 10 |
|
danish-english.xml | The Local, CPH Post | 5 |
Features
- - ✅ Category-based feeds
- ✅ Deduplication (same article from multiple sources)
- ✅ Source authority ranking (DR > major newspapers > regional)
- ✅ Time filtering (last 24h by default)
- ✅ RSS 2.0 compliant
- ✅ UTF-8 encoding
- ✅ Auto-refresh (15 min interval)
- ✅ Media RSS extensions for images
Hosting
Self-Host (Docker)
CODEBLOCK2
Cron Job
CODEBLOCK3
Subscribe
Add these URLs to your RSS reader:
- - https://your-domain.com/danish-all.xml
- https://your-domain.com/danish-national.xml
- https://your-domain.com/danish-regional.xml
- https://your-domain.com/danish-sports.xml
- https://your-domain.com/danish-business.xml
- https://your-domain.com/danish-tech.xml
- https://your-domain.com/danish-english.xml
Credits
Aggregates from: DR, Berlingske, Politiken, Information, Nordjyske, Fyens, JydskeVestkysten, Bold.dk, Tipsbladet, TV2 Sport, Finans, Nationalbanken, Version2, Ingeniøren, Computerworld, The Local Denmark, The Copenhagen Post, and many more.
Danish News Feeds v1.0 - Built by Nexus Orchestrator
丹麦新闻聚合
将100多个丹麦RSS源整合为基于分类的统一RSS源。
快速开始
bash
安装依赖
pip install feedparser python-dateutil
运行聚合器
python3 aggregator.py
输出文件位于output/目录
ls output/
配置
编辑feeds.json以自定义要包含的源:
json
{
refresh_interval: 900, // 秒(15分钟)
maxitemsper_feed: 50,
deduplicate: true,
feeds: {
national: [https://...],
sports: [https://...]
}
}
输出源
| 源 | 描述 | 来源数量 |
|---|
| danish-all.xml | 所有新闻汇总 | 前30个 |
| danish-national.xml |
DR、Berlingske、Politiken | 8 |
| danish-regional.xml | Nordjyske、Fyens等 | 5 |
| danish-sports.xml | Bold、Tipsbladet、TV2 Sport | 8 |
| danish-business.xml | Finans、Nationalbanken | 6 |
| danish-tech.xml | Version2、Ingeniøren | 10 |
| danish-english.xml | The Local、CPH Post | 5 |
功能特性
- - ✅ 基于分类的源
- ✅ 去重(同一文章来自多个来源)
- ✅ 来源权威排名(DR > 主要报纸 > 地方媒体)
- ✅ 时间过滤(默认最近24小时)
- ✅ 符合RSS 2.0标准
- ✅ UTF-8编码
- ✅ 自动刷新(15分钟间隔)
- ✅ 支持媒体RSS扩展(图片)
托管方式
自托管(Docker)
bash
docker build -t danish-news-aggregator .
docker run -d -p 8080:8080 danish-news-aggregator
定时任务
bash
添加到crontab
/15 * cd /path/to/aggregator && python3 aggregator.py
订阅
将这些URL添加到您的RSS阅读器:
- - https://your-domain.com/danish-all.xml
- https://your-domain.com/danish-national.xml
- https://your-domain.com/danish-regional.xml
- https://your-domain.com/danish-sports.xml
- https://your-domain.com/danish-business.xml
- https://your-domain.com/danish-tech.xml
- https://your-domain.com/danish-english.xml
鸣谢
聚合来源包括:DR、Berlingske、Politiken、Information、Nordjyske、Fyens、JydskeVestkysten、Bold.dk、Tipsbladet、TV2 Sport、Finans、Nationalbanken、Version2、Ingeniøren、Computerworld、The Local Denmark、The Copenhagen Post等。
丹麦新闻聚合 v1.0 - 由Nexus Orchestrator构建