Google Custom Search Engine
Is it possible to put the search bar on our blogs?
The code is like this:
<!– Google CSE Search Box Begins –>
<form id=”searchbox_000820qic1rwscu” action=”http://google.com/cse”>
<input type=”hidden” name=”cx” value=”000rwscu” />
<input name=”q” type=”text” size=”40″ />
<input type=”submit” name=”sa” value=”Search” />
<input type=”hidden” name=”cof” value=”FORID:0″ />
<!– Google CSE Search Box Ends –>
ok, but why can’t you make an ecception !!!^??!?
THIS IS AN ECCETIONAL THING for little blog !!!
They don’t make exceptions because if they did, you could put something really dangerous in your blog, something that would screw up even just the people who glanced at it.
A google search bar isn’t such a big deal, when you’ve already got a capable blog search box in your template. People already know how to find google if they need to search the web.
If this is some kind of “how do I make money from my blog” question, the short answer is that you don’t if you’re using free WordPress hosting at WordPress.com. If you want to put ads, etc on it you have to download the WordPress software and host it yourself.
I want to use it to search my current WordPress blog which I’m elated with but also the archives of my old Blogdrive blog (which I loathed) so that there’s sort of no break in service between the two. There’s plenty of still-relevant info left on that old blog. I think you’ll find this is adequate justification for something that WordPress alone will not allow me to do. (and yes, I realize beggars should not be choosers– but I have had reason to expect a lot out of WordPress).
<form id="searchbox_015236274181698984450:frdj1vzvtfk" action="http://www.google.com/cse">
<input type="hidden" name="cx" value="015236274181698984450:frdj1vzvtfk" />
<td><input name="q" type="text" size="40" /></td>
<td><input type="submit" name="sa" value="Search" /></td>
<td colspan="2"><span style="font-family:Arial, Helvetica, sans-serif; font-size:83%">Google Custom Search</span></td>
<input type="hidden" name="cof" value="FORID:1" />
Will you send a feedback to staff on this please with a link back to this thread? Tx
It’s still a form. I’m sure you don’t want to risk the security of everybody’s blog here, right?
tho wordpress doesn’t seem to care about the form tag. are there some forms it allows?
<form id=”searchbox_015236274181698984450:frdj1vzvtfk” action=”http://www.google.com/cse”>
<input type=”hidden” name=”cx” value=”015236274181698984450:frdj1vzvtfk” />
We don’t allow those tags / actions. This is for security reasons.
how about you make us a widget then? :)
(1) Please send in a feedback and the staff and developers will consider your request.
(2) I don’t understand why you don’t either import your all blog contents from the other blog and delete what’s no longer relevant or alternatively copy and paste what’s relevant into your new blog. Many of us have done this.
Agreed. Best bet would be to request this as a widget via feedback.
You get extra points for writing the widget and submitting it. :)
but it does not work on my blog …how can i ad google search box.????
Um, maybe reading the thread that you just posted in will give you an answer.
Oh, by the way. Thanks for giving me a link to your spblog. It’s been reported. :)
Ya know it’s funny DrMike, I reported it too. Just before I read your comment…
I would also like to use Google custom search on my WordPress.com blog. I know I can’t, for the reasons given above.
My workaround is to link to my Google custom search page. You can see this at:
That’s a smart workaround.
Agreed and I should have suggested it. It’s not a 100% though to what the original poster wanted but maybe it’ll work for the poster.
And the spblog is gone. #7 for the day for me. :)
The topic ‘Google Custom Search Engine’ is closed to new replies.