Not being a coder, I’m struggling with parsing an xml feed of cpc ads that comes from a keyword query.
Here’s the query string to send keyword requests to xml.namimedia.com from.
domain/cgi-bin/feed?par=2668&query=<query>&count=<numResults>&start=<resultIndex>&useragent=<XXXX>&ip=<ipAddr>
To look at the return, I replace the variables with hard coded data and send in a browser bar this for the keyword college:
domain/cgi-bin/feed?par=2668&query=college&count=3&start=1&useragent=Mozilla/4.0%20(compatible;%20MSIE%207.0;%20Windows%20NT%206.0)&ip=71.198.218.208
And I get this returned:
<NamiFeed>
-<results>
<count>1</count>
-<listing>
<cpc>0.0015</cpc>
-<description>
Looking for college? Find exactly what you want today.
</description>
<displayurl>ebay.com</displayurl>
<rank>1</rank>
<title>College</title>
-<url>
http: // ebay.com
</url>
</listing>
<query>college</query>
<start>1</start>
</results>
</NamiFeed>
So my question is how can I have this display properly either from a search box on my page or from a hard coded query sent when the page forms? :jail: .