From 55e81086bdfab200a4d278ef70b341306d12c3c9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 20 Jun 2024 12:02:48 +0530 Subject: [PATCH] Gates Notes, Greatist, Halthline and United Nations by SpicyPoison --- recipes/gates_notes.recipe | 24 ++++++++++++++++++++++ recipes/greatist.recipe | 22 ++++++++++++++++++++ recipes/healthline.recipe | 23 +++++++++++++++++++++ recipes/united_nations.recipe | 38 +++++++++++++++++++++++++++++++++++ 4 files changed, 107 insertions(+) create mode 100644 recipes/gates_notes.recipe create mode 100644 recipes/greatist.recipe create mode 100644 recipes/healthline.recipe create mode 100644 recipes/united_nations.recipe diff --git a/recipes/gates_notes.recipe b/recipes/gates_notes.recipe new file mode 100644 index 0000000000..17134dd53a --- /dev/null +++ b/recipes/gates_notes.recipe @@ -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'), + ] diff --git a/recipes/greatist.recipe b/recipes/greatist.recipe new file mode 100644 index 0000000000..b7d38367df --- /dev/null +++ b/recipes/greatist.recipe @@ -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'), + ] diff --git a/recipes/healthline.recipe b/recipes/healthline.recipe new file mode 100644 index 0000000000..5682b9b61b --- /dev/null +++ b/recipes/healthline.recipe @@ -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 we’re 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'), + ] diff --git a/recipes/united_nations.recipe b/recipes/united_nations.recipe new file mode 100644 index 0000000000..6f5b5dd19e --- /dev/null +++ b/recipes/united_nations.recipe @@ -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 world’s 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'), + ]