From 170409f9e7767030d0f0b7090267df5096f87934 Mon Sep 17 00:00:00 2001 From: Sophist <3001893+Sophist-UK@users.noreply.github.com> Date: Fri, 30 Jun 2023 20:41:17 +0100 Subject: [PATCH 1/2] Fix group in builtin recipe UI tree Because it say `en-Us` rather than `en` or `en-us` it appears in a branch on its own. Since this site is web -design oriented and not specific to the USA, I have chosen to change it to `en` rather than `en-us` so it appears under English rather than English (United States). Note: This is one of many language tweaks that are needed to clean up the UI. I will try to do as many as I can - please advise whether you would like them submitted as a single PR or in individual PRs. --- recipes/high_country_news.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/high_country_news.recipe b/recipes/high_country_news.recipe index d95834e8e9..971e2ca4a4 100644 --- a/recipes/high_country_news.recipe +++ b/recipes/high_country_news.recipe @@ -39,7 +39,7 @@ class HighCountryNews(BasicNewsRecipe): publisher = 'High Country News' category = 'News, Politics, Social, Nature, Environmental, Western United States, Native American' timefmt = ' [%a, %d %b %Y]' - language = 'en-Us' + language = 'en' encoding = 'UTF-8' publication_type = 'newspaper' oldest_article = 30 From 17c095c20982d3cd86fbe0ff4d6114eafe166417 Mon Sep 17 00:00:00 2001 From: Sophist <3001893+Sophist-UK@users.noreply.github.com> Date: Fri, 30 Jun 2023 20:45:07 +0100 Subject: [PATCH 2/2] Add change log --- recipes/high_country_news.recipe | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes/high_country_news.recipe b/recipes/high_country_news.recipe index 971e2ca4a4..c9b564579e 100644 --- a/recipes/high_country_news.recipe +++ b/recipes/high_country_news.recipe @@ -11,9 +11,11 @@ from calibre.web.feeds.news import BasicNewsRecipe class HighCountryNews(BasicNewsRecipe): ## # Written: 2012-01-28 - # Last Edited: 2022-08-17 + # Last Edited: 2023-06-30 # - # Remark: Version 2.2 + # Remark: Version 2.3 + # Update language to fix how it appears in UI tree + # Version 2.2 # Update RSS feeds to hcn.org and keep the old feedburner feeds still in place # as there are some old articles available only at feedburner adress # 2019-07-04