We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › RSS Reader in Processing
Page Index Toggle Pages: 1
RSS Reader in Processing (Read 528 times)
RSS Reader in Processing
May 21st, 2008, 9:07pm
 
Hello,

I was expecting to find an answer searching the forum, but couldn't find any relevant information.
I'm trying to build some kind of RSS reader in processing, and so far, my code works locally (ctrl+R), but it stops working when I test it as an applet (ctrl+E).
I'm not sure, but does it have to do with applet security restrictions? And if yes, is it possible to be done using processing? Is there a workaround and what will I need?

Thank you
Re: RSS Reader in Processing
Reply #1 - May 21st, 2008, 10:07pm
 
Useful reference :

Reference > Troubleshooting >  Export and Browser Troubles
http://processing.org/reference/troubleshooting/index.html#applet

Reference > Environment > Applet Security Restrictions
http://processing.org/reference/environment/export.html#security

Quote:
Applets running inside a web browser have several security restrictions, in order to protect web users. For instance, an applet cannot read files from the local disk or connect to servers other than the server from which it came. To avoid these restrictions, it's possible to "sign" an applet. In a signed applet, a dialog box will appear to ask the user whether they trust you as the provider of the applet, and if it's ok for the applet to perform actions that might be a security risk. More information can be found in Sun's documentation.
Re: RSS Reader in Processing
Reply #2 - May 21st, 2008, 11:17pm
 
This post might help.  There was another post on this topic today, but I solved similar problem using this post:

http://www-personal.umich.edu/~lsiden/tutorials/signed-applet/signed-applet.html

http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Sound;action=display;num=1182948677
Re: RSS Reader in Processing
Reply #3 - May 23rd, 2008, 8:22pm
 
Thanks to both of you - I got it running as an applet Smiley

(In addition, a useful and basic FAQ from Sun regarding applet restrictions can be found here: http://java.sun.com/sfaq/ )
Page Index Toggle Pages: 1