diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-07-24 10:46:30 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-07-24 10:46:30 +0300 |
commit | a9fb6e85eae3cf5e5cd0a49233f49b7ecc8133c6 (patch) | |
tree | b2c8cd5f97b0bfda7de13cf3a0c39dde376d87f6 /templates/rssitem.tmpl | |
parent | f7079d9800822112eba01239789c3092b16b976d (diff) | |
download | ewww.liw.fi-a9fb6e85eae3cf5e5cd0a49233f49b7ecc8133c6.tar.gz |
add styling from ikiwiki-style
Sponsored-by: author
Diffstat (limited to 'templates/rssitem.tmpl')
-rw-r--r-- | templates/rssitem.tmpl | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/rssitem.tmpl b/templates/rssitem.tmpl new file mode 100644 index 0000000..bb03ca5 --- /dev/null +++ b/templates/rssitem.tmpl @@ -0,0 +1,28 @@ +<item> + <title><TMPL_VAR TITLE></title> +<TMPL_IF GUID> + <guid isPermaLink="false"><TMPL_VAR GUID></guid> +<TMPL_ELSE> + <guid isPermaLink="false"><TMPL_VAR URL></guid> +</TMPL_IF> + <link><TMPL_VAR PERMALINK></link> +<TMPL_IF AUTHOR> + <dc:creator><TMPL_VAR AUTHOR ESCAPE=HTML></dc:creator> +</TMPL_IF> +<TMPL_IF CATEGORIES> +<TMPL_LOOP CATEGORIES> + <category><TMPL_VAR CATEGORY></category> +</TMPL_LOOP> +</TMPL_IF> + <pubDate><TMPL_VAR CDATE_822></pubDate> + <dcterms:modified><TMPL_VAR MDATE_3339></dcterms:modified> +<TMPL_IF ENCLOSURE> + <enclosure url="<TMPL_VAR ENCLOSURE>" type="<TMPL_VAR TYPE>" length="<TMPL_VAR LENGTH>" /> +</TMPL_IF> +<TMPL_UNLESS SIMPLEPODCAST> + <description><TMPL_VAR CONTENT ESCAPE=HTML></description> +</TMPL_UNLESS> +<TMPL_IF COMMENTSURL> + <comments><TMPL_VAR COMMENTSURL></comments> +</TMPL_IF> +</item> |