akurtula Posted December 8, 2011 Report Share Posted December 8, 2011 Hi, I have a php file on my web server which would generate xml code so that I can use in in my tumblr blog. this is the code I have <?php header("Content-Type: text/xml; charset=ISO-8859-1"); $rssfeed = '<?xml version="1.0" encoding="ISO-8859-1"?>'; $rssfeed .= '<library> <book isbn10="1234567890" isbn13="1234567890123"> <title>PHP and MySQL</title> <author fname="miguel" lname="alvarez">Miguel Alvarez</author> <publisher>WebHole</publisher> <price>1.99</price> </book> <book isbn10="8957468873" isbn13="0984837828189"> <title>JAVA 123</title> <author fname="william" lname="vega">WIlliam Vega</author> <publisher>WebHole</publisher> <price>2.99</price> </book> </library>'; echo $rssfeed; ?> I then want to access this with js. The problem is that I can not access this from another server. is there a way to make this php files accessible by another server? Thanks Quote Link to comment Share on other sites More sharing options...
falkencreative Posted December 9, 2011 Report Share Posted December 9, 2011 This might be helpful? http://stackoverflow.com/questions/226663/parse-rss-with-jquery Quote Link to comment Share on other sites More sharing options...
akurtula Posted December 11, 2011 Author Report Share Posted December 11, 2011 thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.