wood burning stoves 2.0*
The moose likes Java in General and the fly likes writing repository adapters. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "writing repository adapters." Watch "writing repository adapters." New topic
Author

writing repository adapters.

Lucky J Verma
Ranch Hand

Joined: Apr 11, 2007
Posts: 278
Hi all ,


I need to write a repository adapter for a search engine website.
So that my website can talk to that repository(like CVS or any open source) and pick and index information from there.But this is the beginning and i am
looking over internet about the concepts and how can i start ? Does anyone have any clue on this?
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18709
    
  40

Lucky J Verma wrote:
I need to write a repository adapter for a search engine website.
So that my website can talk to that repository(like CVS or any open source) and pick and index information from there.But this is the beginning and i am
looking over internet about the concepts and how can i start ? Does anyone have any clue on this?


I don't think that there is a standard API to get to search data -- like Google or Yahoo or any other site. There may be one for the site, so maybe you can go through support for the site to see if there is one specific for it. Of course, assuming that it even exist, then you have to code specific to each search engine.

As an alternative, you could scrape the sites themselves. Use the URL class, or the http client clients, and get the data directly from the search page.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: writing repository adapters.