aboutsummaryrefslogtreecommitdiff
path: root/feed.atom.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-05-24 15:23:11 +0200
committerneodarz <neodarz@neodarz.net>2017-05-24 15:23:11 +0200
commit96a660a21e47d43ebc473ce9d23e712c0e3e1261 (patch)
tree83f62bba16e51bfd64228b7d12076709bb7273f1 /feed.atom.html
downloadshaarli_ascii-96a660a21e47d43ebc473ce9d23e712c0e3e1261.tar.xz
shaarli_ascii-96a660a21e47d43ebc473ce9d23e712c0e3e1261.zip
initil release
Diffstat (limited to '')
-rw-r--r--feed.atom.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/feed.atom.html b/feed.atom.html
new file mode 100644
index 0000000..2918750
--- /dev/null
+++ b/feed.atom.html
@@ -0,0 +1,40 @@
+<?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}#" />
+ {loop="$plugins_feed_header"}
+ {$value}
+ {/loop}
+ <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}
+ {loop="$value.feed_plugins"}
+ {$value}
+ {/loop}
+ </entry>
+ {/loop}
+</feed>