<?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>Commentaires sur : Cherche plugin désespérement</title>
	<atom:link href="http://www.digitaladventures.fr/2008/12/cherche-plugin-desesperement/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digitaladventures.fr/2008/12/cherche-plugin-desesperement/</link>
	<description>Le merveilleux monde d&#039;internet et des médias, vu par la lorgnette !</description>
	<lastBuildDate>Fri, 20 Jan 2012 08:35:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Par : bitonio</title>
		<link>http://www.digitaladventures.fr/2008/12/cherche-plugin-desesperement/comment-page-1/#comment-7</link>
		<dc:creator>bitonio</dc:creator>
		<pubDate>Sun, 21 Dec 2008 23:03:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.drochon.net/?p=173#comment-7</guid>
		<description>I solved it by looking at the source code.
I was desperatly trying to put the TOC before the_content() call. I understood that this call triggered filters and so your plugin.

Here is the solution:

Somewhere in the_loop, before the_content(), set the PHP snippet:
&lt;code&gt;
	&lt;?php		
		$content = get_the_content();
		$content = apply_filters(&#039;the_content&#039;, $content);
		$content = str_replace(&#039;]]&gt;&#039;, &#039;]]&gt;&#039;, $content);
	?&gt;
&lt;/code&gt;
Then replace your &lt;code&gt;&lt;?php the_content() ?&gt;&lt;/code&gt; by

&lt;code&gt;			
	&lt;?php wptoc_show_toc_as_ulist(); ?&gt;
	&lt;?php echo $content ?&gt;
&lt;/code&gt;

Now my pages are running fine ;-) Check the &lt;a href=&quot;http://blog.drochon.net/photos/faq/&quot; rel=&quot;nofollow&quot;&gt;FAQ&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I solved it by looking at the source code.<br />
I was desperatly trying to put the TOC before the_content() call. I understood that this call triggered filters and so your plugin.</p>
<p>Here is the solution:</p>
<p>Somewhere in the_loop, before the_content(), set the PHP snippet:<br />
<code><br />
	< ?php<br />
		$content = get_the_content();<br />
		$content = apply_filters('the_content', $content);<br />
		$content = str_replace(']]>', ']]&gt;', $content);<br />
	?><br />
</code><br />
Then replace your <code>< ?php the_content() ?></code> by</p>
<p><code><br />
	< ?php wptoc_show_toc_as_ulist(); ?><br />
	< ?php echo $content ?><br />
</code></p>
<p>Now my pages are running fine ;-) Check the <a href="http://blog.drochon.net/photos/faq/" rel="nofollow">FAQ</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : bitonio</title>
		<link>http://www.digitaladventures.fr/2008/12/cherche-plugin-desesperement/comment-page-1/#comment-6</link>
		<dc:creator>bitonio</dc:creator>
		<pubDate>Tue, 16 Dec 2008 09:58:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.drochon.net/?p=173#comment-6</guid>
		<description>Many thanks Laran for your support. I dropped you an email with the details.</description>
		<content:encoded><![CDATA[<p>Many thanks Laran for your support. I dropped you an email with the details.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Laran Evans</title>
		<link>http://www.digitaladventures.fr/2008/12/cherche-plugin-desesperement/comment-page-1/#comment-5</link>
		<dc:creator>Laran Evans</dc:creator>
		<pubDate>Tue, 16 Dec 2008 02:03:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.drochon.net/?p=173#comment-5</guid>
		<description>Get in touch. I&#039;ll try to help you get it working.</description>
		<content:encoded><![CDATA[<p>Get in touch. I&#8217;ll try to help you get it working.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

