db39655199
feedWatcher: added the parsing of HTML feeds to get the title tag in the <head> area; new database fields relating to the copyright check done, and why the feed was allowed in if done so manually; added dry run mode; changed the way -load and -delete work so each can be given URLs on the command line; starting to report settings at start time (needs work); -load and -delete not allowed together; more logging; addition of a _debug function; enhancement of reportFeed to show one feed and a summary of relevant details (more useful than dumping the entire database this way); added getHTMLTitle for parsing out the HTML title; enhanced checkCopyright to get a reason if in manual mode and a feed is allowed in; needs a lot of clean-up! feedWatcher.{html,json,mkd,opml,pdf}: various reports. feedWatcher_3.tpl: For making Markdown which is turned into PDF. 'Licence' becomes 'Copyright' feedWatcher_5.tpl: for dumping all the URLs in the database & regenerating everything feedWatcher_schema.sql: new fields added
13 lines
300 B
Smarty
13 lines
300 B
Smarty
[%# feedWatcher_5.tpl 2022-11-21 -%]
|
|
[%# Lists all the URLs in the system, useful for dumping everything -%]
|
|
[% 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
|
|
-%]
|