From non-RSS XML to PHP to HTML
What could be easier than having some info on, oh lets say…, interesting travels, dropped in a RSS feed, so anyone can include this info in their website. For example to, oh lets say… to get into an affiliate program. It could be easier, but it’s not. Today I got an XML which had to be turned into some HTML for use on a travelling website. I was assuming it was plain RSS, so scripting something together within a few minutes would be no trouble at all. But upon checking the actual site URL I found that they’ve made stuff harder. Who needs standards? Just cook up yer own XML document!
Add comment november 20, 2007
Safari and cross-domain cookies
Here’s one strange issue. I’ve got an IFRAME set up in a HTML page. The HTML page is located in one domain, and the source (src) of the IFRAME is located in a second domain. This works fine in Firefox, however I ran into problems with several IE versions. Upon closer examination I noticed the wonderful world of P3P: you need to include special P3P headers in the original HTTP request, in order to make this work. The cross-domain use of cookies is usually prohibited unless you include special headers. After adding a little line in my PHP code all was fine… (Meer…)
Add comment november 20, 2007