From 56b7e1749022f47c2460f0d06f6ed5be174b0fc6 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 6 Aug 2016 13:48:59 +0200 Subject: [PATCH] Add feed templates --- tpl/default/feed.atom.html | 40 ++++++++++++++++++++++++++++++++++++++ tpl/default/feed.rss.html | 34 ++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 tpl/default/feed.atom.html create mode 100644 tpl/default/feed.rss.html diff --git a/tpl/default/feed.atom.html b/tpl/default/feed.atom.html new file mode 100644 index 00000000..2ebb162a --- /dev/null +++ b/tpl/default/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} + diff --git a/tpl/default/feed.rss.html b/tpl/default/feed.rss.html new file mode 100644 index 00000000..26de7f19 --- /dev/null +++ b/tpl/default/feed.rss.html @@ -0,0 +1,34 @@ + + + + {$pagetitle} + {$index_url} + Shaared links + {$language} + {$index_url} + Shaarli + + {if="!empty($pubsubhub_url)"} + + + {/if} + {loop="links"} + + {$value.title} + {$value.guid} + {if="$usepermalinks"} + {$value.guid} + {else} + {$value.url} + {/if} + {if="$show_dates"} + {$value.iso_date} + {/if} + + {loop="$value.taglist"} + {$value} + {/loop} + + {/loop} + + -- 2.41.0