From cd5327bee83f3e9467d786752bbd447963b941f7 Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Sun, 10 Apr 2016 17:34:07 +0200 Subject: Refactor Netscape bookmark exporting Relates to https://github.com/shaarli/netscape-bookmark-parser/issues/5 Fixes: - respect the Netscape bookmark format "specification" Modifications: - [application] introduce the NetscapeBookmarkUtils class - [template] export - improve formatting, rename export selection parameter - [template] export.bookmarks - template for Netscape exports - [tests] bookmark filtering, additional field generation Signed-off-by: VirtualTam --- tpl/export.bookmarks.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tpl/export.bookmarks.html (limited to 'tpl/export.bookmarks.html') diff --git a/tpl/export.bookmarks.html b/tpl/export.bookmarks.html new file mode 100644 index 00000000..da733257 --- /dev/null +++ b/tpl/export.bookmarks.html @@ -0,0 +1,10 @@ + + +{ignore}The RainTPL loop is formatted to avoid generating extra newlines{/ignore} +{$pagetitle} +

Shaarli export of {$selection} bookmarks on {$date}

+

{loop="links"} +

{$value.title}{if="$value.description"}{$eol}
{$value.description}{/if}{/loop} +

-- cgit v1.2.3