diff options
author | ArthurHoaro <arthur@hoa.ro> | 2019-06-08 13:59:19 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2019-07-06 12:21:52 +0200 |
commit | 6a4872520cbbc012b5a8358cd50c78844afe8d07 (patch) | |
tree | bf7ce75b0c93a95d8e7a805b1ebfbe8d90a9565a /tpl/vintage/configure.html | |
parent | 5d8a958d5d139337546bb3f4091a6ef7592ea752 (diff) | |
download | Shaarli-6a4872520cbbc012b5a8358cd50c78844afe8d07.tar.gz Shaarli-6a4872520cbbc012b5a8358cd50c78844afe8d07.tar.zst Shaarli-6a4872520cbbc012b5a8358cd50c78844afe8d07.zip |
Automatically retrieve description for new bookmarks
If the option is enabled, it will try to find a meta tag containing
the page description and keywords, just like we do for the page title.
It will either look for regular meta tag or OpenGraph ones.
The option is disabled by default.
Note that keywords meta tags is mostly not used.
In `configure` template, the variable associated with this setting
is `$retrieve_description`.
Fixes #1302
Diffstat (limited to 'tpl/vintage/configure.html')
-rw-r--r-- | tpl/vintage/configure.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tpl/vintage/configure.html b/tpl/vintage/configure.html index f1892fa1..160286a5 100644 --- a/tpl/vintage/configure.html +++ b/tpl/vintage/configure.html | |||
@@ -107,6 +107,14 @@ | |||
107 | </td> | 107 | </td> |
108 | </tr> | 108 | </tr> |
109 | <tr> | 109 | <tr> |
110 | <td valign="top"><b>Automatically retrieve description for new bookmarks:</b></td> | ||
111 | <td> | ||
112 | <input type="checkbox" name="retrieveDescription" id="retrieveDescription" | ||
113 | {if="$retrieve_description"}checked{/if}/> | ||
114 | <label for="retrieveDescription"> Shaarli will try to retrieve the description from meta HTML headers</label> | ||
115 | </td> | ||
116 | </tr> | ||
117 | <tr> | ||
110 | <td valign="top"><b>Enable REST API</b></td> | 118 | <td valign="top"><b>Enable REST API</b></td> |
111 | <td> | 119 | <td> |
112 | <input type="checkbox" name="enableApi" id="enableApi" | 120 | <input type="checkbox" name="enableApi" id="enableApi" |