Ticket #723 (new enhancement)

Opened 7 years ago

Last modified 6 years ago

search term highlighting

Reported by: kjdon Owned by: nobody
Priority: moderate Milestone: 2.87 Release
Component: Greenstone2 Runtime Severity: enhancement
Keywords: Cc:

Description

In some cases, people want to create links in their document text pages. Eg display all the subjects, each one linking to a search on that subject.

If the user has reached the document through a search on subjects, and search term highlighting is on, then the subject ends up getting span tags around it, which screws up the links.

A suggestion was to not do highlighting on cgisafe metadata.

The current code expands the format statement out to text, then does highlighting on it. No way of knowing which bits were cgisafed.

Can we make this better? Maybe highlighting could be done when each individual element is retrieved, eg when get [Text] or [dc.Subject], then can not do it for cgisafe ones.

Change History

Changed 6 years ago by sjm84

  • milestone changed from 2.85 Release to 2.86 Release
Note: See TracTickets for help on using tickets.