add google search box to my site - search-box

I've been researching how to add a Google search box to my site. Basically, the text box and a 'Go' button, which will search the web - except from my site. I used to see these every where.
Come to think of it now though I haven't seen it in a long time. And all the stuff I've come across in research is from early 2010 at the latest. Some searches say Google deprecated the API for what I'm looking for in 2009?
Is it still possible to get code for putting in a Google search on your page? Do you know where? Bing or Yahoo would do, too. Thanks,
Chris.

You should look at Google Custom Search Engines - http://www.google.com/cse/all

Try the google jsapi, look at the Hello World - Google Web Search API Sample and adjust to your layout,
https://developers.google.com/web-search/docs/

Related

Can I track if someone clicked a link on my Twitter post

I have a private business Twitter account and I would like to know when someone clicks any link inside one of my posts. This solution cannot assume that we know the form of the link being posted.
For example a twitter post like this:
Have you guys heard of this amazing site called google?
I would like to see how many people clicked on this google.com link. I don't need to know any specific information about who they are, just if it was clicked or not.
Ideally I would want this from the API but crawlers and plugins are also possible. I would like to avoid using a paid tool but those would be acceptable.
I think you have multiple choices:
Use google firebase or google analytics
Create your own short link services by python or any other programming languages.
Just search in the google and look for short link generators which gives appropriate service.
Hi using the twitter api you should be able to understand how many clicks a link has.
https://developer.twitter.com/en/docs/twitter-api/metrics
But to have all this info automated you might need to use a third-party tool.
This should be the most straight forward solution.

Google SEO Using Search Console

I am writing my personal website but it is not showing on the search engine so that I search from different forums. After searching a lot from the internet I read this google search console. So I register my site then successfully after 8 hours my site is showing in google using "site:personalwebsite.xyz" but after 24 hours my site is missing as in 0 result return. Guy's I am only a novice programmer so please help me how to show my site in google. Thank you in advance.
Google usually shows only the best and the most used contents. Yours is not maybe matching with keywords or there is sites more succesfully than yours.
Google may also take your site as "spam site" and thats reason why it wont show

Google autocomplete API replacement?

I am using this API for the keyword autocomplete
http://suggestqueries.google.com/complete/search?q=xxx
This api is stopped working since August 10th, 2015.
Google suggested us to use CSE instead but CSE seems for us to search the web content, not for auto suggestion.
What service / api should I use if I want to re-enable my "autocomplete" in search box?
Bit of a late reply, but I find it funny that firefox is actually using https://www.google.com/complete/search?client=firefox&q=somequery for the search autosuggest on the about:newtab page. Though they maybe using a specially crafted header or something to make that work. You can check the requests with the browsertoolbox (regular inspector or firebug won't work).
Google CSE does actually have an autocomplete function, but apparently that only works if you set CSE to show results of sites you specified, not for showing results of the entire internet.
https://support.google.com/customsearch/answer/2631081
Currently I'm seeing it works for neither, even after waiting a couple of days for google to create an index for the autosuggest.
If in the meantime you have found a better solution please let me know!

Displaying prominent pages of my website in Google Search Result

I was wondering how I could display the prominent pages (such as About, Contact Us, Pricing, etc) of my website when it is searched for in Google. Currently Google search result only shows the homepage of my website. I want it to display prominent pages underneath as well, something like this:
I would really appreciate any help. Thanks guys!
These are called Google Sitelinks. You can find Google's explanation here. https://support.google.com/webmasters/answer/47334?hl=en
The process is automated, you cannot add sitelinks, but you can remove ones you think shouldn't be there when you see them, through Google Webmaster Tools.

How do I make a VB.NET application that can rip websites from Google?

I'm trying to make a VB.NET application that can take some text in (via Text Box) and then search that text in Google, and take the resulting URLs from Google.
So my questions are:
How do I make it search Google?
How do I make it take the found URLs from Google?
And any ideas represented through code would be appreciated, I know I some how have to rip the URLs from google, but how?
It sounds like you want to use the Google search engine but have everything located inside your application. In this case, Google provides an API that will allow you to do this without doing web scraping or other hacks. You can read more about it and see examples (in .NET but usually C#) here:
http://code.google.com/p/google-api-for-dotnet/
Here is an example of how to do this in your code:
http://www.c-sharpcorner.com/UploadFile/mem_1910/1st08162006033511AM/1st.aspx