Warning: Constant ABSPATH already defined in /home/heiserfa/public_html/happenings/wp-config.php on line 27

Warning: Cannot modify header information - headers already sent by (output started at /home/heiserfa/public_html/happenings/wp-config.php:27) in /home/heiserfa/public_html/happenings/wp-includes/feed-rss2.php on line 8
Bing – Heiserfamily Happenings http://www.heiserfamily.com/happenings Keep up with what's going on with the Heiser family Tue, 23 Aug 2011 20:13:12 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.5 Bing Search http://www.heiserfamily.com/happenings/?p=298 http://www.heiserfamily.com/happenings/?p=298#respond Tue, 23 Aug 2011 19:45:57 +0000 http://www.heiserfamily.com/happenings/?p=298 Warning: Undefined variable $post in /home/heiserfa/public_html/happenings/wp-content/plugins/mp-share-center/mp-share-center.php on line 419

Warning: Attempt to read property "ID" on null in /home/heiserfa/public_html/happenings/wp-content/plugins/mp-share-center/mp-share-center.php on line 419

Warning: Undefined variable $post in /home/heiserfa/public_html/happenings/wp-content/plugins/mp-share-center/mp-share-center.php on line 421

Warning: Attempt to read property "ID" on null in /home/heiserfa/public_html/happenings/wp-content/plugins/mp-share-center/mp-share-center.php on line 421
Friends, I am by no stretch what one would call a developer, but lack of resources often requires me to dive into code on my own. I only needed to add a simple web search box to my SharePoint landing … Continue reading ]]>

Warning: Undefined variable $post in /home/heiserfa/public_html/happenings/wp-content/plugins/mp-share-center/mp-share-center.php on line 419

Warning: Attempt to read property "ID" on null in /home/heiserfa/public_html/happenings/wp-content/plugins/mp-share-center/mp-share-center.php on line 419

Warning: Undefined variable $post in /home/heiserfa/public_html/happenings/wp-content/plugins/mp-share-center/mp-share-center.php on line 421

Warning: Attempt to read property "ID" on null in /home/heiserfa/public_html/happenings/wp-content/plugins/mp-share-center/mp-share-center.php on line 421
Friends, I am by no stretch what one would call a developer, but lack of resources often requires me to dive into code on my own. I only needed to add a simple web search box to my SharePoint landing page, but I couldn’t find a simple way. Google has a simple method, but I wanted to use Bing as I find their search results often more accurate. Plus, if I’m already in the MS stack I may as well go ahead and use their brand.

Unfortunately, Microsoft stopped supporting their method of simply adding a search box in favor of the more robust Bing API. More power to them, but as I stated before – I am not a developer. APIs and API documentation are useless to me unless they come with exact code samples. I could not find a one…lot’s of code, but none of it complete. After doing some research and scrounging I ended up with this:


<FORM method=GET action="http://www.bing.com/search" target="_blank">
<A HREF="http://www.bing.com/" target="_blank">
<IMG SRC="/PublishingImages/img_windowsBingLogo.png" border="0">
</A>
<INPUT TYPE=text name=search_phrase size=42 maxlength=255 value="">
<INPUT type="image" SRC="http://www.bing.com/siteowner/s/siteowner/Spyglass_20x20.gif" alt="Search Bing!">
</FORM>

Make an html out of it and render it in a Page Viewer web part. It works like a champ for me.

]]>
http://www.heiserfamily.com/happenings/?feed=rss2&p=298 0