A feeds reader building in Django to allow you subscribe to RSS (and other) feeds.
- Consumes RSS feeds.
- Parses feeds liberally to try and accomodate simple errors.
- Grab feed by given list of URLs.
- See feed items in log files.
- See in of item via web-based, pagination
- Filter items.
- Insert, update, delete item manually via a web form.
A feed is represented by a Channel
object which has (among other things) a link
.
Channel
have many Items
which contain the content.
A full description of the models and their fields in models.py
.
In this project, I use SQLite to store database. To setup datatabse run
python manage.py migrate
python manage.py grab_item <list_of_urls_seperate_by_comma> <log_file>
- <list_of_urls_seperate_by_comma>: List of feeds URLs need to grab item (seperate by comma)
- <log_file>: path of log file to store while grab item
- Create a python 3.7 version
- Run
pip install -r requirements.txt
- Move to project folder
cd feed
- Start server
python manage.py runserver
- List of grab channel:
<server_host>:<server_port>/feeds/
- Detail of channel:
<server_host>:<server_port>/feeds/<channel_id>
- Edit channel
<server_host>:<server_port>/feeds/edit_channel/<channel_id>
- Display all item belong channel:
<server_host>:<server_port>/feeds/items/<channel_id>
- Detail of item:
<server_host>:<server_port>/feeds/detail_item/<item_id>
- Edit item:
<server_host>:<server_port>/feeds/edit_item/<item_id>
- email: [email protected]
- skype: quang_nguyen_247
- https://github.com/quang-sudo/