Firoki
07-18-2006, 07:54 PM
Hi everybody, i need help inserting xml information in an html document. I know this is possible, infact you can see it in action at donkiddick.phpnet.us/ie_and_ff.html. But it's only working when i host the xml file.
I actually want to 'embed' the data into my document, from a different website: ws.audioscrobbler.com/1.0/user/firoki/topartists.xml
coothead at HTMLForums.com has already given me loads of help on this, he's the one where ALL of the coding has come from so far. (htmlforums.com/showthread.php?t=79068)
The problem occurs when i change:
xmlDoc.load('topartists.xml')
to:
xmlDoc.load('http://ws.audioscrobbler.com/1.0/user/firoki/topartists.xml')
The change can be seen in donkiddick.phpnet.us/ie_and_ff_non_hosted.html
Hope ive got my point accross,
thanks in advance
Firoki
I actually want to 'embed' the data into my document, from a different website: ws.audioscrobbler.com/1.0/user/firoki/topartists.xml
coothead at HTMLForums.com has already given me loads of help on this, he's the one where ALL of the coding has come from so far. (htmlforums.com/showthread.php?t=79068)
The problem occurs when i change:
xmlDoc.load('topartists.xml')
to:
xmlDoc.load('http://ws.audioscrobbler.com/1.0/user/firoki/topartists.xml')
The change can be seen in donkiddick.phpnet.us/ie_and_ff_non_hosted.html
Hope ive got my point accross,
thanks in advance
Firoki