aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-11-02 15:31:40 +0100
committerArthurHoaro <arthur@hoa.ro>2016-11-05 14:29:56 +0100
commit7f2d3688c2feb434b0793fa2a966de5cd34566ad (patch)
treeb7c171df3dcebb327692fcc3bfbd043d220c8e76
parent8fd434886b5d5ec1e2471732d53c92724ab04fa4 (diff)
downloadShaarli-7f2d3688c2feb434b0793fa2a966de5cd34566ad.tar.gz
Shaarli-7f2d3688c2feb434b0793fa2a966de5cd34566ad.tar.zst
Shaarli-7f2d3688c2feb434b0793fa2a966de5cd34566ad.zip
add dailyrss and export templates
-rw-r--r--tpl/default/dailyrss.html16
-rw-r--r--tpl/default/export.bookmarks.html10
-rw-r--r--tpl/default/img/logo.pngbin0 -> 6252 bytes
3 files changed, 26 insertions, 0 deletions
diff --git a/tpl/default/dailyrss.html b/tpl/default/dailyrss.html
new file mode 100644
index 00000000..b14a3859
--- /dev/null
+++ b/tpl/default/dailyrss.html
@@ -0,0 +1,16 @@
1<item>
2 <title>{$title} - {function="strftime('%A %e %B %Y', $daydate)"}</title>
3 <guid>{$absurl}</guid>
4 <link>{$absurl}</link>
5 <pubDate>{$rssdate}</pubDate>
6 <description><![CDATA[
7 {loop="links"}
8 <h3><a href="{$value.url}">{$value.title}</a></h3>
9 <small>{if="!$hide_timestamps"}{function="strftime('%c', $value.timestamp)"} - {/if}{if="$value.tags"}{$value.tags}{/if}<br>
10 {$value.url}</small><br>
11 {if="$value.thumbnail"}{$value.thumbnail}{/if}<br>
12 {if="$value.description"}{$value.formatedDescription}{/if}
13 <br><br><hr>
14 {/loop}
15 ]]></description>
16</item>
diff --git a/tpl/default/export.bookmarks.html b/tpl/default/export.bookmarks.html
new file mode 100644
index 00000000..da733257
--- /dev/null
+++ b/tpl/default/export.bookmarks.html
@@ -0,0 +1,10 @@
1<!DOCTYPE NETSCAPE-Bookmark-file-1>
2<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
3<!-- This is an automatically generated file.
4 It will be read and overwritten.
5 Do Not Edit! -->{ignore}The RainTPL loop is formatted to avoid generating extra newlines{/ignore}
6<TITLE>{$pagetitle}</TITLE>
7<H1>Shaarli export of {$selection} bookmarks on {$date}</H1>
8<DL><p>{loop="links"}
9<DT><A HREF="{$value.url}" ADD_DATE="{$value.timestamp}" PRIVATE="{$value.private}" TAGS="{$value.taglist}">{$value.title}</A>{if="$value.description"}{$eol}<DD>{$value.description}{/if}{/loop}
10</DL><p>
diff --git a/tpl/default/img/logo.png b/tpl/default/img/logo.png
new file mode 100644
index 00000000..ef0e09ac
--- /dev/null
+++ b/tpl/default/img/logo.png
Binary files differ