]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Automatically retrieve description for new bookmarks 1313/head
authorArthurHoaro <arthur@hoa.ro>
Sat, 8 Jun 2019 11:59:19 +0000 (13:59 +0200)
committerArthurHoaro <arthur@hoa.ro>
Sat, 6 Jul 2019 10:21:52 +0000 (12:21 +0200)
commit6a4872520cbbc012b5a8358cd50c78844afe8d07
treebf7ce75b0c93a95d8e7a805b1ebfbe8d90a9565a
parent5d8a958d5d139337546bb3f4091a6ef7592ea752
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
application/bookmark/LinkUtils.php
application/config/ConfigManager.php
doc/md/Shaarli-configuration.md
inc/languages/fr/LC_MESSAGES/shaarli.po
index.php
tests/bookmark/LinkUtilsTest.php
tpl/default/configure.html
tpl/vintage/configure.html