aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/bookmark/LinkUtils.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1540 from ArthurHoaro/fix/metadata-regexesArthurHoaro2020-10-131-2/+4
|\ | | | | Improve regex to extract HTML metadata (title, description, etc.)
| * Improve regex to extract HTML metadata (title, description, etc.)ArthurHoaro2020-09-031-2/+4
| | | | | | | | | | | | Also added a bunch of tests to cover more use cases. Fixes #1375
* | Fix warning if the encoding retrieved from external headers is invalidArthurHoaro2020-09-301-1/+1
|/ | | | Also fixed the regex to support this failing header: charset="utf-8"\r\n"
* Handle shaare creation/edition/deletion through Slim controllersArthurHoaro2020-07-231-106/+0
|
* Slim router: handle add tag routeArthurHoaro2020-07-231-1/+1
|
* Introduce Bookmark object and Service layer to retrieve themArthurHoaro2020-01-171-23/+4
| | | | See https://github.com/shaarli/Shaarli/issues/1307 for details
* Automatically retrieve description for new bookmarksArthurHoaro2019-07-061-4/+81
| | | | | | | | | | | | | | | 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
* Merge pull request #1271 from ArthurHoaro/hotfix/thumb-note-retrieveArthurHoaro2019-03-021-0/+13
|\ | | | | Do not try to retrieve thumbnails for internal link
| * Do not try to retrieve thumbnails for internal linkArthurHoaro2019-02-241-0/+13
| | | | | | | | Also adds a helper function to determine if a link is a note and apply it across multiple files.
* | Remove the redirector settingArthurHoaro2019-02-091-20/+4
|/ | | | Fixes #1239
* namespacing: move LinkUtils along \Shaarli\Bookmark classesVirtualTam2019-01-121-0/+222
Signed-off-by: VirtualTam <virtualtam@flibidi.net>