<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Technik, Gothic und Anderes &#187; Learninmanagement Systeme (lms)</title>
	<atom:link href="http://blog.oncode.info/category/bildung/lms-bildung/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.oncode.info</link>
	<description>Technik ist Spiel, Gothic ist ernst und Zeit hat man zuviel</description>
	<lastBuildDate>Thu, 09 Sep 2010 09:27:07 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>PHP-UWA Widget Library</title>
		<link>http://blog.oncode.info/2007/11/26/php-uwa-widget-library/</link>
		<comments>http://blog.oncode.info/2007/11/26/php-uwa-widget-library/#comments</comments>
		<pubDate>Mon, 26 Nov 2007 15:03:48 +0000</pubDate>
		<dc:creator>skaldrom</dc:creator>
				<category><![CDATA[Learninmanagement Systeme (lms)]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[block]]></category>
		<category><![CDATA[iGoogle]]></category>
		<category><![CDATA[Moodle]]></category>
		<category><![CDATA[Netvibes]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[UWA]]></category>
		<category><![CDATA[Widget]]></category>

		<guid isPermaLink="false">http://blog.oncode.info/2007/11/26/php-uwa-widget-library/</guid>
		<description><![CDATA[Der UWA Widgetstandard vereinheitlicht Widgets f&#252;r verschiedene Plattformen. Hier wird eine PHP-Library vorgestellt, um diese Widgets in eigenen Projekten nutzen zu k&#246;nnen und eine Beispielimplementation als Moodleblock gezeigt.]]></description>
			<content:encoded><![CDATA[<h2>Widgets and Web 2.0</h2>
<p><img src='http://blog.oncode.info/wp-content/uploads/2007/11/uwa.png' alt='Universal Widget Architecture' class='lead' align='left'/>Widgets are little miniapplications which show data in a clearly arranged way or perform a more or less simple task for the user. Widgets are present on Windows Vista, Mac, iPhone and also in a webbased form for <a href="http://www.google.com/ig">iGoogle</a>, <a href="http://www.yahoo.com">Yahoo!</a>, <a href="http://www.netvibes.com">Netvibes</a> and many other portals. To give a boost to widget development, Netvibes presented a new framework which shall facilate the coding of widgets. The child is called <a href="http://dev.netvibes.com">Universal Widget Architecture</a>. Widgets coded with the help of this framework should work on all the mentioned plattforms.</p>
<h2>UWA Standard</h2>
<p>A widged, coded with UWA is basically a XML-Dokument. It contains metadata, settings and the active part, written in Javascript. Especially the Preferences are of interest, because they are dynamic and allow widgetspecific settings. There are also some convenience-functions in the UWA-library.</p>
<p>The UWA specification has its <a href="http://dev.netvibes.com">own homepage</a> and is very well documented. There are <a href="http://dev.netvibes.com/doc/examples">examples</a>, a <a href="http://dev.netvibes.com/doc/uwa_specification/uwa_skeleton">code-skeleton</a> with <a href="http://dev.netvibes.com/doc/uwa_specification/content_of_the_xhtml_file">explanations</a>, a <a href="http://dev.netvibes.com/blog/2007/06/04/building-a-twitter-widget-part-1-setting-up-the-code-and-displaying-a-single-status/">step-by-step tutorial</a>, a <a href="http://dev.netvibes.com/forum/">forum</a> and even a <a href="http://dev.netvibes.com/blog/wp-content/uploads/uwa-cheatsheet-preview.pdf">cheat-sheet</a>. The start is very easy with such a lot of documentation.</p>
<h2>Widget Repository</h2>
<p>Finished and released widgets can be made available for the public and published in the <a href="http://eco.netvibes.com/widgets">Widget Repository (Ecosystem)</a>. Widgets ion this website can be added to the different platforms with a single (or double) click). There are some widgets in the repository which are coded in the deprecated Mini-API standard, but these will dissappear soon (hopefully).</p>
<h2>Implementations</h2>
<p>That sounded fascinating and must have a use somewhere&#8230; I will implement some widgets later, I needed to make these widgets usable in our own projects first. So I wrote a little PHP-class which I called pretentious <a href="http://www.oncode.info/project/PHPUWALibrary">PHP-UWA Widget Library</a>.Handling widged should be easy, using this class. A little bit more ambitious is the handling of widget dependend preferences.</p>
<p>A minimal example is included in the <a href="http://www.oncode.info/project/PHPUWALibrary">download-package</a> and can also be checked <a href="http://www.oncode.info/projects/PHPUWAWidget/example/example.php">online</a>.</p>
<p><a href='http://blog.oncode.info/wp-content/uploads/2007/11/example.png' title='PHP-UWA Widget Library Example'><img src='http://blog.oncode.info/wp-content/uploads/2007/11/example.thumbnail.png' alt='PHP-UWA Widget Library Example' /></a></p>
<p>Displaying a widget should be straight forward:<br />
[cc lang="php"]<br />
<?php<br />
require_once(&#8216;uwawidget.php&#8217;);<br />
$uwawidget=new uwawidget(&#8216;http://www.netvibes.com/api/uwa/examples/digg.xhtml&#8217;);<br />
echo $uwawidget->getWidgetHTML();<br />
?><br />
[/cc]</p>
<p>There are two classmembers which can give more information about the widget:</p>
<dl>
<dt><tt>getMetaData()</tt></dt>
<dd>Metadaten like author, keyw&#246;rds, description, &#8230; See the <a href="http://dev.netvibes.com/doc/uwa_specification/content_of_the_xhtml_file?s=preferences#metadata">docu</a>.</dd>
<dt><tt>getAdditionalData()</tt></dt>
<dd>Additional info like icons, stylesheets, &#8230;</dd>
</dl>
<p>Basically, there are the following <em>sections</em> for settings:</p>
<dl>
<dt>general</dt>
<dd>The widgets URL.</dd>
<dt>configuration</dt>
<dd>Displayparameters, which described in <a href="http://dev.netvibes.com/doc/howto/widget_export?s=blog#setting_the_display_configuration">the docs</a>.</dd>
<dt>preferences</dt>
<dd>Widget dependent preferences, also mentioned in <a href="http://dev.netvibes.com/doc/uwa_specification/content_of_the_xhtml_file?s=preferences#preferences">the docs</a></dd>
</dl>
<p>For all these settings, there are the following classmembers:</p>
<dl>
<dt>Setters and Getters</dt>
<dd><tt>setModuleUrl()</tt>, <tt>setConfiguration()</tt>, <tt>setPreferences()</tt><br /><br />
<tt>getModuleUrl()</tt>, <tt>getConfiguration()</tt>, <tt>getPreferences()</tt></dd>
<dt><tt>getSettingsFormData($section)</tt></dt>
<dd>Returns the settings in a friendly array, from which a form can be generated. <tt>$section</tt> can be <tt>"general"</tt>, <tt>"configuration"</tt> or <tt>"preferences"</tt></dd>
<dt><tt>getSettingsHTML($section)</tt></dt>
<dd>Returns the settings in an array with the format <tt>"Label" => "HTML"</tt>. <tt>$section</tt> can be <tt>"general"</tt>, <tt>"configuration"</tt> or <tt>"preferences"</tt></dd>
</dl>
<p>For a test, I coded a <a href="http://www.oncode.info/project/moodleuwawidgetblock">Moodle block</a>, which allows to use UWA Widgets inside the LMS.  Heyo, WordPress, Xoops, etc-Coderz, how about an integration of the Widgets in your system???</p>
<p>Examples from the Moodle block:</p>
<table>
<tr>
<td><a href='http://blog.oncode.info/wp-content/uploads/2007/11/moodle-calc.png' title='Moodle UWA Calculator'><img src='http://blog.oncode.info/wp-content/uploads/2007/11/moodle-calc.thumbnail.png' alt='Moodle UWA Calculator' /></a></td>
<td><a href='http://blog.oncode.info/wp-content/uploads/2007/11/moodle-unit.png' title='Moodle UWA Converter'><img src='http://blog.oncode.info/wp-content/uploads/2007/11/moodle-unit.thumbnail.png' alt='Moodle UWA Converter' /></a></td>
<td><a href='http://blog.oncode.info/wp-content/uploads/2007/11/moodle-babylon.png' title='Moodle UWA Translator'><img src='http://blog.oncode.info/wp-content/uploads/2007/11/moodle-babylon.thumbnail.png' alt='Moodle UWA Translator' /></a></td>
</tr>
<tr>
<td><a href='http://blog.oncode.info/wp-content/uploads/2007/11/moodle-gnote.png' title='Moodle UWA Google Notes'><img src='http://blog.oncode.info/wp-content/uploads/2007/11/moodle-gnote.thumbnail.png' alt='Moodle UWA Google Notes' /></a></td>
<td><a href='http://blog.oncode.info/wp-content/uploads/2007/11/moodle-spider.png' title='Moodle UWA Spider'><img src='http://blog.oncode.info/wp-content/uploads/2007/11/moodle-spider.thumbnail.png' alt='Moodle UWA Spider' /></a></td>
<td><a href='http://blog.oncode.info/wp-content/uploads/2007/11/moodle-todo.png' title='Moodle UWA ToDo'><img src='http://blog.oncode.info/wp-content/uploads/2007/11/moodle-todo.thumbnail.png' alt='Moodle UWA ToDo' /></a></td>
</tr>
<tr>
<td colspan='3'>The configuration in Moodle:<br /><a href='http://blog.oncode.info/wp-content/uploads/2007/11/moodle-block-config.png' title='Widget settings in Moodle'><img src='http://blog.oncode.info/wp-content/uploads/2007/11/moodle-block-config.thumbnail.png' alt='Widget settings in Moodle' /></a>
</td>
</tr>
</table>
<h2>Uh, almost&#8230;</h2>
<p>&#8230;I was almost faster than the german computer magazine <a href="http://www.heise.de/ct/07/25/006/">c&#8217;t</a> which has a short bit good introduction into UWA-Widgets.</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Teile und geniesse:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fblog.oncode.info%2F2007%2F11%2F26%2Fphp-uwa-widget-library%2F" title="Technorati"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fblog.oncode.info%2F2007%2F11%2F26%2Fphp-uwa-widget-library%2F&amp;title=PHP-UWA%20Widget%20Library&amp;notes=Der%20UWA%20Widgetstandard%20vereinheitlicht%20Widgets%20f%C3%BCr%20verschiedene%20Plattformen.%20Hier%20wird%20eine%20PHP-Library%20vorgestellt%2C%20um%20diese%20Widgets%20in%20eigenen%20Projekten%20nutzen%20zu%20k%C3%B6nnen%20und%20eine%20Beispielimplementation%20als%20Moodleblock%20gezeigt." title="del.icio.us"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fblog.oncode.info%2F2007%2F11%2F26%2Fphp-uwa-widget-library%2F&amp;bm_description=PHP-UWA%20Widget%20Library&amp;plugin=soc" title="MisterWong"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.oncode.info%2F2007%2F11%2F26%2Fphp-uwa-widget-library%2F&amp;title=PHP-UWA%20Widget%20Library&amp;bodytext=Der%20UWA%20Widgetstandard%20vereinheitlicht%20Widgets%20f%C3%BCr%20verschiedene%20Plattformen.%20Hier%20wird%20eine%20PHP-Library%20vorgestellt%2C%20um%20diese%20Widgets%20in%20eigenen%20Projekten%20nutzen%20zu%20k%C3%B6nnen%20und%20eine%20Beispielimplementation%20als%20Moodleblock%20gezeigt." title="Digg"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.oncode.info%2F2007%2F11%2F26%2Fphp-uwa-widget-library%2F&amp;title=PHP-UWA%20Widget%20Library" title="StumbleUpon"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.oncode.info%2F2007%2F11%2F26%2Fphp-uwa-widget-library%2F&amp;t=PHP-UWA%20Widget%20Library" title="Facebook"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.oncode.info%2F2007%2F11%2F26%2Fphp-uwa-widget-library%2F&amp;title=PHP-UWA%20Widget%20Library&amp;annotation=Der%20UWA%20Widgetstandard%20vereinheitlicht%20Widgets%20f%C3%BCr%20verschiedene%20Plattformen.%20Hier%20wird%20eine%20PHP-Library%20vorgestellt%2C%20um%20diese%20Widgets%20in%20eigenen%20Projekten%20nutzen%20zu%20k%C3%B6nnen%20und%20eine%20Beispielimplementation%20als%20Moodleblock%20gezeigt." title="Google Bookmarks"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.netvibes.com/share?title=PHP-UWA%20Widget%20Library&amp;url=http%3A%2F%2Fblog.oncode.info%2F2007%2F11%2F26%2Fphp-uwa-widget-library%2F" title="Netvibes"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fblog.oncode.info%2F2007%2F11%2F26%2Fphp-uwa-widget-library%2F&amp;title=PHP-UWA%20Widget%20Library" title="Reddit"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=PHP-UWA%20Widget%20Library%20-%20http%3A%2F%2Fblog.oncode.info%2F2007%2F11%2F26%2Fphp-uwa-widget-library%2F" title="Twitter"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fblog.oncode.info%2F2007%2F11%2F26%2Fphp-uwa-widget-library%2F&amp;partner=sociable" title="Print"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=PHP-UWA%20Widget%20Library&amp;body=http%3A%2F%2Fblog.oncode.info%2F2007%2F11%2F26%2Fphp-uwa-widget-library%2F" title="email"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://linkarena.com/bookmarks/addlink/?url=http%3A%2F%2Fblog.oncode.info%2F2007%2F11%2F26%2Fphp-uwa-widget-library%2F&amp;title=PHP-UWA%20Widget%20Library" title="LinkArena"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/linkarena.png" title="LinkArena" alt="LinkArena" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.oncode.info/2007/11/26/php-uwa-widget-library/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>SVN und Moodleintegration: Einen Schritt weiter</title>
		<link>http://blog.oncode.info/2007/05/16/svn-und-moodleintegration-einen-schritt-weiter/</link>
		<comments>http://blog.oncode.info/2007/05/16/svn-und-moodleintegration-einen-schritt-weiter/#comments</comments>
		<pubDate>Wed, 16 May 2007 07:45:15 +0000</pubDate>
		<dc:creator>skaldrom</dc:creator>
				<category><![CDATA[Learninmanagement Systeme (lms)]]></category>
		<category><![CDATA[eLearning]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[Moodle]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://blog.oncode.info/2007/05/16/svn-und-moodleintegration-einen-schritt-weiter/</guid>
		<description><![CDATA[SVN und Moodle sind ein starkes Team. Die Integration an unserer Schule schreitet voran...]]></description>
			<content:encoded><![CDATA[<p>In einem <a href="/2006/09/21/svn-mit-moodle-integrieren/">&#228;lteren Posting</a> habe ich schon beschrieben, dass wir das LMS <a href="http://moodle.org">Moodle</a> mit <a href="http://subversion.tigris.org">SVN</a> integrieren. Um die Integration voranzutreiben habe ich einen Block gecoded, von welchem aus man direkt die Dateien aktualisieren kann:</p>
<p><img src='http://blog.oncode.info/wp-content/uploads/2007/08/moodleblock1.png' alt='Moodle SVN Block' /></p>
<p>Den Code zu posten macht nicht viel Sinn, da es sehr installationsabh&#228;ngig ist. Auf Anfrage hin r&#252;cke ich aber gerne was raus <img src='http://blog.oncode.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  &#8230;.</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Teile und geniesse:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fblog.oncode.info%2F2007%2F05%2F16%2Fsvn-und-moodleintegration-einen-schritt-weiter%2F" title="Technorati"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fblog.oncode.info%2F2007%2F05%2F16%2Fsvn-und-moodleintegration-einen-schritt-weiter%2F&amp;title=SVN%20und%20Moodleintegration%3A%20Einen%20Schritt%20weiter&amp;notes=SVN%20und%20Moodle%20sind%20ein%20starkes%20Team.%20Die%20Integration%20an%20unserer%20Schule%20schreitet%20voran..." title="del.icio.us"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fblog.oncode.info%2F2007%2F05%2F16%2Fsvn-und-moodleintegration-einen-schritt-weiter%2F&amp;bm_description=SVN%20und%20Moodleintegration%3A%20Einen%20Schritt%20weiter&amp;plugin=soc" title="MisterWong"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.oncode.info%2F2007%2F05%2F16%2Fsvn-und-moodleintegration-einen-schritt-weiter%2F&amp;title=SVN%20und%20Moodleintegration%3A%20Einen%20Schritt%20weiter&amp;bodytext=SVN%20und%20Moodle%20sind%20ein%20starkes%20Team.%20Die%20Integration%20an%20unserer%20Schule%20schreitet%20voran..." title="Digg"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.oncode.info%2F2007%2F05%2F16%2Fsvn-und-moodleintegration-einen-schritt-weiter%2F&amp;title=SVN%20und%20Moodleintegration%3A%20Einen%20Schritt%20weiter" title="StumbleUpon"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.oncode.info%2F2007%2F05%2F16%2Fsvn-und-moodleintegration-einen-schritt-weiter%2F&amp;t=SVN%20und%20Moodleintegration%3A%20Einen%20Schritt%20weiter" title="Facebook"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.oncode.info%2F2007%2F05%2F16%2Fsvn-und-moodleintegration-einen-schritt-weiter%2F&amp;title=SVN%20und%20Moodleintegration%3A%20Einen%20Schritt%20weiter&amp;annotation=SVN%20und%20Moodle%20sind%20ein%20starkes%20Team.%20Die%20Integration%20an%20unserer%20Schule%20schreitet%20voran..." title="Google Bookmarks"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.netvibes.com/share?title=SVN%20und%20Moodleintegration%3A%20Einen%20Schritt%20weiter&amp;url=http%3A%2F%2Fblog.oncode.info%2F2007%2F05%2F16%2Fsvn-und-moodleintegration-einen-schritt-weiter%2F" title="Netvibes"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fblog.oncode.info%2F2007%2F05%2F16%2Fsvn-und-moodleintegration-einen-schritt-weiter%2F&amp;title=SVN%20und%20Moodleintegration%3A%20Einen%20Schritt%20weiter" title="Reddit"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=SVN%20und%20Moodleintegration%3A%20Einen%20Schritt%20weiter%20-%20http%3A%2F%2Fblog.oncode.info%2F2007%2F05%2F16%2Fsvn-und-moodleintegration-einen-schritt-weiter%2F" title="Twitter"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fblog.oncode.info%2F2007%2F05%2F16%2Fsvn-und-moodleintegration-einen-schritt-weiter%2F&amp;partner=sociable" title="Print"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=SVN%20und%20Moodleintegration%3A%20Einen%20Schritt%20weiter&amp;body=http%3A%2F%2Fblog.oncode.info%2F2007%2F05%2F16%2Fsvn-und-moodleintegration-einen-schritt-weiter%2F" title="email"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://linkarena.com/bookmarks/addlink/?url=http%3A%2F%2Fblog.oncode.info%2F2007%2F05%2F16%2Fsvn-und-moodleintegration-einen-schritt-weiter%2F&amp;title=SVN%20und%20Moodleintegration%3A%20Einen%20Schritt%20weiter" title="LinkArena"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/linkarena.png" title="LinkArena" alt="LinkArena" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.oncode.info/2007/05/16/svn-und-moodleintegration-einen-schritt-weiter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SVN mit Moodle integrieren</title>
		<link>http://blog.oncode.info/2006/09/21/svn-mit-moodle-integrieren/</link>
		<comments>http://blog.oncode.info/2006/09/21/svn-mit-moodle-integrieren/#comments</comments>
		<pubDate>Thu, 21 Sep 2006 06:49:35 +0000</pubDate>
		<dc:creator>skaldrom</dc:creator>
				<category><![CDATA[Learninmanagement Systeme (lms)]]></category>
		<category><![CDATA[Dokumentenverwaltung]]></category>
		<category><![CDATA[eLearning]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[lms]]></category>
		<category><![CDATA[Moodle]]></category>
		<category><![CDATA[Publikation]]></category>
		<category><![CDATA[Schulmaterial]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://blog.oncode.info/2006/09/21/svn-mit-moodle-integrieren/</guid>
		<description><![CDATA[Moodle eignet sich sehr gut um Dokumente f&#252;r Lernende bereitzuhalten und zu publizieren. SVN eignet sich, um Dokumente abzulegen wenn mehrere Leute zusammenarbeiten. Was liegt also n&#228;her als die beiden Dinge zu kombinieren?]]></description>
			<content:encoded><![CDATA[<p><a href="http://moodle.org">Moodle</a> eignet sich sehr gut um Dokumente f&#252;r Lernende bereitzuhalten und zu publizieren. <a href="http://subversion.tigris.org/">SVN</a> eignet sich, um Dokumente abzulegen wenn mehrere Leute zusammenarbeiten. Was liegt also n&#228;her als die beiden Dinge zu kombinieren?</p>
<p>Vorteile:</p>
<ul>
<li>Es sind immer aktuelle Dokumente auf dem Moodle</li>
<li>Das l&#228;stige Hochladen entf&#228;llt</li>
<li>Es ist m&#228;chtig 1337!</li>
</ul>
<p>Soweit die Theorie, doch wie l&#228;uft das in der Praxis?</p>
<p>Grunds&#228;tzlich werden auf dem Moodleserver die SVN-Verzeichnisse ausgecheckt. Jede Nacht l&#228;uft ein Cronjob, der diese Arbeitsverzeichnisse aktualisiert und noch nicht vorhandene an diesen Ort auscheckt. Im Moodle &#8220;data&#8221; Verzeichnis werden in den Kursen symbolische Links auf diese Arbeitsverzeichnisse gesetzt, die dann in Moodle selber wie normale Verzeichnisse behandelt werden k&#246;nnen.</p>
<p>Um diese Arbeitsverzeichnisse auszuchecken habe ich ein Bash-Script geschrieben, f&#252;r das Setzen der Links gibt es ein ganz h&#228;ssliches Webinterface. Beide Quellcodes stelle ich gerne zur Verf&#252;gung, hierhin passense nicht&#8230;.</p>
<p>Probleme:</p>
<ul>
<li>Die Berechtigungen der Arbeitsverzeichnisse m&#252;ssen so gesetzt werden, dass normale Benutzer &#252;ber Moodle keine Dateien ver&#228;ndern oder l&#246;schen k&#246;nnen.</li>
<li>Da es ein Link ist und kein echtes Verzeichnis, l&#228;sst Moodle keine &#8220;Verzeichnis Ressourcentypen&#8221; zu. Korrigiert werden kann dies in lib/moodlelib.php, Funktion get_directory_list:<br />
[cc lang="php"]if (!is_dir($rootdir)  &#038;&#038; !is_link($rootdir)) {          // Must be a directory[/cc]<br />
und:<br />
[cc lang="php"]if (filetype($fullfile) == &#8216;dir&#8217;  || filetype($fullfile) == &#8220;link&#8221;) {[/cc]
</li>
<li>Die SVN-Arbeitsverzeichnisse sollen ja nicht migebackupt werden, da man gescheiter die Repositories sichert. Darum in backup/backuplib.php, Funktion backup_copy_course_files anpassen:<br />
[cc lang="php"]if ($dir !== $name_moddata and $dir !== $name_backupdata and !is_link($rootdir.&#8221;/&#8221;.$dir)) {[/cc]
</li>
</ul>

<div class="sociable">
<div class="sociable_tagline">
<strong>Teile und geniesse:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fblog.oncode.info%2F2006%2F09%2F21%2Fsvn-mit-moodle-integrieren%2F" title="Technorati"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fblog.oncode.info%2F2006%2F09%2F21%2Fsvn-mit-moodle-integrieren%2F&amp;title=SVN%20mit%20Moodle%20integrieren&amp;notes=Moodle%20eignet%20sich%20sehr%20gut%20um%20Dokumente%20f%C3%BCr%20Lernende%20bereitzuhalten%20und%20zu%20publizieren.%20SVN%20eignet%20sich%2C%20um%20Dokumente%20abzulegen%20wenn%20mehrere%20Leute%20zusammenarbeiten.%20Was%20liegt%20also%20n%C3%A4her%20als%20die%20beiden%20Dinge%20zu%20kombinieren%3F" title="del.icio.us"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fblog.oncode.info%2F2006%2F09%2F21%2Fsvn-mit-moodle-integrieren%2F&amp;bm_description=SVN%20mit%20Moodle%20integrieren&amp;plugin=soc" title="MisterWong"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.oncode.info%2F2006%2F09%2F21%2Fsvn-mit-moodle-integrieren%2F&amp;title=SVN%20mit%20Moodle%20integrieren&amp;bodytext=Moodle%20eignet%20sich%20sehr%20gut%20um%20Dokumente%20f%C3%BCr%20Lernende%20bereitzuhalten%20und%20zu%20publizieren.%20SVN%20eignet%20sich%2C%20um%20Dokumente%20abzulegen%20wenn%20mehrere%20Leute%20zusammenarbeiten.%20Was%20liegt%20also%20n%C3%A4her%20als%20die%20beiden%20Dinge%20zu%20kombinieren%3F" title="Digg"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.oncode.info%2F2006%2F09%2F21%2Fsvn-mit-moodle-integrieren%2F&amp;title=SVN%20mit%20Moodle%20integrieren" title="StumbleUpon"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.oncode.info%2F2006%2F09%2F21%2Fsvn-mit-moodle-integrieren%2F&amp;t=SVN%20mit%20Moodle%20integrieren" title="Facebook"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.oncode.info%2F2006%2F09%2F21%2Fsvn-mit-moodle-integrieren%2F&amp;title=SVN%20mit%20Moodle%20integrieren&amp;annotation=Moodle%20eignet%20sich%20sehr%20gut%20um%20Dokumente%20f%C3%BCr%20Lernende%20bereitzuhalten%20und%20zu%20publizieren.%20SVN%20eignet%20sich%2C%20um%20Dokumente%20abzulegen%20wenn%20mehrere%20Leute%20zusammenarbeiten.%20Was%20liegt%20also%20n%C3%A4her%20als%20die%20beiden%20Dinge%20zu%20kombinieren%3F" title="Google Bookmarks"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.netvibes.com/share?title=SVN%20mit%20Moodle%20integrieren&amp;url=http%3A%2F%2Fblog.oncode.info%2F2006%2F09%2F21%2Fsvn-mit-moodle-integrieren%2F" title="Netvibes"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fblog.oncode.info%2F2006%2F09%2F21%2Fsvn-mit-moodle-integrieren%2F&amp;title=SVN%20mit%20Moodle%20integrieren" title="Reddit"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=SVN%20mit%20Moodle%20integrieren%20-%20http%3A%2F%2Fblog.oncode.info%2F2006%2F09%2F21%2Fsvn-mit-moodle-integrieren%2F" title="Twitter"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fblog.oncode.info%2F2006%2F09%2F21%2Fsvn-mit-moodle-integrieren%2F&amp;partner=sociable" title="Print"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=SVN%20mit%20Moodle%20integrieren&amp;body=http%3A%2F%2Fblog.oncode.info%2F2006%2F09%2F21%2Fsvn-mit-moodle-integrieren%2F" title="email"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://linkarena.com/bookmarks/addlink/?url=http%3A%2F%2Fblog.oncode.info%2F2006%2F09%2F21%2Fsvn-mit-moodle-integrieren%2F&amp;title=SVN%20mit%20Moodle%20integrieren" title="LinkArena"><img src="http://blog.oncode.info/wp-content/plugins/sociable/images/linkarena.png" title="LinkArena" alt="LinkArena" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.oncode.info/2006/09/21/svn-mit-moodle-integrieren/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
