8000 GitHub - SK2108/python-rss: Building an RSS feed reader in Python
[go: up one dir, main page]

Skip to content

SK2108/python-rss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-rss

Building an RSS feed reader in Python

Getting started

  • Activate your environment
source venv/bin/activate

Select the right environment for importing feedparser

In this case, this is Python 3.11.4.

Install feedparser

python3 -m pip install feedparser

Running the programme

  • Use the command below to run the programme
python3 app.py

OR

python app.py

Sample output formatted:

python3 app.py
Post Title: ‘Hopeful and imaginative’: introducing the UK’s ‘best’ new building
Author: Gavin Haines
Date: Fri, 17 Oct 2025 10:23:03 +0000
Summary: <p>A London care home built to tackle social isolation has won a major architecture award</p>
<p>The post <a href="https://www.positive.news/society/hopeful-and-imaginative-introducing-the-uks-best-new-building/">‘Hopeful and imaginative’: introducing the UK’s ‘best’ new building</a> appeared first on <a href="https://www.positive.news">Positive News</a>.</p>
Link: https://www.positive.news/society/hopeful-and-imaginative-introducing-the-uks-best-new-building/
Post Title: What went right this week: the good news that matters
Author: Gavin Haines
Date: Fri, 17 Oct 2025 05:00:42 +0000
Summary: <p>Green turtles came back from the brink, The Maldives made medical history, and global EV sales surged, plus more</p>
<p>The post <a href="https://www.positive.news/society/good-news-stories-from-week-42-of-2025/">What went right this week: the good news that matters</a> appeared first on <a href="https://www.positive.news">Positive News</a>.</p>
Link: https://www.positive.news/society/good-news-stories-from-week-42-of-2025/
Post Title: Children’s Laureate Alex Wharton on the power of language, rhythm and reading
Author: Daniel Dylan Wray
Date: Thu, 16 Oct 2025 07:00:47 +0000
Summary: <p>Children’s Laureate Alex Wharton’s inspiring journey shows how reading and language can unlock imaginations and transform young lives</p>
<p>The post <a href="https://www.positive.news/lifestyle/arts/childrens-laureate-alex-wharton-on-the-power-of-language-rhythm-and-reading/">Children’s Laureate Alex Wharton on the power of language, rhythm and reading</a> appeared first on <a href="https://www.positive.news">Positive News</a>.</p>
Link: https://www.positive.news/lifestyle/arts/childrens-laureate-alex-wharton-on-the-power-of-language-rhythm-and-reading/
Post Title: Wildlife Photographer of the Year 2025, the winning images
Author: Positive News
Date: Wed, 15 Oct 2025 07:00:49 +0000
Summary: <p>This year’s Wildlife Photographer of the Year competition showcases the world’s enduring fascination with nature</p>
<p>The post <a href="https://www.positive.news/society/wildlife-photographer-of-the-year-2025-the-winning-images/">Wildlife Photographer of the Year 2025, the winning images</a> appeared first on <a href="https://www.positive.news">Positive News</a>.</p>
Link: https://www.positive.news/society/wildlife-photographer-of-the-year-2025-the-winning-images/
Post Title: How barbershops and footy clubs are reaching men about their health
Author: Olivia Konotey-Ahulu
Date: Tue, 14 Oct 2025 07:00:59 +0000
Summary: <p>Men are less likely to seek health support than women and typically die younger. Can a new approach in the UK improve outcomes?</p>
<p>The post <a href="https://www.positive.news/society/how-barbershops-and-footy-clubs-are-reaching-men-about-their-health/">How barbershops and footy clubs are reaching men about their health</a> appeared first on <a href="https://www.positive.news">Positive News</a>.</p>
Link: https://www.positive.news/society/how-barbershops-and-footy-clubs-are-reaching-men-about-their-health/
Post Title: The bold model stopping deforestation in its tracks
Author: Jo Caird
Date: Mon, 13 Oct 2025 12:59:57 +0000
Summary: <p>A pioneering effort to protect rainforests involves providing no-strings-attached cash to forest communities </p>
<p>The post <a href="https://www.positive.news/environment/the-bold-model-stopping-deforestation-in-its-tracks/">The bold model stopping deforestation in its tracks</a> appeared first on <a href="https://www.positive.news">Positive News</a>.</p>
Link: https://www.positive.news/environment/the-bold-model-stopping-deforestation-in-its-tracks/
Post Title: ‘The recovery process can be bleak, but we wanted to make sure it was joyous’
Author: Robin Eveleigh
Date: Sun, 12 Oct 2025 05:00:26 +0000
Summary: <p>An art initiative in England is bringing visibility to marginalised people, while aiding their recovery from substance use </p>
<p>The post <a href="https://www.positive.news/society/uks-first-artist-residency-treatment-recovery-centre-launches/">‘The recovery process can be bleak, but we wanted to make sure it was joyous’</a> appeared first on <a href="https://www.positive.news">Positive News</a>.</p>
Link: https://www.positive.news/society/uks-first-artist-residency-treatment-recovery-centre-launches/

Running tests

Run tests with this command

python3 tests/test_app.py

About

Building an RSS feed reader in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0