From 21af53f7958635306a16e57b96fb1c13caa6aea4 Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Fri, 3 Jun 2022 01:19:28 +0200 Subject: [PATCH 1/2] Export: set a bookmark's LAST_MODIFIED attribute to its update timestamp Signed-off-by: VirtualTam --- tpl/default/export.bookmarks.html | 2 +- tpl/vintage/export.bookmarks.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tpl/default/export.bookmarks.html b/tpl/default/export.bookmarks.html index da733257..eb7ea7fa 100644 --- a/tpl/default/export.bookmarks.html +++ b/tpl/default/export.bookmarks.html @@ -6,5 +6,5 @@ {$pagetitle}

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

{loop="links"} -

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

diff --git a/tpl/vintage/export.bookmarks.html b/tpl/vintage/export.bookmarks.html index 127a5c20..8596f403 100644 --- a/tpl/vintage/export.bookmarks.html +++ b/tpl/vintage/export.bookmarks.html @@ -6,5 +6,5 @@ {$pagetitle}

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

{loop="$links"} -

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

From 3813b39a4ca13228659ee6027033660d6d9e44ac Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Fri, 3 Jun 2022 01:34:54 +0200 Subject: [PATCH 2/2] Export: set a bookmark's PRIVATE attribute using an integer value Signed-off-by: VirtualTam --- tpl/default/export.bookmarks.html | 4 ++-- tpl/vintage/export.bookmarks.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tpl/default/export.bookmarks.html b/tpl/default/export.bookmarks.html index eb7ea7fa..d4721816 100644 --- a/tpl/default/export.bookmarks.html +++ b/tpl/default/export.bookmarks.html @@ -5,6 +5,6 @@ Do Not Edit! -->{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} +

{loop="links"}{$private=intval($value.private)} +

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

diff --git a/tpl/vintage/export.bookmarks.html b/tpl/vintage/export.bookmarks.html index 8596f403..d4721816 100644 --- a/tpl/vintage/export.bookmarks.html +++ b/tpl/vintage/export.bookmarks.html @@ -5,6 +5,6 @@ Do Not Edit! -->{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} +

{loop="links"}{$private=intval($value.private)} +

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