Solved

Search engine API (php)

Posted on 2014-01-08
3
499 Views
Last Modified: 2014-01-14
Hi E's, I want to collect links in my database, for any search I do in search engines.
In old times I use google with a regular expression and I get the results, but unfortunately
They codify the source code.
I want to know what is the best alternative, maybe a API, also in google, for collect links in a search.
besides google that more services are there?

The best regards, JC
0
Comment
Question by:Pedro Chagas
  • 2
3 Comments
 
LVL 108

Assisted Solution

by:Ray Paseur
Ray Paseur earned 300 total points
Comment Utility
Yes, Google found that people were doing Google searches, collecting the information by scraping the HTML response document, and storing the information.  This enabled people to use Google's information without presenting the advertisements that Google uses to earn its living.  So they fixed it.

You might want to look into the available Google APIs that return JSON or XML.  There may be costs associated with these.
https://developers.google.com/custom-search/
0
 
LVL 3

Author Comment

by:Pedro Chagas
Comment Utility
Hi Ray, I tried use google custom search, but have not found how to do a global search, just inside a given website search.
Do you have any idea, how I do a global search, or do you thing is better I open a new question?
A good tutorial help too.

The best regards, JC
0
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 300 total points
Comment Utility
I'm fairly sure you can search by topic, but the free global Google search API may be a thing of the past.  See https://developers.google.com/web-search/docs/ where it is deprecated, pointing us to custom search instead.

I've never tried it, but this looks like it might be promising:
http://blog.programmableweb.com/2012/03/21/duckduckgo-the-search-engine-youve-never-heard-of/

I've never tried this either, but I've used a lot of Yahoo services and they are mostly great.
http://developer.yahoo.com/boss/search/
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction Many web sites contain image galleries; a common design for these galleries includes a page with a collection of thumbnail images.  You can click on each of the thumbnail images to see the larger version of the image.  This is easily i…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now