RSSEngine is a lightweight and extensible RSS feed generator, implemented by Python language.
With RSSEngine, you can easily and rapidly generate RSS feed for arbitrary websites, with your custom scripts.
RSSEngine is powered by PyRSS2Gen.
Python(3) and the following 3rd party modules:
Custom user scripts may induce extra modules as well.
The following procedure shows how to deploy RSSEngine in a Linux server.
user_api.py
(optional when relevant functions are required)run_script.sh
, set relevant paths in your serverrun_script.sh
(i.e. chmod +x run_script.sh
)crontab
command to set a periodical job:## open editing pannel
>>> crontab -e
# tip: you can refer to https://crontab.guru/ to check your crontab commands
# redirect output messages to logfile.
>>> 0/30 * * * * /PATH/TO/run_script.sh >> /PATH/TO/rss.log
# exit the editing pannel (:wq)
## optional: list current jobs and refresh cron service
>>> crontab -l
>>> service cron restart
Write and put your own script in user_scripts/
and register it in run_script.py
. It's pretty easy, you can refer to existing sample scripts.
If you like this project and want to show your support, you can buy me a coffee!