wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes HTML Search of web page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "HTML Search of web page" Watch "HTML Search of web page" New topic
Author

HTML Search of web page

Jehan Jaleel
Ranch Hand

Joined: Apr 30, 2002
Posts: 196
Hi all,
I would like to have add a search functionality to my site. It would allow users would enter a phrase and the entire web site's html would be searched to see if this phrase exists.

Does anyone know of any existing code or module that does this?


Thanks in advance for any help,
Jehan
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61310
    
  66

Have you checked out Apache Lucene?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42035
    
  64
When you say "HTML", do you actually mean static HTML files? if so, Apache Nutch might do the trick. If it's actually dynamic content (maybe from a DB or a CMS), then Lucene might be a good choice, or a native search (a SELECT in the case of a DB, or the CMS's built-in search API).


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTML Search of web page