• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

writing repository adapters.

 
Ranch Hand
Posts: 278
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
author
Posts: 23949
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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

 
Can you really tell me that we aren't dealing with suspicious baked goods? And then there is this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic