Gates Notes, Greatist, Halthline and United Nations by SpicyPoison

This commit is contained in:
Kovid Goyal 2024-06-20 12:02:48 +05:30
parent e8cb43bbac
commit 55e81086bd
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
4 changed files with 107 additions and 0 deletions

View File

@ -0,0 +1,24 @@
#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1716089864(BasicNewsRecipe):
title = 'Gates Notes'
description = 'The Blog of Bill Gates.'
language = 'en'
__author__ = 'Spicy Poison'
description = 'The Blog of Bill Gates'
publisher = 'Bill Gates'
oldest_article = 30
max_articles_per_feed = 50
encoding = 'utf-8'
use_embedded_content = False
masthead_url = 'https://www.gatesnotes.com/img/TGN_Logo-01.svg'
no_stylesheets = True
remove_attributes = ['style', 'height', 'width']
ignore_duplicate_articles = {'title', 'url'}
auto_cleanup = True
feeds = [
('All Articles', 'https://www.gatesnotes.com/rss'),
]

22
recipes/greatist.recipe Normal file
View File

@ -0,0 +1,22 @@
#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1718003855(BasicNewsRecipe):
title = 'Greatist'
language = 'en'
__author__ = 'Spicy Poison'
description = 'To help you discover what works for you and how to apply it.'
publisher = 'Healthline Media'
oldest_article = 30
max_articles_per_feed = 50
ignore_duplicate_articles = {'title', 'url'}
encoding = 'utf-8'
masthead_url = 'https://post.greatist.com/wp-content/uploads/sites/2/2019/05/greatist-new-logo.jpg'
remove_empty_feeds = True
auto_cleanup = True
feeds = [
('All Articles', 'https://greatist.com/feed'),
]

23
recipes/healthline.recipe Normal file
View File

@ -0,0 +1,23 @@
#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1717853438(BasicNewsRecipe):
title = 'Healthline'
language = 'en'
__author__ = 'Spicy Poison'
description = ('Healthline covers all facets of physical and mental health openly and objectively'
' because were here for the whole person — for your whole life.')
publisher = 'Healthline Media '
oldest_article = 30
max_articles_per_feed = 50
ignore_duplicate_articles = {'title', 'url'}
encoding = 'utf-8'
masthead_url = 'https://duckduckgo.com/i/9114f6be67940d2e.png'
remove_empty_feeds = True
auto_cleanup = True
feeds = [
('All Articles', 'https://www.healthline.com/rss/health-news'),
]

View File

@ -0,0 +1,38 @@
#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1718094419(BasicNewsRecipe):
title = 'United Nations'
language = 'en'
__author__ = 'Spicy Poison'
description = (
'The United Nations is a diplomatic and political international organization whose stated'
' purposes are to maintain international peace and security, develop friendly relations among nations,'
' achieve international cooperation, and serve as a centre for harmonizing the actions of nations.'
' It is the worlds largest international organization.')
oldest_article = 30
max_articles_per_feed = 50
ignore_duplicate_articles = {'title', 'url'}
encoding = 'utf-8'
masthead_url = 'https://img.jagranjosh.com/imported/images/E/Others/UNLOGO.jpg'
remove_empty_feeds = True
auto_cleanup = True
feeds = [
('Top Stories', 'https://news.un.org/feed/subscribe/en/news/all/rss.xml'),
('Asia Pacific', 'https://news.un.org/feed/subscribe/en/news/region/asia-pacific/feed/rss.xml'),
('Health', 'https://news.un.org/feed/subscribe/en/news/topic/health/feed/rss.xml'),
('UN Affairs', 'https://news.un.org/feed/subscribe/en/news/topic/un-affairs/feed/rss.xml'),
('Law and Crime Prevention', 'https://news.un.org/feed/subscribe/en/news/topic/law-and-crime-prevention/feed/rss.xml'),
('Human Rights', 'https://news.un.org/feed/subscribe/en/news/topic/human-rights/feed/rss.xml'),
('Humanitarian Aid', 'https://news.un.org/feed/subscribe/en/news/topic/humanitarian-aid/feed/rss.xml'),
('Climate Change', 'https://news.un.org/feed/subscribe/en/news/topic/climate-change/feed/rss.xml'),
('Culture and Education', 'https://news.un.org/feed/subscribe/en/news/topic/culture-and-education/feed/rss.xml'),
('Economic Development', 'https://news.un.org/feed/subscribe/en/news/topic/economic-development/feed/rss.xml'),
('Women', 'https://news.un.org/feed/subscribe/en/news/topic/women/feed/rss.xml'),
('Peace and Security', 'https://news.un.org/feed/subscribe/en/news/topic/peace-and-security/feed/rss.xml'),
('Migrants and Refugees', 'https://news.un.org/feed/subscribe/en/news/topic/migrants-and-refugees/feed/rss.xml'),
('SDGs', 'https://news.un.org/feed/subscribe/en/news/topic/sdgs/feed/rss.xml'),
]