Re: long and complex PHP/JS/AJAX/RSS question
- Hello Del,
If you are trying to create a plug and play widget that must work in
any environment (another people sites), I will recommend you to use
json instead of XML, and then you will be able to use the YAHOO Get
Utility without violate the cross domain's policy.
Caridy Patino (caridy at gmail.com)
> how do I create a script that serves RSS headlines hosted on my server
> that users can cut and paste simple code to embed in their blogs/sites
> that outputs those RSS headlines?
> My Server: creates XML
> User Site: user cuts and pastes code into his/her site, something
> simple like:
> how can this be done using YUI?
> Step 1: create the XML (done):
> Step 2: create the "code.js" script (done)
> Step 3: cut and paste the JS onto an "external" site (done)
> problem is.. nothing displays.
> I am obviously doing something wrong. I don't even know if what I am
> doing is possible. This is just guess work/experimentation on my part.
> Can someone help me out?