Hi, I have a blog at wordpress.com (not with wordpress.org) which does not allow uploading of files other than image or video (check here). FTP is also not allowed. I have some information from this site which was previously discussed in the old forum but nonavailability of the above mentioned features makes it impossible
How does one post Processing's applet or output in wordpress.com for others to view? Is there any other way or any other blogger website that allows one to do so?
I want to share my stuff and enthusiasm with other people but my current status does not justify buying server space/ web page.
Moved from implementations (writing Processing stuff in other languages) to Integration (using Processing in various environments).
The answer is clear, alas, if the site doesn't allow uploading the necessary stuff to its site, you have either to change site, or to show your applets elsewhere. OpenProcessing.org, for example, is a good place to share sketches.
Hi cedrickiefe, I have already looked at that post and that's where I got the link for more detailed discussion and referred to it in my original post. The solution there applies to wordpress.org only and not to wordpress.com
I think phi.lho has the confirmation to what I was fearing
Putting a Java applet (from Processing) into a WordPress
post is not simple. Following advice
in the Processing forum, I resorted to the (deprecated) <applet>
tag instead of using the markup generated by Processing. I had to do my final edits in the HTML editor and insert the
<applet> tag with no linebreaks. Do not go back the visual editor
if you do this--it will clobber the applet markup (you could probably
fine tune MCEdit to get around this).
It goes sort of like this (with no linebreaks in the APPLET tag attributes):
That said, I think OpenProcessing is a great place to post applets (I should do it, too, I've had the link in my navigation bar long enough). When I post to one of my own pages, I no longer embed the applet, I provide an image linked to a straight HTML page. I got tired of the gyrations necessary for embedding an applet.
I was not able to get ignotius's workaround to go. Plus, it's not HTML5 compliant (not a huge deal).
A better solution, and somewhat easier (for me), is this:
Download the Wordpress extension raw-html (search for it on the wordpress site)
1) Export your Processing project as usual 2) Upload the files in your applet folder (you do not need to upload 'index.html', (though it doesn't hurt) 3) Open up the index.html file in the applet folder you exported to (on your local system) i) Change all of the *.jar files from 'My_Applet_Name.jar" to "http://YOURWEBSITE.com/.........." where YOURWEBSITE is just your domain name, and the ... indicates whereever you saved your .jar files into. Forinstance, as standard location is "http://YOURWEBSITE.com/wp-content/upload/2010/09/My_Applet_Name.jar" ii) Change the *.gif loading message to have the parth to their upload location as well iii) DO NOT change the subapplet lines. These are relative names that must stay the same 4) Write <!--start_raw--> (two dashes) 5) Copy and Paste your edited html code from index.html into the lines below <!--start_raw--> 6) Write <!--end_raw-->
Hey, I get the using the extensions(in wordpress) and all that(though very low rated). What about the "data" folder in processing.js? Like if i wanna do data visualization with some data, and use it as a background animation(in wordpress), what about that? By the way, i m using wordpress.
Leave a comment on asdf's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic