MyShaarli/tpl/default
ArthurHoaro 4e3875c0ce Feature: highlight fulltext search results
How it works:

  1. when a fulltext search is made, Shaarli looks for the first
occurence position of every term matching the search. No change here,
but we store these positions in an array, in Bookmark's additionalContent.
  2. when formatting bookmarks (through BookmarkFormatter
implementation):
    1. first we insert specific tokens at every search result positions
    2. we format the content (escape HTML, apply markdown, etc.)
    3. as a last step, we replace our token with displayable span
elements

Cons: this tightens coupling between search filters and formatters
Pros: it was absolutely necessary not to perform the
search twice. this solution has close to no impact on performances.

Fixes #205
2020-10-16 20:31:12 +02:00
..
404.html Explicitly define base and asset path in templates 2020-07-23 21:19:21 +02:00
addlink.html Use multi-level routes for existing controllers instead of 1 level everywhere 2020-07-23 21:19:21 +02:00
changepassword.html Use multi-level routes for existing controllers instead of 1 level everywhere 2020-07-23 21:19:21 +02:00
changetag.html Improve Manage tags page 2020-10-16 20:03:25 +02:00
configure.html Process thumbnail synchronize page through Slim controllers 2020-07-23 21:19:21 +02:00
daily.html Support using Shaarli without URL rewriting 2020-10-16 12:47:11 +02:00
dailyrss.html Process Daily RSS feed through Slim controller 2020-07-23 21:19:21 +02:00
editlink.html Fix bookmarklet with new routes 2020-07-23 21:19:21 +02:00
error.html Process Shaarli install through Slim controller 2020-07-23 21:19:21 +02:00
export.bookmarks.html Introduce the new default Shaarli template 2017-02-27 20:01:54 +01:00
export.html Process bookmark exports through Slim controllers 2020-07-23 21:19:21 +02:00
feed.atom.html Process OpenSearch controller through Slim 2020-07-23 21:19:21 +02:00
feed.rss.html Process OpenSearch controller through Slim 2020-07-23 21:19:21 +02:00
import.html Process bookmarks import through Slim controller 2020-07-23 21:19:21 +02:00
includes.html Support using Shaarli without URL rewriting 2020-10-16 12:47:11 +02:00
install.html Process Shaarli install through Slim controller 2020-07-23 21:19:21 +02:00
linklist.html Feature: highlight fulltext search results 2020-10-16 20:31:12 +02:00
linklist.paging.html Merge pull request #1526 from kcaran/links_per_page 2020-09-03 08:45:48 +02:00
loginform.html Render login page through Slim controller 2020-01-26 11:34:14 +01:00
opensearch.html Use multi-level routes for existing controllers instead of 1 level everywhere 2020-07-23 21:19:21 +02:00
page.footer.html Improve Manage tags page 2020-10-16 20:03:25 +02:00
page.header.html Move all admin controller into a dedicated group 2020-08-13 11:08:13 +02:00
picwall.html Support using Shaarli without URL rewriting 2020-10-16 12:47:11 +02:00
pluginsadmin.html Support using Shaarli without URL rewriting 2020-10-16 12:47:11 +02:00
tag.cloud.html Security: fix multiple XSS vulnerabilities + fix search tags with special chars 2020-10-06 17:30:18 +02:00
tag.list.html Security: fix multiple XSS vulnerabilities + fix search tags with special chars 2020-10-06 17:30:18 +02:00
tag.sort.html Issue #1437 - Make tag cloud/list views buttons more obvious 2020-10-02 14:06:02 -04:00
thumbnails.html Explicitly define base and asset path in templates 2020-07-23 21:19:21 +02:00
tools.html Process thumbnail synchronize page through Slim controllers 2020-07-23 21:19:21 +02:00