Solved

Search engine API (php)

Posted on 2014-01-08
3
508 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 110

Assisted Solution

by:Ray Paseur
Ray Paseur earned 300 total points
ID: 39765488
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
ID: 39767437
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 110

Accepted Solution

by:
Ray Paseur earned 300 total points
ID: 39768475
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

762 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