TagRSS

% for i, entry in enumerate(entries): <% import time dates = [] if entry.get("epoch_published", None): dates.append(time.strftime("%x %X", time.localtime(entry["epoch_published"]))) end if entry.get("epoch_updated", None): date_updated = time.strftime("%x %X", time.localtime(entry["epoch_updated"])) if not date_updated in dates: dates.append(date_updated) end end %> % end
# Title Date Tags Feed
{{i + 1}} {{entry["title"]}} {{", updated ".join(dates)}} % tags = tagrss_backend.get_feed_tags(entry["feed_id"]) % for i, tag in enumerate(tags): % if i > 0: {{", "}} % end {{tag}} % end