开发者

A cross-domain ONLY Client-Side XML Request?

this is my frist question on Stackoverflow even if I'm a programmer since I remember and I've used this site since I was born (ok maybe not that long). The reason why I never posted anything is that I always found a solution here, but now I have to ask help for this question:

How can you create a cross-domain for an XML file (who said HTTP?) ONLY Client-side? - NO Server-side code allowed.

My problem comes from this: http://code.google.com/p/chrome-intl-time/ It is a chrome extension I did, a digit开发者_运维问答al clock that gives you the time of about 130 timezones. Works now reading the XML from the folder but as you (probably) know the timezones difference are not the same all over the year! I'm suppose to grab this XML from sites like http://www.timegenie.com/ at least once a day but guess what, on Chrome extensions you can't use server side script and, well, I can imagine why.

But what if I wanted a simple RSS Reader for Chrome? HELP!

(There is the possibility that all this ends up on a hosted solution with a simple iframe on the extension. But it is worth for an extension so small?)

So anyone knows how to fetch an XML file across domains? I don't, I'm puzzled. Help. Thanks for all in advance and try to forget my terrible English.


You need to Request cross-origin permissions

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜