Skip to content

RSS Feed Validator and Downloader is a Flask app that validates RSS feed URLs, extracts feed information, and allows users to download the data as a JSON file. It verifies the feed's validity and parses its content for easy access.

Notifications You must be signed in to change notification settings

Vishnu8299/News-RSS-feed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RSS Feed Validator and Downloader

This Flask application allows users to verify RSS feed URLs and download the feed data as a JSON file.

Features

  • RSS Feed Validation: Checks if the provided URL is a valid RSS feed.
  • Feed Parsing: Extracts feed details including entries, images, and descriptions.
  • JSON Download: Saves the feed data to a JSON file and provides a download link.

Installation

  1. Clone the repository:

    git clone https://github.com/Vishnu8299/News-RSS-feed.git
    cd rss-feed-validator
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the required packages:

    pip install -r requirements.txt

Usage

  1. Run the Flask application:

    python app.py
  2. Open your web browser and navigate to http://127.0.0.1:5000/.

  3. Submit an RSS feed URL through the form on the homepage.

  4. View the result: If the URL is valid, the feed information will be displayed, and you can download the JSON file by clicking the provided link. If the URL is invalid, an error message will be shown.

Project Structure

  • rss-feed-validator/
  • main.py # Main Flask application script
  • requirements.txt # List of dependencies
  • templates/
  • index.html # HTML template for the input form and error messages
  • result.html # HTML template for displaying feed information and download link
  • README.md # This file

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

If you have suggestions or improvements, please fork the repository and create a pull request. For major changes, please open an issue first to discuss what you would like to change.

Dependencies

  • Flask
  • requests
  • feedparser

To install these dependencies, use the requirements.txt file:

Flask==2.2.3
requests==2.28.1
feedparser==6.0.10


About

RSS Feed Validator and Downloader is a Flask app that validates RSS feed URLs, extracts feed information, and allows users to download the data as a JSON file. It verifies the feed's validity and parses its content for easy access.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published