<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Table of Content</title>
	<atom:link href="http://blog.foaa.de/plugins/table-of-content/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.foaa.de</link>
	<description>Hosting Struggles</description>
	<lastBuildDate>Mon, 26 Jul 2010 07:37:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: uk</title>
		<link>http://blog.foaa.de/plugins/table-of-content/comment-page-1/#comment-6132</link>
		<dc:creator>uk</dc:creator>
		<pubDate>Tue, 20 Jul 2010 10:03:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.foaa.de/?page_id=79#comment-6132</guid>
		<description>@Vit: Ok, if you have copied the exact syntax, you probably want to remove the spaces before &quot;]&quot; and after &quot;[&quot; whenever it says &quot;[ table of content ]&quot; or &quot;[ /table-of-content ]&quot;. I had to put those in, because otherwise it would have been parsed. Try (hope the comment section wont be parsed): &lt;pre&gt;[table-of-content] your content [/table-of-content]&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>@Vit: Ok, if you have copied the exact syntax, you probably want to remove the spaces before &#8220;]&#8221; and after &#8220;[" whenever it says "[ table of content ]&#8221; or &#8220;[ /table-of-content ]&#8220;. I had to put those in, because otherwise it would have been parsed. Try (hope the comment section wont be parsed):
<pre>[table-of-content] your content [/table-of-content]</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vit</title>
		<link>http://blog.foaa.de/plugins/table-of-content/comment-page-1/#comment-6131</link>
		<dc:creator>Vit</dc:creator>
		<pubDate>Tue, 20 Jul 2010 08:08:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.foaa.de/?page_id=79#comment-6131</guid>
		<description>Hi Uk. 
Thank you 4 your plugin, but I can&#039;t start it working, I don&#039;t know the major things of Wp &amp; php I think.

Activated your plugin
Copy&#039;n&#039;pasted (just for test) your content under &quot;the Syntax of the parsed Content&quot; in my page.
Published.
Tested 
-- Nothing happened

I&#039;m tried to paste
So am I have to use 
$result = $TableOfContent-&gt;parse_contents( $contents, $args );
echo $result-&gt;navigation;
echo $result-&gt;content; ???
In which file I have to put it? I&#039;ve tried page.php &amp; function.php
Where I&#039;m going wrong?/
Thank you UK!</description>
		<content:encoded><![CDATA[<p>Hi Uk.<br />
Thank you 4 your plugin, but I can&#8217;t start it working, I don&#8217;t know the major things of Wp &amp; php I think.</p>
<p>Activated your plugin<br />
Copy&#8217;n'pasted (just for test) your content under &#8220;the Syntax of the parsed Content&#8221; in my page.<br />
Published.<br />
Tested<br />
&#8211; Nothing happened</p>
<p>I&#8217;m tried to paste<br />
So am I have to use<br />
$result = $TableOfContent-&gt;parse_contents( $contents, $args );<br />
echo $result-&gt;navigation;<br />
echo $result-&gt;content; ???<br />
In which file I have to put it? I&#8217;ve tried page.php &amp; function.php<br />
Where I&#8217;m going wrong?/<br />
Thank you UK!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uk</title>
		<link>http://blog.foaa.de/plugins/table-of-content/comment-page-1/#comment-6001</link>
		<dc:creator>uk</dc:creator>
		<pubDate>Thu, 15 Jul 2010 00:24:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.foaa.de/?page_id=79#comment-6001</guid>
		<description>@wjm: Hi again. Your persistence is most appreciated :)
The thing i &quot;try to do with my code&quot; is replacing all non letters and non numbers (&lt;a href=&quot;http://www.regular-expressions.info/unicode.html&quot; rel=&quot;nofollow&quot;&gt;unicode&lt;/a&gt;) within the title with dashes and then removing all the generated multiple dashes and all in the end and at the beginning of the string afterwards. I have to confess, i am more the perl programmer than PHP and not at all comfortable with those very_long_functions_which_i_cant_remember() in PHP. So my attempt was probably the more perlish one, but, non the less, not working on some installations. Can you compile PHP without unicode support ? That would at least explain it.. 
Thanks for your fix. I&#039;ve commited it to WP plugins.</description>
		<content:encoded><![CDATA[<p>@wjm: Hi again. Your persistence is most appreciated <img src='http://blog.foaa.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
The thing i &#8220;try to do with my code&#8221; is replacing all non letters and non numbers (<a href="http://www.regular-expressions.info/unicode.html" rel="nofollow">unicode</a>) within the title with dashes and then removing all the generated multiple dashes and all in the end and at the beginning of the string afterwards. I have to confess, i am more the perl programmer than PHP and not at all comfortable with those very_long_functions_which_i_cant_remember() in PHP. So my attempt was probably the more perlish one, but, non the less, not working on some installations. Can you compile PHP without unicode support ? That would at least explain it..<br />
Thanks for your fix. I&#8217;ve commited it to WP plugins.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wjm</title>
		<link>http://blog.foaa.de/plugins/table-of-content/comment-page-1/#comment-6000</link>
		<dc:creator>wjm</dc:creator>
		<pubDate>Thu, 15 Jul 2010 00:06:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.foaa.de/?page_id=79#comment-6000</guid>
		<description>Hi Ulrich,
I found the bug.
for some reason if your heading had a special character the whole anchor name was empty.

i dont really unserstand what you try to do with your code when you do.

`
$anchor =
	preg_replace( &#039;/\-+$/&#039;, &#039;&#039;,
	preg_replace( &#039;/^\-+/&#039;, &#039;&#039;,
	preg_replace( &#039;/\-\-+/&#039;, &#039;-&#039;,
	preg_replace( &#039;/[^\p{L}\p{N}\-_\.]/u&#039;, &#039;-&#039;,
		strtolower( $title )
	) ) ) )
;
`
but i think it is much easier to do this, and it takes care of special chars.
`
$anchor = sanitize_title_with_dashes( strtolower( $title ) );
`
in case the code doesnt display correctly.
there is a link
http://wordpress.pastebin.com/j0VwKNmx

with this modification the script works just fine.
let me know what you think

- wjm</description>
		<content:encoded><![CDATA[<p>Hi Ulrich,<br />
I found the bug.<br />
for some reason if your heading had a special character the whole anchor name was empty.</p>
<p>i dont really unserstand what you try to do with your code when you do.</p>
<p>`<br />
$anchor =<br />
	preg_replace( &#8216;/\-+$/&#8217;, &#8221;,<br />
	preg_replace( &#8216;/^\-+/&#8217;, &#8221;,<br />
	preg_replace( &#8216;/\-\-+/&#8217;, &#8216;-&#8217;,<br />
	preg_replace( &#8216;/[^\p{L}\p{N}\-_\.]/u&#8217;, &#8216;-&#8217;,<br />
		strtolower( $title )<br />
	) ) ) )<br />
;<br />
`<br />
but i think it is much easier to do this, and it takes care of special chars.<br />
`<br />
$anchor = sanitize_title_with_dashes( strtolower( $title ) );<br />
`<br />
in case the code doesnt display correctly.<br />
there is a link<br />
<a href="http://wordpress.pastebin.com/j0VwKNmx" rel="nofollow">http://wordpress.pastebin.com/j0VwKNmx</a></p>
<p>with this modification the script works just fine.<br />
let me know what you think</p>
<p>- wjm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uk</title>
		<link>http://blog.foaa.de/plugins/table-of-content/comment-page-1/#comment-5778</link>
		<dc:creator>uk</dc:creator>
		<pubDate>Mon, 05 Jul 2010 09:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.foaa.de/?page_id=79#comment-5778</guid>
		<description>@wjm: Could you elaborate on this or provide a sample ? Could not see the bug .. eg here: http://blog.foaa.de/decency/configuration/ or here http://blog.foaa.de/decency/configuration/policies/, the first a-tags look fine. Thanks.</description>
		<content:encoded><![CDATA[<p>@wjm: Could you elaborate on this or provide a sample ? Could not see the bug .. eg here: <a href="http://blog.foaa.de/decency/configuration/" rel="nofollow">http://blog.foaa.de/decency/configuration/</a> or here <a href="http://blog.foaa.de/decency/configuration/policies/" rel="nofollow">http://blog.foaa.de/decency/configuration/policies/</a>, the first a-tags look fine. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wjm</title>
		<link>http://blog.foaa.de/plugins/table-of-content/comment-page-1/#comment-5775</link>
		<dc:creator>wjm</dc:creator>
		<pubDate>Mon, 05 Jul 2010 04:29:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.foaa.de/?page_id=79#comment-5775</guid>
		<description>thanks man for the fast response.
here i go with another bug,

the first anchor appears empty, getting name=&quot;&quot;

thanks for your support,
-wjm</description>
		<content:encoded><![CDATA[<p>thanks man for the fast response.<br />
here i go with another bug,</p>
<p>the first anchor appears empty, getting name=&#8221;"</p>
<p>thanks for your support,<br />
-wjm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uk</title>
		<link>http://blog.foaa.de/plugins/table-of-content/comment-page-1/#comment-5764</link>
		<dc:creator>uk</dc:creator>
		<pubDate>Sun, 04 Jul 2010 18:39:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.foaa.de/?page_id=79#comment-5764</guid>
		<description>@wjm: Thanks for the bug report. I fixed it in the current 0.5.1, which you can download either above or via Wordpress Update.</description>
		<content:encoded><![CDATA[<p>@wjm: Thanks for the bug report. I fixed it in the current 0.5.1, which you can download either above or via WordPress Update.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wjm</title>
		<link>http://blog.foaa.de/plugins/table-of-content/comment-page-1/#comment-5729</link>
		<dc:creator>wjm</dc:creator>
		<pubDate>Sat, 03 Jul 2010 19:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.foaa.de/?page_id=79#comment-5729</guid>
		<description>a new bug,
there is a missing 

http://wordpress.org/support/topic/419133?replies=1

it includes the input and output code.
check it out!

thanks
-wjm

could you send me an email when you fix it as i need to apply the changes asaps.</description>
		<content:encoded><![CDATA[<p>a new bug,<br />
there is a missing </p>
<p><a href="http://wordpress.org/support/topic/419133?replies=1" rel="nofollow">http://wordpress.org/support/topic/419133?replies=1</a></p>
<p>it includes the input and output code.<br />
check it out!</p>
<p>thanks<br />
-wjm</p>
<p>could you send me an email when you fix it as i need to apply the changes asaps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uk</title>
		<link>http://blog.foaa.de/plugins/table-of-content/comment-page-1/#comment-4941</link>
		<dc:creator>uk</dc:creator>
		<pubDate>Mon, 17 May 2010 13:34:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.foaa.de/?page_id=79#comment-4941</guid>
		<description>Thanks for reporting, is in new upstream via SVN or WP updater.</description>
		<content:encoded><![CDATA[<p>Thanks for reporting, is in new upstream via SVN or WP updater.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wjm</title>
		<link>http://blog.foaa.de/plugins/table-of-content/comment-page-1/#comment-4934</link>
		<dc:creator>wjm</dc:creator>
		<pubDate>Mon, 17 May 2010 03:30:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.foaa.de/?page_id=79#comment-4934</guid>
		<description>i found a bug,
look at it, and at the solution.
http://wordpress.org/support/topic/399878?replies=1</description>
		<content:encoded><![CDATA[<p>i found a bug,<br />
look at it, and at the solution.<br />
<a href="http://wordpress.org/support/topic/399878?replies=1" rel="nofollow">http://wordpress.org/support/topic/399878?replies=1</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
