Good time of day. How can you organize a search on another site on your site, or just to put something on your site into a search and when you click on "search", the information entered in Google displays (for example). Are there any ways to implement such an idea?

    2 answers 2

    You need to copy the form from another site, put it on your site and correct the action.

    <form action='' method='get'> <input type='text' name='q'> <input type='submit' name='btnK'> </form> 
    • @ atnartur, And you can not show the example of Google? - jkwe45
    • @ jkwe45 corrected the answer. I had to pull through Dragonfly. - atnartur
    • google provides a search form for your site and displays the results on your site, and, if I'm not mistaken, the search can be conducted on your site or on the Internet. In short, why would anyone give their traffic - took the form of Google, made a page to display the result and all users remain on your site - zippp

    For a full search on another site requires:

    • Write a search robot
    • Index another site
    • Search by indexing results
    • one
      And just rss from another site and put it in your base? :) - atnartur
    • one
      No, I just need a redirect - jkwe45