file-change-RSS creates an RSS feed (xml file) of file changes in a local folder (and subfolders). You can upload it later onto a webserver to read it with an RSS feed reader.
- Make sure to install all dependencies first, file-change-RSS requires: powershell
If you're using linux, make sure to install software for scheduled script execution, for example cron / crontab. You may also want to install screen, since the folder monitoring will block the terminal. - Download the three files from the releases and save them all in the same folder.
- Open "FCR.ini" with a text editor and make necessary changes to folder paths and other settings.
- Create a scheduled task to run the folder monitoring script once at reboot (monitor.ps1).
You can use the Windows Task Scheduler for this, or for linux you can create a cron job like:
@reboot sleep 60 && screen -dmS fcr && screen -S fcr -X stuff "pwsh /home/pi/FCR/monitor.ps1^M"
Make sure to reboot or start the script manually once. - Create a scheduled task to create the RSS file (file-change-RSS.ps1) every few minutes (or how often you want it to be updated).
You can use the Windows Task Scheduler for this, or for linux you can create a cron job like:
*/5 * * * * pwsh /home/pi/FCR/file-change-RSS.ps1
- Done, your RSS feed xml file will be created/updated at the set interval (at the specified path in the ini file).
If you set everything up, there should now be your RSS feed saved at the specified path in the ini file.
You can then publish the file to a webserver, in order to read it with an RSS feed reader.
Ideally, you set the RSS output path in the ini file directly to the web server, if it's hosted locally.