<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DCity</title>
	<atom:link href="http://www.dcity.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dcity.org</link>
	<description>by gary muhonen</description>
	<lastBuildDate>Wed, 10 Feb 2010 16:57:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adding Processing Applets to Wordpress Pages and Posts</title>
		<link>http://www.dcity.org/2010/02/adding-processing-applets-to-wordpress-pages/</link>
		<comments>http://www.dcity.org/2010/02/adding-processing-applets-to-wordpress-pages/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 06:36:42 +0000</pubDate>
		<dc:creator>garymuhonen</dc:creator>
				<category><![CDATA[Processing]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[applet]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.dcity.org/?p=162</guid>
		<description><![CDATA[It can be tricky to add Processing applets to WordPress pages and posts. Here&#8217;s one method that works for me:

Assume you have an Processing program called MyProgram.
In the Processing environment, create an applet by clicking on File&#8230;Export. This will put five files in a folder called &#8220;applet&#8221; in your MyProgram folder. The two key files created [...]]]></description>
			<content:encoded><![CDATA[<p>It can be tricky to add <a href="http://www.processing.org">Processing</a> applets to <a href="http://www.wordpress.org">WordPress</a> pages and posts. Here&#8217;s one method that works for me:</p>
<ol>
<li>Assume you have an Processing program called MyProgram.</li>
<li>In the Processing environment, create an applet by clicking on File&#8230;Export. This will put five files in a folder called &#8220;applet&#8221; in your MyProgram folder. The two key files created are MyProgram.jar and MyProgram.java</li>
<li>Copy all five files to a folder on your hosting web server. Put them in a folder called MyProgramFolder on the server. If you put this new folder in the root folder of your server, then the path to this folder will be /MyProgramFolder (the path will be different if you call it something else or if you put this folder in some other folder on your server).</li>
<li>Now create a new page or post in WordPress.</li>
<li>Switch to the HTML tab, so you can enter some HTML code in your page or post.</li>
<li>Copy and paste the following code to your new WordPress page or post:<br />
<code>&lt;applet codebase="/MyProgramFolder" archive="MyProgram.jar" code="MyProgram.class" width=480 height=360 MAYSCRIPT&gt; &lt;param name="ARCHIVE" value="MyProgram.jar"&gt; &lt;/applet&gt;</code></li>
<li>Be sure NOT to add any &#8220;line breaks&#8221; to this line. It should be all on one line, except that it will wrap to the next if you screen is not wide enough.</li>
<li>Preview or Publish your page/post. Your applet should now run.</li>
</ol>
<p>I have successfully tested this on the most current versions of Chrome, Firefox, and Internet Explorer. Of course, Java needs to be enabled on your browser.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dcity.org/2010/02/adding-processing-applets-to-wordpress-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
