I am not getting any error msg... however I am just not getting any
response.
I think the issue is on the get getElementsByTagName("entry") but not
sure.
Any suggestion? as for the print-output here is a link:
http://www.google.com/base/feeds/snippets?bq=W208
Thanks in advance for any help
On Apr 13, 7:06 pm, Tom Wilson <[email protected]> wrote:
> What errors messages are you getting ? Have you tried doing a full
> print to screen of the xml reponse you get ?
>
> On Apr 13, 10:27 pm, LearningGoogleBase <[email protected]> wrote:
>
> > Been trying to get this code working without any luck!
> > I am trying to output the <name>, <g:price> for the returning xml
> > file.
>
> > Any suggestions?
>
> > <%
> > Dim XMLHTTP, PostXML, ResponseXML, xmlDoc, objLst, objNode,i, x
>
> > Set XMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
>
> > XMLHTTP.Open "GET","http://www.google.com/base/feeds/snippets?
> > bq=W208",false
>
> > XMLHTTP.SetRequestHeader "Content-type", "text/xml"
> > XMLHTTP.Send ""
>
> > ResponseXML = XMLHTTP.ResponseText
> > Set xmlDoc = Server.CreateObject("Microsoft.XMLDOM")
> > xmlDoc.async = true
> > xmlDoc.LoadXml(ResponseXML)
>
> > Set objLst = xmlDoc.getElementsByTagName("entry")
> > for i = 0 to objLst.Length - 1
> > response.Write "name = " & objLst.item(i).getAttribute
> > ("name") & "<br/>"
> > response.Write "price = " & objLst.item(i).getAttribute
> > ("price") & "<br/>"
> > next
>
> > response.Write "complete " & time()
> > %>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Base Data API" 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-Base-data-API?hl=en
-~----------~----~----~----~------~----~------~--~---