Login   Register  
PHP Classes
elePHPant
Icontem

Thesaurus tooltip: Lookup text and show popup with the text meaning

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum (26)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-07-07 (6 years ago) RSS 2.0 feedStarStarStarStar 72%Total: 5,034 All time: 477 This week: 1,556Down
Version License PHP version Categories  
thesaurus 1.1GNU General Public Lice...4.1.0Text processing, AJAX
Description Author  

This class can be used in conjunction with a mouse pointer. The user hovers the cursor over an item, without clicking it, and a small box appears with supplementary information regarding the item being hovered over.

It must be used in conjunction with a few Javascript libraries that submit the page body HTML content to the server via AJAX.

On the server, the class parses the HTML content to lookup for known text expressions stored in a dictionary file in CSV format.

The text expressions found in the dictionary are replaced by links that make a popup window appear with the expressions meaning when the user drags the mouse over the links.

The processed HTML content is returned to the browser as part of the AJAX request response.

Innovation Award  
PHP Programming Innovation award nominee
November 2006
Number 6


Prize: One subscription to the PHP Magazine
The Web site advertising business became much more profitable to Web site owners, and more effective for advertisers, when Web advertising agencies invested in contextual advertising techniques, like those used by AdSense and IntelliTXT.

Instead of display almost randomly chosen ads, context advertising techniques show ads that are picked automatically by the ad servers to match the topics of the content displayed in each page.

This package implements a solution that can be used to display contextual advertising using PHP.

It can scan the text in the current page and submit it to the server via AJAX. In response to the AJAX request, contextual advertising may be displayed in a pop-up window.

Manuel Lemos
Picture of Dmitry Sheiko
Name: Dmitry Sheiko <contact>
Classes: 9 packages by
Country: Belarus Belarus
Age: 39
All time rank: 681 in Belarus Belarus
Week rank: 147 Down1 in Belarus Belarus Equal
Innovation award
Innovation award
Nominee: 5x

Winner: 1x

Screenshots  
  • thesaurus.gif
Videos  
  Files folder image Files  
File Role Description
Image file bubble.gif Icon background image
Plain text file connection-min.js Data YUI Ajax Connector Library (http://developer.yahoo.com/yui/ )
Plain text file controller.php Class thesaurus controller
Plain text file db_controller.php Class Cotroller to get data from DB
HTML file index.html Data Sample
Plain text file readme.txt Doc. readme
Plain text file sample.csv Data Sample of thesaurus dictionary (VDB)
Plain text file thesaurus.js Data thesaurus library
Plain text file thesaurus.sql Output Sample dump of DB
Plain text file thesaurus_bubble.css Example Design theme
Plain text file thesaurus_default.css Example Design theme
Plain text file thesaurus_fancy.css Example Design theme
Plain text file yahoo.js Data YUI Ajax Connector Library (http://developer.yahoo.com/yui/ )

 Version Control Unique User Downloads Download Rankings  
 0%Total:5,034All time:477
 This week:0This week:1,556Down
User Ratings User Comments (1)  
 All time
Utility:87%StarStarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:73%StarStarStarStar
Examples:79%StarStarStarStar
Tests:-
Videos:56%StarStarStar
Overall:72%StarStarStarStar
Rank:125
 
bad support
3 years ago (Alexey Belov)
30%StarStar