From 56e8ea2089000562533376c9e684303bdb9fdba9 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Thu, 10 Mar 2016 18:46:07 +0100 Subject: [PATCH] Create a template to handle ATOM feed ATOM feed improvement: * Adds a subtitle to match RSS feed behavior. * Better syntax for categories (see http://edward.oconnor.cx/2007/02/representing-tags-in-atom ). * Use locale to set the language --- tpl/feed.atom.html | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 tpl/feed.atom.html diff --git a/tpl/feed.atom.html b/tpl/feed.atom.html new file mode 100644 index 0000000..2ebb162 --- /dev/null +++ b/tpl/feed.atom.html @@ -0,0 +1,40 @@ + + + {$pagetitle} + Shaared links + {if="$show_dates"} + {$last_update} + {/if} + + {if="!empty($pubsubhub_url)"} + + + + {/if} + + {$index_url} + {$index_url} + + {$index_url} + Shaarli + {loop="links"} + + {$value.title} + {if="$usepermalinks"} + + {else} + + {/if} + {$value.guid} + {if="$show_dates"} + {$value.iso_date} + {/if} + + + + {loop="$value.taglist"} + + {/loop} + + {/loop} +