<?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>Stefan Sobek Blog</title>
	<atom:link href="http://www.sobek.info/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sobek.info/blog</link>
	<description>Writing about IT, Software Engineering, sports and other stuff</description>
	<lastBuildDate>Fri, 04 Jun 2010 07:24:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Load data from csv into html-table</title>
		<link>http://www.sobek.info/blog/2010/06/04/load-data-from-csv-into-html-table/</link>
		<comments>http://www.sobek.info/blog/2010/06/04/load-data-from-csv-into-html-table/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 07:23:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[csv2table]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.sobek.info/blog/?p=278</guid>
		<description><![CDATA[Situation:
Imagine your customer has a bunch of Excel-files which he wanted to display on a website in html-form. 
Problem:
What can you do here? You can write an importer to a database, or let the customer upload the excel file on a webserver and write a parser for the excel files etc. These are all non-trivial [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Situation:</strong><br />
Imagine your customer has a bunch of Excel-files which he wanted to display on a website in html-form. </p>
<p><strong>Problem:</strong><br />
What can you do here? You can write an importer to a database, or let the customer upload the excel file on a webserver and write a parser for the excel files etc. These are all non-trivial solutions for the problem that you want to easily display your information from the csv on a webpage into a table. </p>
<p><strong>Solution: </strong><br />
I found a plugin called jquery csv2table. This is very simple to use. A CSV-file will be read asynchrounosly and a HTML-table will be created of it. So you can simply let your customer load his csv file up and the table will be created automatically. Optional support of sorting, highlighting etc. Link: http://plugins.jquery.com/project/csv2table</p>
<p><strong>Example: </strong></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p278code2'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p2782"><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code" id="p278code2"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;view1&quot;</span><span style="color: #339933;">&gt;&lt;/</span>div<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
$<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#view1'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">csv2table</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'./data/Book12.csv'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>This code will load the data from Book12.csv into the div &#8220;view1&#8243;. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sobek.info/blog/2010/06/04/load-data-from-csv-into-html-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux, Unix, Mac &#8211; Loop filenames with spaces</title>
		<link>http://www.sobek.info/blog/2010/05/10/linux-unix-mac-loop-filenames-with-spaces/</link>
		<comments>http://www.sobek.info/blog/2010/05/10/linux-unix-mac-loop-filenames-with-spaces/#comments</comments>
		<pubDate>Mon, 10 May 2010 14:23:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[loop filenames]]></category>
		<category><![CDATA[shellscript]]></category>
		<category><![CDATA[spaces in linux filenames]]></category>

		<guid isPermaLink="false">http://www.sobek.info/blog/?p=272</guid>
		<description><![CDATA[Situation 
You want to operate on a linux, unix or mac system some files in a bash script and do some file operations like modifying the text content or moving the files to another location depending on the filename, content or another mathinc pattern. 
Problem 
Wondered why you have problems with windows files in a [...]]]></description>
			<content:encoded><![CDATA[<h5>Situation </h5>
<p>You want to operate on a linux, unix or mac system some files in a bash script and do some file operations like modifying the text content or moving the files to another location depending on the filename, content or another mathinc pattern. </p>
<h5>Problem </h5>
<p>Wondered why you have problems with windows files in a network when looping over them? Linux takes whitespaces in file name as line separator so that echoing the file will cause a separate line and so you cannot operate on this file. </p>
<h5>Solution </h5>
<p>I guess it is called Instruction Field Separator or something. You have to set this only to line break and not to whitespaces. First save the old variable content, then set the new content so that the bash do not takes whitespaces as line separators</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p272code4'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p2724"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code" id="p272code4"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">OLDIFS</span>=<span style="color: #007800;">$IFS</span>
<span style="color: #007800;">IFS</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-en</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>\b&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">for</span> FILE <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.txt)
do
   echo $FILE
done
&nbsp;
$IFS = $OLDIFS</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.sobek.info/blog/2010/05/10/linux-unix-mac-loop-filenames-with-spaces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jquery introduction part 1</title>
		<link>http://www.sobek.info/blog/2010/04/01/jquery-introduction-part-1/</link>
		<comments>http://www.sobek.info/blog/2010/04/01/jquery-introduction-part-1/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 09:00:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jquery introduction]]></category>

		<guid isPermaLink="false">http://www.sobek.info/blog/?p=262</guid>
		<description><![CDATA[Why jquery or why use a js-lib at all?
There are many Javascript libraries on the market, e.g. script.aculo.us, jquery, dojo, Prototype and so on. For most of the tasks there is no special reason why jquery. It ist mostly a matter of actual knowledge of the developers to keep learning time low when there is [...]]]></description>
			<content:encoded><![CDATA[<h3><strong>Why jquery or why use a js-lib at all?</strong></h3>
<p>There are many Javascript libraries on the market, e.g. script.aculo.us, jquery, dojo, Prototype and so on. For most of the tasks there is no special reason why jquery. It ist mostly a matter of actual knowledge of the developers to keep learning time low when there is a basic knowledge available. Some JS-libs have an easier handling e.g. of json than other, in detail using json in jquery is simpler than in prototype.</p>
<p>Why should you use a js-lib at all? There are several reasons:</p>
<h4><strong>Simpler syntax and less code</strong></h4>
<p>Imagine you want to modify every div-element which has class &#8220;payment&#8221; assigned and want to set the background color to &#8220;#cccccc&#8221; to these elements.<br />
You have something like this:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p262code9'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p2629"><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code" id="p262code9"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;list&quot;&gt;
  &lt;div class=&quot;payment&quot;&gt;some text&lt;/div&gt;
  &lt;div&gt;some text&lt;/div&gt;
  &lt;div class=&quot;payment&quot;&gt;some text&lt;/div&gt;
  &lt;div class=&quot;payment&quot;&gt;some text&lt;/div&gt;
&lt;/div&gt;</pre></td></tr></table></div>

<p>With normal JS you could do the job like this:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p262code10'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p26210"><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code" id="p262code10"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> list <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'list'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> list.<span style="color: #660066;">childNodes</span>.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>list.<span style="color: #660066;">childNodes</span>.<span style="color: #000066; font-weight: bold;">item</span><span style="color: #009900;">&#40;</span>i<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">className</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;payment&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    	list.<span style="color: #660066;">childNodes</span>.<span style="color: #000066; font-weight: bold;">item</span><span style="color: #009900;">&#40;</span>i<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">style</span>.<span style="color: #660066;">backgroundColor</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'#cccccc'</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Ok, six lines of code and moderate readable but what with all browser support? Umpf. And imagine this is a simple example.</p>
<p>With jquery you do:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p262code11'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p26211"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p262code11"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div.payment'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'background-color'</span> <span style="color: #339933;">,</span> <span style="color: #3366CC;">'#cccccc'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>And this runs in all browsers.</p>
<h4><strong>Better readability</strong></h4>
<p>Isn&#8217;t the example above better readable? You use css-selectors for selecting elements in javascript.</p>
<p>E.g. you want to remove the class from the div elements which are childs of the div with id &#8220;list&#8221;.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p262code12'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p26212"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p262code12"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div#list div.payment'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'payment'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span></pre></td></tr></table></div>

<h4><strong>Better and easier extendability </strong></h4>
<p>You can simply create own plugins.</p>
<h4><strong>Multi-Browser compatibility</strong></h4>
<p>Nearly all functions will run in every browser.</p>
<h3><strong>There are often some cons why you should not use js-libs:</strong></h3>
<h4><strong>Big libray included</strong></h4>
<p>Yes it can be but e.g. with jquery you can use the compressed version for the live version. This will have only round about ~50k. And browser will cache the js file.</p>
<h4><strong>Higher loading times</strong></h4>
<p>Travering can be a costy thing, true. But with newer version it will become faster.</p>
<h3><strong>Conclusion</strong></h3>
<p>So I recommend using jquery because of the better readability, extendability and the separation of concerns.</p>
<h3><strong>Tip of the day: </strong></h3>
<p>Do not put JS-code inside html document when not needed. Use event-handling in outsourced js-file.</p>
<p>More infos about jquery you can find under <a title="jquery" href="http://www.javascriptkata.com/2007/05/29/3-reasons-why-i-use-jquery/" target="_blank">http://www.javascriptkata.com/2007/05/29/3-reasons-why-i-use-jquery/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sobek.info/blog/2010/04/01/jquery-introduction-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Permanent Menu in Typo3</title>
		<link>http://www.sobek.info/blog/2010/03/30/permanent-menu-in-typo3-2/</link>
		<comments>http://www.sobek.info/blog/2010/03/30/permanent-menu-in-typo3-2/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 12:26:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[permanent menu]]></category>
		<category><![CDATA[typoscript]]></category>

		<guid isPermaLink="false">http://www.sobek.info/blog/?p=73</guid>
		<description><![CDATA[To fix some menu entries in your menu so that they are displayed all the time use the following sample code:

?View Code JAVASCRIPT1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
lib.mainMenu.alwaysActivePIDlist = 3,4,5
#  main menu
lib.mainMenu= HMENU
lib.mainMenu.entryLevel = 0
#  show these uids of sites no matter where we are lib.mainMenu.alwaysActivePIDlist  = 3,4,5 lib.mainMenu &#123;
# erstes level
1 = TMENU
1.wrap = &#38;lt;ul  [...]]]></description>
			<content:encoded><![CDATA[<p>To fix some menu entries in your menu so that they are displayed all the time use the following sample code:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p73code14'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p7314"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
</pre></td><td class="code" id="p73code14"><pre class="javascript" style="font-family:monospace;">lib.<span style="color: #660066;">mainMenu</span>.<span style="color: #660066;">alwaysActivePIDlist</span> <span style="color: #339933;">=</span> 3<span style="color: #339933;">,</span>4<span style="color: #339933;">,</span>5
#  main menu
lib.<span style="color: #660066;">mainMenu</span><span style="color: #339933;">=</span> HMENU
lib.<span style="color: #660066;">mainMenu</span>.<span style="color: #660066;">entryLevel</span> <span style="color: #339933;">=</span> 0
#  show these uids of sites no matter where we are lib.<span style="color: #660066;">mainMenu</span>.<span style="color: #660066;">alwaysActivePIDlist</span>  <span style="color: #339933;">=</span> 3<span style="color: #339933;">,</span>4<span style="color: #339933;">,</span>5 lib.<span style="color: #660066;">mainMenu</span> <span style="color: #009900;">&#123;</span>
# erstes level
1 <span style="color: #339933;">=</span> TMENU
1.<span style="color: #660066;">wrap</span> <span style="color: #339933;">=</span> <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>ul  id<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;topnavigation&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;|&amp;</span>lt<span style="color: #339933;">;/</span>ul<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
1<span style="color: #009900;">&#123;</span>
  # no state<span style="color: #339933;">:</span> normale  Formatierung
  NO<span style="color: #009900;">&#123;</span>
    wrapItemAndSub <span style="color: #339933;">=</span>  <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>li<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;|&amp;</span>lt<span style="color: #339933;">;/</span>li<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  # act state<span style="color: #339933;">:</span> gültig von der rootseite  bis zur aktuellen Seite
  ACT<span style="color: #339933;">=</span>1
  ACT<span style="color: #009900;">&#123;</span>
    wrapItemAndSub <span style="color: #339933;">=</span> <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>li  <span style="color: #003366; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;menu-level1-active&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;|&amp;</span>lt<span style="color: #339933;">;/</span>li<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  # cur state<span style="color: #339933;">:</span> gültig für die aktuelle  Seite
  CUR<span style="color: #339933;">=</span>1
  CUR<span style="color: #009900;">&#123;</span>
    wrapItemAndSub <span style="color: #339933;">=</span> <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>li  <span style="color: #003366; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;menu-level1-current-active&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;|&amp;</span>lt<span style="color: #339933;">;/</span>li<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  # ifsub state<span style="color: #339933;">:</span> gültig für seiten die  unterseiten haben
  IFSUB<span style="color: #339933;">=</span>1
  IFSUB<span style="color: #009900;">&#123;</span>
    wrapItemAndSub <span style="color: #339933;">=</span> <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>li  <span style="color: #003366; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;menu-level1-with-subpage&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;|&amp;</span>lt<span style="color: #339933;">;/</span>li<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
# zweites level
2 <span style="color: #339933;">=</span> TMENU
2.<span style="color: #660066;">wrap</span> <span style="color: #339933;">=</span> <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>ul  <span style="color: #003366; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;menu-level2&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;|&amp;</span>lt<span style="color: #339933;">;/</span>ul<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
2<span style="color: #009900;">&#123;</span>
  NO<span style="color: #009900;">&#123;</span>
    wrapItemAndSub <span style="color: #339933;">=</span>  <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>li<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;|&amp;</span>lt<span style="color: #339933;">;/</span>li<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  ACT<span style="color: #339933;">=</span>1
  ACT<span style="color: #009900;">&#123;</span>
  wrapItemAndSub <span style="color: #339933;">=</span> <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>li  <span style="color: #003366; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;menu-level2-active&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;|&amp;</span>lt<span style="color: #339933;">;/</span>li<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  CUR<span style="color: #339933;">=</span>1
  CUR<span style="color: #009900;">&#123;</span>
    wrapItemAndSub <span style="color: #339933;">=</span> <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>li  <span style="color: #003366; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;menu-level2-current-active&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;|&amp;</span>lt<span style="color: #339933;">;/</span>li<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  IFSUB<span style="color: #339933;">=</span>1
  IFSUB<span style="color: #009900;">&#123;</span>
    wrapItemAndSub <span style="color: #339933;">=</span> <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>li  <span style="color: #003366; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;menu-level2-with-subpage&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;|&amp;</span>lt<span style="color: #339933;">;/</span>li<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.sobek.info/blog/2010/03/30/permanent-menu-in-typo3-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data URIs in CSS</title>
		<link>http://www.sobek.info/blog/2010/03/30/data-uris-in-css/</link>
		<comments>http://www.sobek.info/blog/2010/03/30/data-uris-in-css/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 12:04:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[css tricks]]></category>

		<guid isPermaLink="false">http://www.sobek.info/blog/?p=244</guid>
		<description><![CDATA[Found an interesting article about Data URIs.
It is possible to embed the image data directly into the document. This can either be the html document or a css-file.

?View Code HTML1
2
3
4
5
6
7
li {
  background:
    url(data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7)
    no-repeat
    left center;
  padding: 5px 0 5px 25px;
}

This is cool stuff [...]]]></description>
			<content:encoded><![CDATA[<p>Found an interesting article about Data URIs.<br />
It is possible to embed the image data directly into the document. This can either be the html document or a css-file.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p244code16'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p24416"><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code" id="p244code16"><pre class="html" style="font-family:monospace;">li {
  background:
    url(data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7)
    no-repeat
    left center;
  padding: 5px 0 5px 25px;
}</pre></td></tr></table></div>

<p>This is cool stuff but will not run in IE<8. </p>
<p>So why should i use this? Normally not, but to save requests. </p>
<p>Great article from <a href="http://css-tricks.com/data-uris/">http://css-tricks.com/data-uris/ </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sobek.info/blog/2010/03/30/data-uris-in-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Revert changes in svn</title>
		<link>http://www.sobek.info/blog/2010/03/25/revert-changes-in-svn/</link>
		<comments>http://www.sobek.info/blog/2010/03/25/revert-changes-in-svn/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 10:46:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[merge]]></category>
		<category><![CDATA[reverse change]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[undo merge]]></category>

		<guid isPermaLink="false">http://www.sobek.info/blog/?p=236</guid>
		<description><![CDATA[Sometimes you have to revert changes in svn from lets say a commit you made some days ago. Since then more commits where done and this can be a hard job to undo your changes. So how to undo the changes e.g. from your change in revision 120 when the actual revision is 140?
Go to [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you have to revert changes in svn from lets say a commit you made some days ago. Since then more commits where done and this can be a hard job to undo your changes. So how to undo the changes e.g. from your change in revision 120 when the actual revision is 140?</p>
<p>Go to your trunk workdir and use the following:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p236code19'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p23619"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p236code19"><pre class="bash" style="font-family:monospace;">mvn merge <span style="color: #660033;">-r</span> <span style="color: #000000;">120</span>:<span style="color: #000000;">119</span> http:<span style="color: #000000; font-weight: bold;">//</span>my.svn.repo<span style="color: #000000; font-weight: bold;">/</span>trunk<span style="color: #000000; font-weight: bold;">/</span></pre></td></tr></table></div>

<p>The changes you made will be reverted. If there are some conflicts they will be shown.<br />
Maybe it is a good idea to make a dry run via:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p236code20'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p23620"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p236code20"><pre class="bash" style="font-family:monospace;">mvn merge <span style="color: #660033;">--dry-run</span> <span style="color: #660033;">-r</span> <span style="color: #000000;">120</span>:<span style="color: #000000;">119</span> http:<span style="color: #000000; font-weight: bold;">//</span>my.svn.repo<span style="color: #000000; font-weight: bold;">/</span>trunk<span style="color: #000000; font-weight: bold;">/</span></pre></td></tr></table></div>

<p>So no changes are really made but only shows them.</p>
<p>Of course you can use this for reverting merges.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sobek.info/blog/2010/03/25/revert-changes-in-svn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Short Maven introduction</title>
		<link>http://www.sobek.info/blog/2010/03/02/short-maven-introduction/</link>
		<comments>http://www.sobek.info/blog/2010/03/02/short-maven-introduction/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 13:28:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software Engineering]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[maven2]]></category>
		<category><![CDATA[mvn]]></category>

		<guid isPermaLink="false">http://www.sobek.info/blog/?p=231</guid>
		<description><![CDATA[Due to the fact I got in touch with maven2 and I think that maven2 is very helpful will give a short introduction. Bigger projects normally have a more complex configuration but I will start from the scratch.
Maven will create a kind of project sceleton with the following command

?View Code JAVA1
mvn archetype:create -DgroupId=info.sobek.testapp -DartifactId=testapp

If you [...]]]></description>
			<content:encoded><![CDATA[<p>Due to the fact I got in touch with maven2 and I think that maven2 is very helpful will give a short introduction. Bigger projects normally have a more complex configuration but I will start from the scratch.</p>
<p><strong>Maven will create a kind of project sceleton with the following command</strong></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p231code23'); return false;">View Code</a> JAVA</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p23123"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p231code23"><pre class="java" style="font-family:monospace;">mvn archetype<span style="color: #339933;">:</span>create <span style="color: #339933;">-</span>DgroupId<span style="color: #339933;">=</span>info.<span style="color: #006633;">sobek</span>.<span style="color: #006633;">testapp</span> <span style="color: #339933;">-</span>DartifactId<span style="color: #339933;">=</span>testapp</pre></td></tr></table></div>

<p>If you work with e.g. eclipse, you can create the project files for eclipse:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p231code24'); return false;">View Code</a> JAVA</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p23124"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p231code24"><pre class="java" style="font-family:monospace;">mvn eclipse<span style="color: #339933;">:</span>eclipse</pre></td></tr></table></div>

<p>Now you can import it into eclipse with &#8220;import into existing workspace&#8221; option of eclipse. </p>
<p>Maven will normally copy the created so called &#8220;artifacts&#8221; into your local maven repository. Normally located under your home dir and then .m2</p>
<p>When you program depends on several jars and these dependencies are defined in the pom.xml, then maven will copy the jars in their specific version into the local maven repository. This is very helpful because you can simply build your project with another newer or older version of your dependent jar-file. </p>
<p>How to create multi-module projects will be explained in another episode. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sobek.info/blog/2010/03/02/short-maven-introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OCR under linux</title>
		<link>http://www.sobek.info/blog/2010/02/08/ocr-under-linux/</link>
		<comments>http://www.sobek.info/blog/2010/02/08/ocr-under-linux/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 09:04:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[ocr]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[tif]]></category>

		<guid isPermaLink="false">http://www.sobek.info/blog/?p=60</guid>
		<description><![CDATA[Imagine you have a pdf-file you want to make ocr-recognition. Take a scenario where you want to automatically let your linux pc do the job, e.g. in a folder. 
I choose tesseract-ocr as ocr-programm. Easy to install and use and ok for my use. Unfortunately it takes only tif as input file type so that [...]]]></description>
			<content:encoded><![CDATA[<p>Imagine you have a pdf-file you want to make ocr-recognition. Take a scenario where you want to automatically let your linux pc do the job, e.g. in a folder. </p>
<p>I choose tesseract-ocr as ocr-programm. Easy to install and use and ok for my use. Unfortunately it takes only tif as input file type so that we have to convert the pdf to tif first.</p>
<p><strong>To create a tif file with Ghostscript  from pdf:</strong></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p60code27'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p6027"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p60code27"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">gs</span> <span style="color: #660033;">-q</span> <span style="color: #660033;">-r300</span> <span style="color: #660033;">-dBATCH</span> <span style="color: #660033;">-dNOPAUSE</span> <span style="color: #660033;">-sDEVICE</span>=tiff24nc  <span style="color: #660033;">-sOutputFile</span>=Dokument2.tif Dokument1.pdf</pre></td></tr></table></div>

<p><strong><br />
Now start OCR-recognition with tesseract-ocr (maybe you have to install it). </strong></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p60code28'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p6028"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p60code28"><pre class="bash" style="font-family:monospace;"> tesseract Dokument2.tif doc.txt <span style="color: #660033;">-l</span> deu</pre></td></tr></table></div>

<p>-l deu means &#8220;Deutsch&#8221; for German language recognition.<br />
-r300 means 300 DPI</p>
<p>Now it is easy to create a script which will automatically check a folder for new files and start ocr etc. </p>
<p>E.g. you can create a shell-script and start this shell script via cronjob. Maybe I will write an example here later. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sobek.info/blog/2010/02/08/ocr-under-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a pdf from manpages</title>
		<link>http://www.sobek.info/blog/2010/01/16/create-a-pdf-from-manpages/</link>
		<comments>http://www.sobek.info/blog/2010/01/16/create-a-pdf-from-manpages/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 16:01:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[man]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://www.sobek.info/blog/?p=222</guid>
		<description><![CDATA[If you want to printout or save info from manpages simply type:

?View Code BASH1
man -t man &#124; ps2pdf - &#62; man.pdf

]]></description>
			<content:encoded><![CDATA[<p>If you want to printout or save info from manpages simply type:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p222code30'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p22230"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p222code30"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">man</span> <span style="color: #660033;">-t</span> <span style="color: #c20cb9; font-weight: bold;">man</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">ps2pdf</span> - <span style="color: #000000; font-weight: bold;">&gt;</span> man.pdf</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.sobek.info/blog/2010/01/16/create-a-pdf-from-manpages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vertical alignment of html-elements with css</title>
		<link>http://www.sobek.info/blog/2009/12/28/vertical-alignment-of/</link>
		<comments>http://www.sobek.info/blog/2009/12/28/vertical-alignment-of/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 09:40:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[align vertically]]></category>
		<category><![CDATA[alignment]]></category>

		<guid isPermaLink="false">http://www.sobek.info/blog/?p=211</guid>
		<description><![CDATA[There is no vertical-aligment css-attribute in css 2.0. So how to align elements vertically?

?View Code HTML1
2
3
4
5
6
7
8
DIV.container {
    min-height: 10em;
    display: table-cell;
    vertical-align: middle }
...
&#60;DIV class=&#34;container&#34;&#62;
  &#60;P&#62;This small paragraph...
&#60;/DIV&#62;

To align vertically the paragraph P on line 7, you have to use display: table-cell; and vertical-align: middle;
Runs [...]]]></description>
			<content:encoded><![CDATA[<p>There is no vertical-aligment css-attribute in css 2.0. So how to align elements vertically?</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p211code32'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p21132"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code" id="p211code32"><pre class="html" style="font-family:monospace;">DIV.container {
    min-height: 10em;
    display: table-cell;
    vertical-align: middle }
...
&lt;DIV class=&quot;container&quot;&gt;
  &lt;P&gt;This small paragraph...
&lt;/DIV&gt;</pre></td></tr></table></div>

<p>To align vertically the paragraph P on line 7, you have to use display: table-cell; and vertical-align: middle;</p>
<p>Runs on Mozilla, Safari and IE8 but not IE7</p>
<p>This example is from W3.org. Orginal article can be found <a href="http://www.w3.org/Style/Examples/007/center.html#vertical">here</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sobek.info/blog/2009/12/28/vertical-alignment-of/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
