Hello,
Below is the code that I am using to do my searches on my site but I
am not sure where I need to add the authentication string. I would
really appreciate any help.
====
//## bgn Search for GB Display
---------------------------------------------
if ($iRowStart_GB>0) {
$sXmlUrl =
'http://www.google.com/base/feeds/snippets/-/housing?'
.'bq='.
$sLoc.$sPriceRange.$sBathroom.$sBedroom
#.urlencode('[image_link]')
.$propertyTypeStr
.$listingTypeStr
.$price
.'&max-results='.$iRowLimit_GB
.'&start-index='.$iRowStart_GB.$sFilterUrl.$sOrder;
#.'&crowdby=location(text):1';
#&content=geocodes
if ($_GET['show_xml_url']==1) {
echo "<hr><a href='".$sXmlUrl."'
target=\"_blank\">Google Base
Snippet Search</a><hr>";
}
$sXmlOut = file_get_contents($sXmlUrl);
//echo '<pre>'.print_r($sXmlOut,1).'</pre>';
$oXml = new XML2Array();
$aXml = $oXml->ParseXML($sXmlOut);
//$iTotalRows_GB = $aXml[0]["children"][10]["tagData"];
$iTotalRows_GB = $TOTALRESULTS = AssignProperty($aXml[0]
["children"], "OPENSEARCH:TOTALRESULTS");
}
//## end Search for GB Display
---------------------------------------------
===
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Data Protocol" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---