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
22 lines
569 B
Smarty
22 lines
569 B
Smarty
[%# feedWatcher_3.tpl 2020-01-24 -%]
|
|
[%# Generates Markdown as a list with a sublist per feed -%]
|
|
# Free Culture Podcasts
|
|
|
|
### The finest selection of Free Culture Podcasts spanning the genres of Discussion, Drama, Education, Music, and beyond.
|
|
|
|
[% IF feeds.size > 0 -%]
|
|
[% i = 0 -%]
|
|
[% WHILE i < feeds.size -%]
|
|
- **[% feeds.$i.urls_title %]**
|
|
- Website: [% feeds.$i.urls_link %]
|
|
- Feed: [% feeds.$i.urls_url %]
|
|
- Copyright: [% feeds.$i.urls_copyright %]
|
|
|
|
[% i = i + 1 -%]
|
|
[% END -%]
|
|
[% END -%]
|
|
|
|
[%#
|
|
# vim: syntax=tt2:ts=8:sw=4:ai:et:tw=78:fo=tcrqn21
|
|
-%]
|