Page 1 of 1

RSS example does not work after export.

Posted: Fri Feb 24, 2012 5:51 pm
by stalone

RSS example does not work after export.

I use the build-in exsample project RSS and test works on Tiggzi builder(click on test button in Tiggzi builder),

but if I export the project and run it localy (call index.html from project zip) it dosent work.

I have simply a blank screen, it looks like rss url is not accessible.

I've tried both variants with and without "Use Tiggzi Proxy" Checkbox


RSS example does not work after export.

Posted: Fri Feb 24, 2012 7:01 pm
by maxkatz

It's because of cross-domain security. If you want to invoke a service from lifehacker.com domain (from tutorial), the page has to be hosted on the same domain. Inside Tiggzi builder, we provide the proxy and when the request goes via the proxy, it's not coming form a page and thus no cross-domain security problem.

When you export the app, it's running locally and the browser doesn't let you invoke the service running on another domain. That's just how the browsers work, it's a security feature.

If you host the app on tiggzi.net - you can use the proxy.

Hope this helps...


RSS example does not work after export.

Posted: Fri Feb 24, 2012 8:46 pm
by stalone

Max, thank you very much!

it hopes me definitely!


RSS example does not work after export.

Posted: Sun Nov 11, 2012 9:21 pm
by TomBenson

HI Max,

I'm having the same problem (glad I found this thread!) We have a project designed based on Test environment which now doesn't work in hosting...

There are 3 questions:

  1. I have tried hosting on Tiggzi.net with proxy on, but it doesn't seem to work there either. Any update on that?

  2. Currently we generate our feed from domainA and we host our HTML on domainB. We can try making these 'the same" but I'm worried that this won't work either. Are there other restrictions regarding sub-domains, sub-directories, etc?

  3. For "read only" situations (like the Lifehacker example) is there some way to turn AJAX cross-domain restrictions off, perhaps by modifying a line of code? The reason is, it makes no sense to me that an RSS reader should be required to be hosted on the same domain as the RSS feed originated. I can see this requirement when data is being updated, but not for read-only. Or am I missing something here? :)

    thanks! the depth of support here on the forum is really excellent...


RSS example does not work after export.

Posted: Mon Nov 12, 2012 12:18 am
by maxkatz

1) When you host on tiggzi.net, proxy is not used. We had to turn it off some time ago as the proxy is not production level proxy. It will be available as part of backend services soon.

2) I think the domains need to match exactly. This has nothing to do with our platform, how browsers and Ajax work.

3) There is no quick way to do that. The browser sends an Ajax request - it doesn't know whether it's a static RSS feed or data.