hpr-tools/feed_watcher/feedWatcher_4.tpl

17 lines
427 B
Smarty
Raw Permalink Normal View History

2024-10-29 13:25:10 +00:00
[%# feedWatcher_4.tpl 2020-01-25 -%]
[%# Generates simple lines each containing title and description per feed -%]
[% i = 0 -%]
[% WHILE i < feeds.size -%]
[% IF feeds.$i.urls_description.length > 0 -%]
[% desc = feeds.$i.urls_description -%]
[% ELSE -%]
[% desc = "[No description]" -%]
[% END -%]
[% feeds.$i.urls_title %]: [% desc %]
[% i = i + 1 -%]
[% END -%]
[%#
# vim: syntax=tt2:ts=8:sw=4:ai:et:tw=78:fo=tcrqn21
-%]