|
|
|
|
@ -210,7 +210,7 @@ def fetch_duckduckgo_news_context(title, hours=24): |
|
|
|
|
return title |
|
|
|
|
|
|
|
|
|
def curate_from_rss(): |
|
|
|
|
articles = fetch_rss_articles() |
|
|
|
|
articles = fetch_rss_feeds() # Corrected from fetch_rss_articles to fetch_rss_feeds |
|
|
|
|
if not articles: |
|
|
|
|
print("No RSS articles available") |
|
|
|
|
logging.info("No RSS articles available") |
|
|
|
|
@ -223,7 +223,7 @@ def curate_from_rss(): |
|
|
|
|
title = article["title"] |
|
|
|
|
link = article["link"] |
|
|
|
|
summary = article.get("summary", "") |
|
|
|
|
source_name = article.get("source_name", "Unknown Source") |
|
|
|
|
source_name = article.get("feed_title", "Unknown Source") # Adjusted to match fetch_rss_feeds output |
|
|
|
|
original_source = f'<a href="{link}">{source_name}</a>' |
|
|
|
|
|
|
|
|
|
if title in posted_titles: |
|
|
|
|
|