4f744f37c4
Changes to the main 'feedWatcher' script: new -check=mode and -rejects=file options to automate copyright checks and save rejected URLs. Made subroutines parseFeed, and execSQL more resilient. Experimented with using XML::FeedPP but haven't done so yet. Enhanced checkCopyright to do auto, manual and no checking. Some POD additions. The database is currently being sent to the repo, but this may be unwise. The script 'make_reports' is for making the various reports uploaded here: html, JSON, OPML, Markdown and PDF. The PDF is built from the Markdown with Pandoc. The HTML is generated from the template 'feedWatcher.tpl', which is the default. The TT² template 'feedWatcher_5.tpl' is for dumping the URLs from the database into a file so that they can be reloaded. Daily dumps of the database are made on my workstation, and kept for 6 months.
12 lines
227 B
Smarty
12 lines
227 B
Smarty
[%# feedWatcher_5.tpl 2022-11-21 -%]
|
|
[% IF feeds.size > 0 -%]
|
|
[% i = 0 -%]
|
|
[% WHILE i < feeds.size -%]
|
|
[% feeds.$i.urls_url %]
|
|
[% i = i + 1 -%]
|
|
[% END -%]
|
|
[% END -%]
|
|
[%#
|
|
# vim: syntax=tt2:ts=8:sw=4:ai:et:tw=78:fo=tcrqn21
|
|
-%]
|