PDA

View Full Version : Getting XML Feeds


merk_aus
08-07-2010, 06:51 AM
Hey all,
I run a sports site and am currently attempting to set up ladders etc on my site (in the CMS Widget) and was wondering if anyone could help me.

I have never used xml feeds before to import data and was wondering if someone could explain to me how I would go about getting this xml feed (http://afl.com.au/ajax/ladder.aspx?seasonid=75) to display correctly on my website.

You help is greatly appreciated and keep in mind that I have never used xml feeds before.

Information: I have the tabbed content mod from bobster installed and will be using it to allow members to cycle through a couple of ladders that they may want to see.

--------------- Added 1281230431 at 1281230431 ---------------

Just an update to this...
I have a php page in which pulls the data from the feed it can be found here (http://www.sports-force.net.au/ladder.txt) however when I attempt to get it in the widget it never appears and it comes up with a santax error on line 1 and appears with the information in my footer.

Is anyone able to help will make a donation in appreciation.

merk_aus
08-08-2010, 12:42 PM
bumping this int he hope of some help.

KevinL
08-08-2010, 12:51 PM
Have you tried using RSS?

How do you get to the page you are trying to pull? Or which page should I say..

merk_aus
08-08-2010, 12:55 PM
At the moment I type it into the address bar however it is a php page that I am trying to put as an include in a widget on the right hand side of my vBulletin CMS front page.

KevinL
08-08-2010, 12:59 PM
lol sorry my wording was bad.

Where on that site are you getting that page? It is like season 75 or something? Where do I find it?

merk_aus
08-08-2010, 01:02 PM
Oh that season 75 etc is from the XML feed:
http://nrl.com/datafeeder/feed.aspx?format=json&feed_rankings=feed&param_feed_seasonid=234

Is the url to that feed.