Is there anyway to get around this limitation with another method?
I am trying to run the script from my own web server to get data from smugmug servers (where I cannot create custom html pages) Smugmug is oEmbed friendly, but xmlhttp.open is not getting data from a different server, I assume due to limitation/security of javascript - not due to any limitation by smugmug.
I am trying to get the data, so I can create simple php script to write this grabbed data into an .html (which is a different topic under php forum)
xmlhttp.open to GET element from an XML in another server
Started by Codeturk, Mar 02 2011 06:13 PM
2 replies to this topic
#1
Posted 02 March 2011 - 06:13 PM
|
|
|
#2
Posted 03 March 2011 - 12:20 AM
fetch the xml with php instead one of the many get file functions (get_file_contents, curl and more), and then let your javascript fetch it from your local server.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#3
Posted 03 March 2011 - 06:57 AM
Hi Orjan, that's a sweet looking avatar.
I tried get file contents and it is messing up the data for some reason.
It is parsing the html embed code wihin the XML incorrectly, it adds <

Sign In
Create Account

Back to top









