|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Adding Google, Yahoo, etc. searches to your site
not an SEO question, but this forum is the most fitting.
Im looking for a way to add search features to a website via google, yahoo, etc. without having the user leave the website or opening a new browser window for example, go to www.cnn.com and use the search bar at the top of the page. the yahoo! results will be displayed on the cnn site. how is this done? can it be done for google and ask.com as well? |
|
#2
|
||||
|
||||
|
Google has an API that you can use to do similar, or you can just put a search box on your site (API is limited to 1000 searches per day).
http://www.google.com/apis/ http://www.google.com/faq_freewebsearch.html I couldn't find anything on ask or yahoo about adding search boxes to your site, but it shouldn't be hard to do.Then again if you want the search results in your template/on your site, then you need to so a screen scrape of the search engines.
__________________
Cooking Forums |
|
#3
|
||||
|
||||
|
Are you referring to users searching your own site, or searching the web?
If you are looking for a service that will let users search your own site, then look at ht.dig (don't remember the spelling). Also, if your info is storing in a mysql database, then mysql has search features built in.
__________________
. . . What is Firefox? . . . . . . What is Linux? . . . . . . . . . . . What is Love? |
|
#4
|
|||
|
|||
|
searching the web
look to the cnn example i gave. they allow you to search the web on their site using yahoo...but u never leave their site. |
|
#5
|
||||
|
||||
|
I'm guessing yahoo only provides this service for large sites like cnn, who probably pay them a lot of money for the privledge.
|
|
#6
|
|||
|
|||
|
This is the link at Yahoo to help with this...
http://search2.cc.dcn.yahoo.com/cct_search.php?ui_mode=answer&prior_transaction_id=103508&action_code=5&highlight_info=16779552,12,23&turl=http%3A%2F%2Fhelp.yahoo.com%2Fhelp%2Fus%2Fysearch%2Fbasics%2Fbasics-13.html&answer_id=3566839 Quote:
|
|
#7
|
||||
|
||||
|
Even easier, here is the actual code.
Welcome to Dev Shed Daytek400, Please try to use url tags Makes pages easier to read and easier to use ![]()
__________________
Cheers, Jamie # mdb4u | mobile movie database | Please help to test and promote # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. ![]() __________________ |
|
#8
|
|||
|
|||
|
HI
None of the above links work Kelly |
|
#9
|
|||||
|
|||||
![]() They do from where I am sitting. The code that is included in the Yahoo page is as follows. As usual with most search box codes, you will have to modify it to make it compliant (deprecated code again )html4strict Code:
|
|
#10
|
|||
|
|||
|
Thanks
Is this better that the GOOGLE Api, and do they allow country specific searches. Kelly |
![]() |
| Viewing: Dev Shed Forums > Web Design > Search Engine Optimization > Adding Google, Yahoo, etc. searches to your site |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|