English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I would like to include some Answers answers to my homepage (using php). http://answers.yahooapis.com/AnswersService/V1/questionSearch?appid=YahooDemo&query=cars

How can I include this XML? I found Magpie RSS, but this seems to work just with RSS feeds. Is there any script where I put the URL of the feed in, definey how each value should look like and push the page to my server.

2006-09-13 05:03:18 · 6 answers · asked by Luke Skywalker 1 in Computers & Internet Programming & Design

I know that there is also the RSS feed, but this doesn't have the same opportunities like the XML Feed (eg. Avatars, Categories, etc.)

2006-09-13 05:42:07 · update #1

6 answers

I have not tried this, but today morning i found in the help section of yahoo 360 on how to add feeds for Q&A.Try that..

Go to ur profile....see the right hand side , you will find how to add BADGES, when u click this link , you will be directed to a page where u will find ur ques as a sample view- if u had posted any and a HTML code, which u will be allowed to cut and paste in your home page....

2006-09-13 05:06:22 · answer #1 · answered by Pebble 2 · 0 1

Extensible Markup Language (XML) is a popular-objective specification for starting to be custom markup languages.[a million] that's categorized as an extensible language, via fact it facilitates the person to outline the mark-up factors. XML's objective is to assist advice structures in sharing based records, exceedingly by way of the internet, [2] to encode records, and to serialize records; interior the final context, it compares with textual content textile-based serialization languages which incorporate JSON and YAML. I merely googled "what's a XML feed" - you will hit upon greater solutions by ability of doing the comparable ingredient....

2016-10-14 23:14:45 · answer #2 · answered by mctaggart 4 · 0 0

RSS is basically XML !!

You are using the wrong FEED, here is the correct method/feed (See the last variable &output=rss, that is what u were missing)

http://answers.yahooapis.com/AnswersService/V1/questionSearch?appid=YahooDemo&query=cars&output=rss

Info - http://developer.yahoo.com/answers/

DO REMEBER TO CHOOSE OUTPUT TYPE AS RSS

You can try http://www.rss2html.com/ its easy to use

USE YOUR OWN API KEY, OTHERWISE IT WILL NOT WORK

e.g. http://www.rss2html.com/rss2html.php?TEMPLATE=template-1-1-2.htm&XMLFILE=http://ask.yahoo.com/index.xml

Shalini,
http://MegaLeecher.net - The IT Tips, Tricks, Tools and News Portal

2006-09-13 05:32:23 · answer #3 · answered by WhizKid23 1 · 0 1

sweet feed! I didn't know yahoo had anything other than simple rss.

Ok, you need to be able to parse xml, a good xml parser with xpath support should have you looping through the data las if it was a simple array!

xmlparser + xpath ... you can do it all in client side js, or server side in php or the cgi language of your choice!

2006-09-13 08:00:39 · answer #4 · answered by jake cigar™ is retired 7 · 0 1

don't know

2006-09-13 05:06:02 · answer #5 · answered by Trans Atlantic 2 · 0 1

dunno good luck!

2006-09-13 05:04:47 · answer #6 · answered by Aroran 2 · 0 1

fedest.com, questions and answers