Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: DW News Feed #27

Closed
teledyn opened this issue Apr 22, 2024 · 0 comments · Fixed by #30
Closed

Enhancement: DW News Feed #27

teledyn opened this issue Apr 22, 2024 · 0 comments · Fixed by #30

Comments

@teledyn
Copy link

teledyn commented Apr 22, 2024

I won't pretend to be confident enough to submit a PR, but for those interested, here is the block of code needed to add Deutche-Welle hourly news in English.

            "DW": {
                "aliases": ["DW News", "DW", "DW News Channel"],
                "uri": "rss//https://rss.dw.com/syndication/feeds/podcast_en_newsbrief.33191-mrss.xml",
                "match_types": [MediaType.NEWS],
                "playback": PlaybackType.AUDIO,
                "media_type": MediaType.NEWS,
                "image": join(dirname(__file__), "ui", "images", "DW.png"),
                "secondary_langs": ["en"]
            },

The needed png file lives at https://static.dw.com/image/55134716_7.png as specified in the xml.

JarbasAl added a commit that referenced this issue May 16, 2024
JarbasAl added a commit that referenced this issue Jun 20, 2024
* add DW english feed

closes #27

* Update News.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant