From 09a389abc83f06c52301108307b1bb566523c276 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 21 Nov 2021 11:09:53 +0100 Subject: Add category info to ATOM feeds --- templates/feed_entry.xml | 52 +++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 27 deletions(-) (limited to 'templates/feed_entry.xml') diff --git a/templates/feed_entry.xml b/templates/feed_entry.xml index f8108f6..03d6569 100644 --- a/templates/feed_entry.xml +++ b/templates/feed_entry.xml @@ -1,27 +1,25 @@ - - $it.url.full$ - <![CDATA[$it.title$]]> - - $it.date.rfc3339$ - $it.last_update.rfc3339$ - $if(it.author)$ - $for(it.author)$ - - $it.name$ - $if(it.email)$ - $it.email$ - $endif$ - - $endfor$ - $else$ - $for(author)$ - - $author.name$ - $if(author.email)$ - $author.email$ - $endif$ - - $endfor$ - $endif$ - - +$it.url.full$ +<![CDATA[$it.title$]]> + +$it.date.rfc3339$ +$it.last_update.rfc3339$ +$if(it.author)$ + $for(it.author)$ + + $it.name$ + $if(it.email)$ + $it.email$ + $endif$ + + $endfor$ +$else$ + $for(author)$ + + $author.name$ + $if(author.email)$ + $author.email$ + $endif$ + + $endfor$ +$endif$ + -- cgit v1.2.3-70-g09d2