From: ArthurHoaro Date: Thu, 10 Mar 2016 17:46:07 +0000 (+0100) Subject: Create a template to handle ATOM feed X-Git-Tag: v0.7.0~23^2~10 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=56e8ea2089000562533376c9e684303bdb9fdba9;p=github%2Fshaarli%2FShaarli.git 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 --- diff --git a/tpl/feed.atom.html b/tpl/feed.atom.html new file mode 100644 index 00000000..2ebb162a --- /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} +