This project is read-only.

Bing API PHP 1.1

Rating: No reviews yet
Downloads: 4746
Released: Jun 5, 2009
Updated: Jun 7, 2009 by allenskd
Dev status: Beta Help Icon

Recommended Download

Source Code bingapiphp-1.1
source code, 5K, uploaded Jun 6, 2009 - 3684 downloads

Other Available Downloads

Source Code bingapiphp-samplecode-1.0
source code, 15K, uploaded Jun 6, 2009 - 1062 downloads

Release Notes

I’m happy to announce release of Bing API PHP. The first version really helped a lot didn’t it? This version helps you even more, now introducing setHighlightFormat($start, $end, $sources). If EnableHighlighting is enabled on your query and you use this function it will automatically format the highlighted word with your desired html element (e.g.: div, span, p). Here’s the list of changes

- Removed urlencode from the library, you must use urlencode when querying since it won’t do it automatically

- Removed setProxy and added something more flexible, that is setCurlArray(array()), check the php.net manual on what to put in the array.

- Added setHighlightFormat() as I explained before this helpful function will aid you with bing.com’s highlight unicode chars (UE000 and UE001)

- Another addition is getRequestedQueryURL. This is something I needed most when I was querying the server, this will return you something similar to this: http://api.search.live.net/xml.aspx?AppId=YOUR APP ID&Query=da&Sources=Image&Image.Count=20&Image.Offset=0&Image.Filters=Size:Small&Adult=Moderate&Options=EnableHighlighting

- Now another function is resetHighlight($source), bing.com returns your search with extra characters in the title, this will help you remove them. Optional function.

Reviews for this release

No reviews yet for this release.