This Flask application allows users to verify RSS feed URLs and download the feed data as a JSON file.
- 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.
-
Clone the repository:
git clone https://github.com/Vishnu8299/News-RSS-feed.git cd rss-feed-validator
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
-
Run the Flask application:
python app.py
-
Open your web browser and navigate to
http://127.0.0.1:5000/
. -
Submit an RSS feed URL through the form on the homepage.
-
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.
- 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
This project is licensed under the MIT License - see the LICENSE file for details.
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.
- Flask
- requests
- feedparser
To install these dependencies, use the requirements.txt
file:
Flask==2.2.3
requests==2.28.1
feedparser==6.0.10