<?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>cHmuul.net &#187; TYPO3</title>
	<atom:link href="http://www.chmuul.net/category/coding/typo3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chmuul.net</link>
	<description>man muss dabey gewesen seyn</description>
	<lastBuildDate>Fri, 20 Aug 2010 08:47:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<meta xmlns="http://www.w3.org/1999/xhtml" name="robots" content="noindex,follow" />
		<item>
		<title>TYPO3 und UTF-8</title>
		<link>http://www.chmuul.net/2010/05/typo3-und-utf-8/</link>
		<comments>http://www.chmuul.net/2010/05/typo3-und-utf-8/#comments</comments>
		<pubDate>Wed, 26 May 2010 10:42:42 +0000</pubDate>
		<dc:creator>AaL</dc:creator>
				<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[UTF-8]]></category>
		<category><![CDATA[Zeichensatz]]></category>

		<guid isPermaLink="false">http://www.chmuul.net/?p=235</guid>
		<description><![CDATA[Beim Umgang mit TYPO3 (und anderen PHP Projekten) und einer UTF-8 Datenbank gibt es einen Stolperstein, der nicht so offensichtlich zu lösen ist.
Der Kniff ist die Datenbank beim Initialisieren auf UTF-8 einzustimmen&#8230; entweder im Konfigurationstool unter &#8220;setDBinit&#8221; mit:
1234SET NAMES utf8
SET CHARACTER SET utf8
SET SESSION character_set_server = utf8
SET character_set_connection = utf8
&#8230; oder einfach direkt in der [...]]]></description>
			<content:encoded><![CDATA[<p>Beim Umgang mit TYPO3 (und anderen PHP Projekten) und einer UTF-8 Datenbank gibt es einen Stolperstein, der nicht so offensichtlich zu lösen ist.<br />
Der Kniff ist die Datenbank beim Initialisieren auf UTF-8 einzustimmen&#8230; entweder im Konfigurationstool unter &#8220;setDBinit&#8221; mit:</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">SET NAMES utf8<br />
SET CHARACTER SET utf8<br />
SET SESSION character_set_server = utf8<br />
SET character_set_connection = utf8</div></td></tr></tbody></table></div>
<p>&#8230; oder einfach direkt in der typo3conf/localconf.php:</p>
<div class="codecolorer-container php blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$TYPO3_CONF_VARS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'SYS'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'setDBinit'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'SET NAMES utf8'</span><span style="color: #339933;">.</span><span style="color: #990000;">chr</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">10</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'SET CHARACTER SET utf8'</span><span style="color: #339933;">.</span><span style="color: #990000;">chr</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">10</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'SET SESSION character_set_server = utf8'</span><span style="color: #339933;">.</span><span style="color: #990000;">chr</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">10</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'SET character_set_connection = utf8'</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<hr /><strong>EDIT: </strong>Ab TYPO 4.4 scheint es Probleme mit dieser Konfiguration zu geben. Verwendet stattdessen einfach nur den ersten Befehl &#8220;SET NAMES utf8;&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chmuul.net/2010/05/typo3-und-utf-8/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Reguläre Ausdrücke in TypoScript</title>
		<link>http://www.chmuul.net/2010/02/regulare-ausdrucke-in-typoscript/</link>
		<comments>http://www.chmuul.net/2010/02/regulare-ausdrucke-in-typoscript/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 13:06:32 +0000</pubDate>
		<dc:creator>AaL</dc:creator>
				<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[conditions]]></category>
		<category><![CDATA[globalString]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[PCRE]]></category>
		<category><![CDATA[regular expressions]]></category>
		<category><![CDATA[TypoScript]]></category>

		<guid isPermaLink="false">http://www.chmuul.net/?p=53</guid>
		<description><![CDATA[TypoScript Variablen und Konstanten mit regulären Ausdrücken zu prüfen ist ein neues Feature ab TYPO3 Version 4.3.0. Leider ist dieses Feature nirgendwo dokumentiert und es finden sich auch keine Beispiele im Internet. Ich habe es nach einiger Frickelei allerdings hingekriegt.
Und zwar ging es darum Google Analytics Javascript Code in die Seite einzufügen, falls eine entsprechende [...]]]></description>
			<content:encoded><![CDATA[<p>TypoScript Variablen und Konstanten mit regulären Ausdrücken zu prüfen ist ein neues Feature ab TYPO3 Version 4.3.0. Leider ist dieses Feature <b>nirgendwo</b> dokumentiert und es finden sich auch keine Beispiele im Internet. Ich habe es nach einiger Frickelei allerdings hingekriegt.</p>
<p>Und zwar ging es darum Google Analytics Javascript Code in die Seite einzufügen, falls eine entsprechende Template-Konstante gesetzt ist. Und so gehts:</p>
<div class="codecolorer-container typoscript blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="typoscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&#91;</span><span style="color: #ed7d14;">globalString</span> <span style="color: #339933; font-weight: bold;">=</span> LIT<span style="color: #339933; font-weight: bold;">:</span><span style="color: #009900;">&#123;</span><span style="color: #009900;"><span style="color: #009900; font-weight: bold;">$</span>GOOGLE_ANALYTICS_ID</span><span style="color: #009900;">&#125;</span> <span style="color: #339933; font-weight: bold;">=</span> <span style="color: #339933; font-weight: bold;">/</span>UA-<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span><span style="color: #cc0000;">0</span>-<span style="color: #cc0000;">9</span><span style="color: #009900;">&#93;</span><span style="color: #339933; font-weight: bold;">+</span><span style="color: #009900;">&#41;</span>-<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span><span style="color: #cc0000;">0</span>-<span style="color: #cc0000;">9</span><span style="color: #009900;">&#93;</span><span style="color: #339933; font-weight: bold;">+</span><span style="color: #009900;">&#41;</span><span style="color: #339933; font-weight: bold;">/</span><span style="color: #009900;">&#93;</span><br />
&nbsp; <span style="color: #aaa; font-style: italic;"># do something</span><br />
<span style="color: #009900;">&#91;</span><span style="color: #ed7d14;">end</span><span style="color: #009900;">&#93;</span></div></td></tr></tbody></table></div>
<p>Wichtig ist dabei, dass <i>globalString</i> reguläre Ausdrücke unterstützt und <i>globalVar</i> nicht. Die Konstante muss man dann weiterhin mit LIT in einen Literal &#8220;typisieren&#8221; und den regulären Ausdruck mit &#8220;/&#8221; umschließen.<br />
Mit Quantoren scheint es allerdings ein paar Probleme zu geben: ([0-9]{2}) als letzter Ausdruck meiner Google Analytics ID hat funktioniert, ([0-9]{1,4}) hingegen nicht. :/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chmuul.net/2010/02/regulare-ausdrucke-in-typoscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rsync bei TYPO3 Projekten</title>
		<link>http://www.chmuul.net/2010/02/rsync-bei-typo3-projekten/</link>
		<comments>http://www.chmuul.net/2010/02/rsync-bei-typo3-projekten/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 12:09:05 +0000</pubDate>
		<dc:creator>AaL</dc:creator>
				<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.chmuul.net/?p=44</guid>
		<description><![CDATA[Wollte heute mal ein TYPO3 Projekt ganz unkompliziert über rsync/ssh auf den Webserver hochladen. Funktioniert ganz gut mit:
1rsync -rulzPh -e 'ssh -ax' ./ ssh-user@ssh-host:/directory
Die Optionen sind -r für rekursiv, -u für update, -l für symbolische Links (erhalten), -z für Komprimierung, -P für &#8211;progress (Fortschrittsanzeige) und &#8211;partial (erlaubt anscheinend fortsetzen von Dateitransfers) und -h für &#8220;human [...]]]></description>
			<content:encoded><![CDATA[<p>Wollte heute mal ein TYPO3 Projekt ganz unkompliziert über rsync/ssh auf den Webserver hochladen. Funktioniert ganz gut mit:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">rsync <span style="color: #660033;">-rulzPh</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'ssh -ax'</span> .<span style="color: #000000; font-weight: bold;">/</span> ssh-user<span style="color: #000000; font-weight: bold;">@</span>ssh-host:<span style="color: #000000; font-weight: bold;">/</span>directory</div></td></tr></tbody></table></div>
<p>Die Optionen sind -r für rekursiv, -u für update, -l für symbolische Links (erhalten), -z für Komprimierung, -P für &#8211;progress (Fortschrittsanzeige) und &#8211;partial (erlaubt anscheinend fortsetzen von Dateitransfers) und -h für &#8220;human readable&#8221; Formate. Mit -e schaltet man die Remote Shell um (da ich ja über SSH verbinde). Damit man aber nicht die ganzen Temp-Dateien und den sonstigen MacOS Filesystem-Mist mit transferiert, erstellt man am besten eine Datei, die zu exkludierende Dateien enthält. Diese hab ich &#8220;.rsync_exclude&#8221; genannt. Der Inhalt sieht dann wie folgt aus:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># exclude this file</span><br />
- .rsync_exclude<br />
<br />
<span style="color: #666666; font-style: italic;"># exclude mac files</span><br />
- .DS_Store<br />
- ._<span style="color: #000000; font-weight: bold;">*</span><br />
<br />
<span style="color: #666666; font-style: italic;"># exclude git repository</span><br />
- .git<br />
<br />
<span style="color: #666666; font-style: italic;"># exclude typo3 temp files</span><br />
- <span style="color: #000000; font-weight: bold;">/</span>public<span style="color: #000000; font-weight: bold;">/</span>typo3temp<span style="color: #000000; font-weight: bold;">/*</span><br />
- <span style="color: #000000; font-weight: bold;">/</span>public<span style="color: #000000; font-weight: bold;">/</span>typo3conf<span style="color: #000000; font-weight: bold;">/</span>temp_<span style="color: #000000; font-weight: bold;">*</span><br />
<br />
<span style="color: #666666; font-style: italic;"># exclude typo3 install file</span><br />
- <span style="color: #000000; font-weight: bold;">/</span>public<span style="color: #000000; font-weight: bold;">/</span>typo3conf<span style="color: #000000; font-weight: bold;">/</span>ENABLE_INSTALL_TOOL<br />
<br />
<span style="color: #666666; font-style: italic;"># exclude typo3 deprecation logs</span><br />
- <span style="color: #000000; font-weight: bold;">/</span>public<span style="color: #000000; font-weight: bold;">/</span>typo3conf<span style="color: #000000; font-weight: bold;">/</span>deprecation_<span style="color: #000000; font-weight: bold;">*</span></div></td></tr></tbody></table></div>
<p>Nun muss man beim Aufruf einfach nur noch <code class="codecolorer text blackboard"><span class="text">--exclude-from=.rsync_exclude</span></code> anhängen und ab gehts!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chmuul.net/2010/02/rsync-bei-typo3-projekten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Saubere GIT Repositories für TYPO3 Projekte</title>
		<link>http://www.chmuul.net/2010/02/saubere-git-repositories-fur-typo3-projekte/</link>
		<comments>http://www.chmuul.net/2010/02/saubere-git-repositories-fur-typo3-projekte/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 15:13:17 +0000</pubDate>
		<dc:creator>AaL</dc:creator>
				<category><![CDATA[GIT]]></category>
		<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[Versionsverwaltung]]></category>

		<guid isPermaLink="false">http://www.chmuul.net/?p=23</guid>
		<description><![CDATA[Ich erstelle gerade ein TYPO3 Projekt und wollte den Sourcecode mit GIT managen. Da ich natürlich &#60;b&#62;nur&#60;/b&#62; die projektspezifischen Dateien ohne temporäre Inhalte und Caches im GIT Repository haben möchte, habe ich folgenden Inhalt in die .git/info/exclude geschrieben:
1234/typo3_src*
/public/typo3temp/*
/public/typo3conf/temp_*
/public/typo3conf/ENABLE_INSTALL_TOOL
&#8230; ausgehend von der Verzeichnisstruktur:
/public
/typo3_src-4.3.1
Jetzt haben wir allerdings das Problem, dass der Ordner public/typo3temp nicht mit ins Repositry [...]]]></description>
			<content:encoded><![CDATA[<p>Ich erstelle gerade ein TYPO3 Projekt und wollte den Sourcecode mit GIT managen. Da ich natürlich &lt;b&gt;nur&lt;/b&gt; die projektspezifischen Dateien ohne temporäre Inhalte und Caches im GIT Repository haben möchte, habe ich folgenden Inhalt in die .git/info/exclude geschrieben:</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/typo3_src*<br />
/public/typo3temp/*<br />
/public/typo3conf/temp_*<br />
/public/typo3conf/ENABLE_INSTALL_TOOL</div></td></tr></tbody></table></div>
<p>&#8230; ausgehend von der Verzeichnisstruktur:<br />
/public<br />
/typo3_src-4.3.1</p>
<p>Jetzt haben wir allerdings das Problem, dass der Ordner public/typo3temp nicht mit ins Repositry eingespült wird. Damit der Ordner doch mit im Repository auftaucht, habe ich in dem Verzeichnis eine .donotdelete Datei erstellt:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #000000; font-weight: bold;">/</span>typo3temp<span style="color: #000000; font-weight: bold;">/</span>.donotdelete<br />
<span style="color: #c20cb9; font-weight: bold;">git</span> add <span style="color: #660033;">-f</span> public<span style="color: #000000; font-weight: bold;">/</span>typo3temp<span style="color: #000000; font-weight: bold;">/</span>.donotdelete</div></td></tr></tbody></table></div>
<p>Danke an den <a href="http://www.suelzomat.de">Klops</a> für den Tipp.</p>
<p>Vielleicht hilfts ja wem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chmuul.net/2010/02/saubere-git-repositories-fur-typo3-projekte/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
