Login   Register  
PHP Classes
elePHPant
Icontem

Safe keyword highlight: Text keyword highlight within HTML tags

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2003-10-17 (11 years ago) RSS 2.0 feedStarStarStar 46%Total: 2,671 All time: 1,317 This week: 1,530Down
Version License Categories  
safehighlight 1.0GNU General Public Lice...HTML, Text processing
Description Author  

This class highlight text that matches a given search string (keyword) in HTML based documents, without affecting any HTML tags.

This may be useful for processing text and highlight against a glossary of terms for example, or page excerpts returned from search results (like Google).

Picture of tony
Name: tony <contact>
Classes: 2 packages by
Country: Bulgaria Bulgaria
Age: 34
All time rank: 6684 in Bulgaria Bulgaria
Week rank: 1874 Down14 in Bulgaria Bulgaria Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file demo.php Example Example that shows an HTML text with and without highlighting
Plain text file highlighter.class.php Class advanced highlighter class

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,671All time:1,317
 This week:0This week:1,530Down
 User Ratings  
 
 All time
Utility:65%StarStarStarStar
Consistency:62%StarStarStarStar
Documentation:-
Examples:72%StarStarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:1870