Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
kalvn
committed
Dec 20, 2016
1 parent
231a433
commit 6c3a255
Showing
2 changed files
with
68 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<feed xmlns="http://www.w3.org/2005/Atom"> | ||
<title>{$pagetitle}</title> | ||
<subtitle>Shaared links</subtitle> | ||
{if="$show_dates"} | ||
<updated>{$last_update}</updated> | ||
{/if} | ||
<link rel="self" href="{$self_link}#" /> | ||
{if="!empty($pubsubhub_url)"} | ||
<!-- PubSubHubbub Discovery --> | ||
<link rel="hub" href="{$pubsubhub_url}#" /> | ||
<!-- End Of PubSubHubbub Discovery --> | ||
{/if} | ||
<author> | ||
<name>{$index_url}</name> | ||
<uri>{$index_url}</uri> | ||
</author> | ||
<id>{$index_url}</id> | ||
<generator>Shaarli</generator> | ||
{loop="$links"} | ||
<entry> | ||
<title>{$value.title}</title> | ||
{if="$usepermalinks"} | ||
<link href="{$value.guid}#" /> | ||
{else} | ||
<link href="{$value.url}#" /> | ||
{/if} | ||
<id>{$value.guid}</id> | ||
{if="$show_dates"} | ||
<updated>{$value.iso_date}</updated> | ||
{/if} | ||
<content type="html" xml:lang="{$language}"><![CDATA[{$value.description}]]></content> | ||
{loop="$value.taglist"} | ||
<category scheme="{$index_url}?searchtags=" term="{$value|strtolower}" label="{$value}" /> | ||
{/loop} | ||
</entry> | ||
{/loop} | ||
</feed> | ||
<title>{$pagetitle}</title> | ||
<subtitle>Shaared links</subtitle> | ||
{if="$show_dates"} | ||
<updated>{$last_update}</updated> | ||
{/if} | ||
<link rel="self" href="{$self_link}#" /> | ||
{if="!empty($pubsubhub_url)"} | ||
<!-- PubSubHubbub Discovery --> | ||
<link rel="hub" href="{$pubsubhub_url}#" /> | ||
<!-- End Of PubSubHubbub Discovery --> | ||
{/if} | ||
<author> | ||
<name>{$index_url}</name> | ||
<uri>{$index_url}</uri> | ||
</author> | ||
<id>{$index_url}</id> | ||
<generator>Shaarli</generator> | ||
{loop="$links"} | ||
<entry> | ||
<title>{$value.title}</title> | ||
{if="$usepermalinks"} | ||
<link href="{$value.guid}#" /> | ||
{else} | ||
<link href="{$value.url}#" /> | ||
{/if} | ||
<id>{$value.guid}</id> | ||
{if="$show_dates"} | ||
<published>{$value.pub_iso_date}</published> | ||
<updated>{$value.up_iso_date}</updated> | ||
{/if} | ||
<content type="html" xml:lang="{$language}"><![CDATA[{$value.description}]]></content> | ||
{loop="$value.taglist"} | ||
<category scheme="{$index_url}?searchtags=" term="{$value|strtolower}" label="{$value}" /> | ||
{/loop} | ||
</entry> | ||
{/loop} | ||
</feed> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom"> | ||
<channel> | ||
<title>{$pagetitle}</title> | ||
<link>{$index_url}</link> | ||
<description>Shaared links</description> | ||
<language>{$language}</language> | ||
<copyright>{$index_url}</copyright> | ||
<generator>Shaarli</generator> | ||
<atom:link rel="self" href="{$self_link}" /> | ||
{if="!empty($pubsubhub_url)"} | ||
<!-- PubSubHubbub Discovery --> | ||
<atom:link rel="hub" href="{$pubsubhub_url}" /> | ||
<channel> | ||
<title>{$pagetitle}</title> | ||
<link>{$index_url}</link> | ||
<description>Shaared links</description> | ||
<language>{$language}</language> | ||
<copyright>{$index_url}</copyright> | ||
<generator>Shaarli</generator> | ||
<atom:link rel="self" href="{$self_link}" /> | ||
{if="!empty($pubsubhub_url)"} | ||
<!-- PubSubHubbub Discovery --> | ||
<atom:link rel="hub" href="{$pubsubhub_url}" /> | ||
{/if} | ||
{loop="$links"} | ||
<item> | ||
<title>{$value.title}</title> | ||
<guid isPermaLink="{if="$usepermalinks"}true{else}false{/if}">{$value.guid}</guid> | ||
{if="$usepermalinks"} | ||
<link>{$value.guid}</link> | ||
{else} | ||
<link>{$value.url}</link> | ||
{/if} | ||
{loop="$links"} | ||
<item> | ||
<title>{$value.title}</title> | ||
<guid isPermaLink="{if="$usepermalinks"}true{else}false{/if}">{$value.guid}</guid> | ||
{if="$usepermalinks"} | ||
<link>{$value.guid}</link> | ||
{else} | ||
<link>{$value.url}</link> | ||
{/if} | ||
{if="$show_dates"} | ||
<pubDate>{$value.iso_date}</pubDate> | ||
{/if} | ||
<description><![CDATA[{$value.description}]]></description> | ||
{loop="$value.taglist"} | ||
<category domain="{$index_url}?searchtags=">{$value}</category> | ||
{/loop} | ||
</item> | ||
{if="$show_dates"} | ||
<pubDate>{$value.pub_iso_date}</pubDate> | ||
<atom:modified>{$value.up_iso_date}</atom:modified> | ||
{/if} | ||
<description><![CDATA[{$value.description}]]></description> | ||
{loop="$value.taglist"} | ||
<category domain="{$index_url}?searchtags=">{$value}</category> | ||
{/loop} | ||
</channel> | ||
</rss> | ||
</item> | ||
{/loop} | ||
</channel> | ||
</rss> |