<?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>Michel Weimerskirch &#187; Software</title>
	<atom:link href="http://michel.weimerskirch.net/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://michel.weimerskirch.net</link>
	<description>Web Application Developer</description>
	<lastBuildDate>Thu, 12 Aug 2010 16:47:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>ClipboardPlugin for PhoneGap</title>
		<link>http://michel.weimerskirch.net/2010/08/12/clipboardplugin-for-phonegap/</link>
		<comments>http://michel.weimerskirch.net/2010/08/12/clipboardplugin-for-phonegap/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 16:43:11 +0000</pubDate>
		<dc:creator>michel</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://michel.weimerskirch.net/?p=697</guid>
		<description><![CDATA[I&#8217;ve written a new plugin for PhoneGap that enables clipboard access from within any JavaScript method in a PhoneGap-iPhone application. It&#8217;s my first piece of ObjectiveC-code, so the first version is very simple. It currently only supports setting clipboard text. Retrieving clipboard text will be added later. The source code is available on GitHub: http://github.com/mweimerskirch/PhoneGap-Plugins/tree/master/ClipboardPlugin/iPhone/]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve written a new plugin for <a href="http://phonegap.com" target="_blank">PhoneGap</a> that enables clipboard access from within any JavaScript method in a PhoneGap-iPhone application. It&#8217;s my first piece of ObjectiveC-code, so the first version is very simple. It currently only supports setting clipboard text. Retrieving clipboard text will be added later.</p>
<p>The source code is available on GitHub: <a href="http://github.com/mweimerskirch/PhoneGap-Plugins/tree/master/ClipboardPlugin/iPhone/">http://github.com/mweimerskirch/PhoneGap-Plugins/tree/master/ClipboardPlugin/iPhone/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://michel.weimerskirch.net/2010/08/12/clipboardplugin-for-phonegap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to convert a music playlist (.m3u) to a K3b project</title>
		<link>http://michel.weimerskirch.net/2008/12/30/m3utok3b/</link>
		<comments>http://michel.weimerskirch.net/2008/12/30/m3utok3b/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 16:38:06 +0000</pubDate>
		<dc:creator>michel</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://michel.weimerskirch.net/?p=282</guid>
		<description><![CDATA[I wrote a small script that converts an m3u playlist to a k3b project. Just save the following code snippet in a file called m3utok3b.sh, make it executable (chmod +x m3utok3b.sh) and run it (./m3utok3b.sh yourplaylist.m3u). Use it at your own risk! echo application/x-k3b &#62; mimetype awk 'BEGIN{ print "&#60;?xml version="1.0" encoding="UTF-8"?&#62;" print "&#60;!DOCTYPE k3b_data_project&#62;" [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote a small script that converts an m3u playlist to a <a href="http://k3b.plainblack.com/" target="_blank">k3b</a> project.</p>
<p>Just save the following code snippet in a file called m3utok3b.sh, make it executable (chmod +x m3utok3b.sh) and run it (./m3utok3b.sh yourplaylist.m3u). <strong>Use it at your own risk!</strong><br />
<span id="more-282"></span></p>
<pre>echo application/x-k3b &gt; mimetype

awk 'BEGIN{
  print "&lt;?xml version="1.0" encoding="UTF-8"?&gt;"
  print "&lt;!DOCTYPE k3b_data_project&gt;"
  print "&lt;k3b_data_project&gt;"
  print "&lt;general&gt;&lt;/general&gt;"
  print "&lt;options&gt;&lt;/options&gt;"
  print "&lt;header&gt;&lt;/header&gt;"
  print "&lt;files&gt;"
}
{
  if(index($0, "#") == 0) {
    gsub(/&amp;/, "&amp;amp;")
    print "&lt;file&gt;&lt;url&gt;" $0 "&lt;/url&gt;&lt;/file&gt;"
  }
}

END {
  print "&lt;/files&gt;"
  print "&lt;/k3b_data_project&gt;"
}' "$1" &gt; maindata.xml

zip "$1.k3b" mimetype maindata.xml

rm maindata.xml
rm mimetype</pre>
]]></content:encoded>
			<wfw:commentRss>http://michel.weimerskirch.net/2008/12/30/m3utok3b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TinyMCE spellchecker now with official enchant library</title>
		<link>http://michel.weimerskirch.net/2008/04/30/tinymce-spellchecker-now-with-official-enchant-library/</link>
		<comments>http://michel.weimerskirch.net/2008/04/30/tinymce-spellchecker-now-with-official-enchant-library/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 19:47:14 +0000</pubDate>
		<dc:creator>michel</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://michel.weimerskirch.net/?p=248</guid>
		<description><![CDATA[TinyMCE 3.0.8 as well as an updated spellchecker plugin have been released. If you use the spellchecker plugin with the PSpellShell engine you should upgrade as soon as possible. I discovered a serious security issue which has been fixed in the new version. My enchant plugin is now also included by default. A changelog is [...]]]></description>
			<content:encoded><![CDATA[<p>TinyMCE 3.0.8 as well as an updated spellchecker plugin have been <a href="http://tinymce.moxiecode.com/punbb/viewtopic.php?id=11367" target="_blank">released</a>. If you use the spellchecker plugin with the PSpellShell engine you should upgrade as soon as possible. I discovered a serious security issue which has been fixed in the new version. My <a href="/?p=245">enchant plugin</a> is now also included by default. A changelog is available <a href="http://tinymce.moxiecode.com/tinymce/changelog.txt" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://michel.weimerskirch.net/2008/04/30/tinymce-spellchecker-now-with-official-enchant-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing php-enchant on Ubuntu 8.4</title>
		<link>http://michel.weimerskirch.net/2008/04/25/php-enchant/</link>
		<comments>http://michel.weimerskirch.net/2008/04/25/php-enchant/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 22:07:05 +0000</pubDate>
		<dc:creator>michel</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://michel.weimerskirch.net/?p=244</guid>
		<description><![CDATA[For the upcoming version of the online spellchecker for spellchecker.lu I decided to use a combination of enchant/hunspell as the core spellchecking engine. However, the versions of libenchant and hunspell that come with the new Ubuntu 8.4 are not really up-to-date, so I compiled my own versions. As a reference for myself, this is a [...]]]></description>
			<content:encoded><![CDATA[<p>For the upcoming version of the online spellchecker for <a href="http://spellchecker.lu" target="_blank">spellchecker.lu</a> I decided to use a combination of enchant/hunspell as the core spellchecking engine. However, the versions of <a href="http://www.abisource.com/projects/enchant/" target="_blank">libenchant</a> and <a href="http://hunspell.sourceforge.net/" target="_blank">hunspell</a> that come with the new Ubuntu 8.4 are not really up-to-date, so I compiled my own versions. As a reference for myself, this is a small howto:<br />
<span id="more-244"></span></p>
<p>Remove old versions if they are installed:</p>
<pre>apt-get remove --purge libenchant1c2a libenchant-dev hunspell</pre>
<p>Install necessary development libraries</p>
<pre>apt-get install libglib2.0-dev
apt-get install php5-dev php-pear</pre>
<p>Installing hunspell and enchant is pretty straightforward:</p>
<pre># Install hunspell
tar xzvf hunspell-1.2.2.tar.gz
cd hunspell-1.2.2
./configure --libdir=/usr/lib/
make install

# Install enchant:
tar xzvf enchant-1.4.1.tar.gz
cd enchant-1.4.1
./configure --with-myspell-dir=/usr/share/myspell/dicts --libdir=/usr/lib/
make install</pre>
<p>Now php-enchant can be installed very easily using <a href="http://pecl.php.net/" target="_blank">pecl</a>:</p>
<pre>pecl install enchant</pre>
<p>To enable the php extension, I did this:</p>
<pre>echo "extension=enchant.so" &gt; /etc/php5/conf.d/enchant.ini</pre>
<p>That&#8217;s it. A usage example can be found in the PHP manual:<br />
<a href="http://php.net/manual/en/enchant.examples.php" target="_blank">http://php.net/manual/en/enchant.examples.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://michel.weimerskirch.net/2008/04/25/php-enchant/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>xmi2symfony 0.1: convert UML models to code skeletons for the symfony framework</title>
		<link>http://michel.weimerskirch.net/2007/12/22/xmi2symfony-01-convert-uml-models-to-code-skeletons-for-the-symfony-framework/</link>
		<comments>http://michel.weimerskirch.net/2007/12/22/xmi2symfony-01-convert-uml-models-to-code-skeletons-for-the-symfony-framework/#comments</comments>
		<pubDate>Sat, 22 Dec 2007 20:11:32 +0000</pubDate>
		<dc:creator>michel</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[uml]]></category>
		<category><![CDATA[xmi2symfony]]></category>

		<guid isPermaLink="false">http://michel.weimerskirch.net/2007/12/22/xmi2symfony-01-convert-uml-models-to-code-skeletons-for-the-symfony-framework/</guid>
		<description><![CDATA[I wrote a small application that converts UML models in the XMI format to configuration files for applications based on the symfony framework. It is licensed under the LGPL v2. The following elements are generated from the UML models: Skeletons for classes (lib/model/*.php) Skeletons for custom operations (with the following properites: name, visibility (public, private, [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote a small application that converts UML models in the XMI format to configuration files for applications based on the <a TARGET="_blank" HREF="http://www.symfony-project.org/">symfony framework</a>. It is licensed under the LGPL v2.</p>
<p><span id="more-101"></span>The following elements are generated from the UML models:</p>
<ul>
<li> Skeletons for classes (lib/model/*.php)
<ul>
<li>Skeletons for custom operations (with the following properites: name, visibility (public, private, protected), static (yes/no))</li>
<li>Parameters for custom operations</li>
<li>Documentation skeletons for:
<ul>
<li>Classes</li>
<li>Custom operations</li>
<li>Operation parameters</li>
<li>Return types</li>
</ul>
</li>
</ul>
</li>
</ul>
<ul>
<li>Database schema (config/schema.yml)
<ul>
<li>PHP datatypes are mapped to SQL datatypes (ex. string-&gt;varchar(255), int-&gt;integer, &#8230;)</li>
<li>An &#8216;id&#8217; field is generated for every class (this is not a very good solution)</li>
<li>Associations with 1:* multiplicity are converted to attributes</li>
<li>Associations with *:* multiplicity are converted to association classes</li>
<li>UML datatypes are mapped to the corresponding &#8220;foreign-table&#8221; notation</li>
</ul>
</li>
</ul>
<p>This is work in progress! The code base is currently in an early alpha stage. Not everything works completely fine yet and features and functionality are subject to change.</p>
<p>You can download the code <a HREF="http://michel.weimerskirch.net/symfony/xmi2symfony/xmi2symfony.tar.gz">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://michel.weimerskirch.net/2007/12/22/xmi2symfony-01-convert-uml-models-to-code-skeletons-for-the-symfony-framework/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
