<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<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"
		>
	<channel>
		<title>bbPress Plugin Browser &#187; Tag: spoiler - Recent Posts</title>
		<link>http://bbpress.org/plugins/tags/spoiler</link>
		<description>bbPress Plugin Browser &#187; Tag: spoiler - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Fri, 25 May 2012 18:13:13 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://bbpress.org/plugins/rss/tags/spoiler" rel="self" type="application/rss+xml" />

		<item>
			<title>Playstation Vita on "Spoiler Tags"</title>
			<link>http://bbpress.org/plugins/topic/spoiler-bar/#post-6493</link>
			<pubDate>Mon, 02 May 2011 16:22:20 +0000</pubDate>
			<dc:creator>Playstation Vita</dc:creator>
			<guid isPermaLink="false">6493@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Thanks
</p>]]></description>
					</item>
		<item>
			<title>chandersbs on "Improved Spoiler"</title>
			<link>http://bbpress.org/plugins/topic/improved-spoiler/#post-5303</link>
			<pubDate>Thu, 28 Jan 2010 07:05:31 +0000</pubDate>
			<dc:creator>chandersbs</dc:creator>
			<guid isPermaLink="false">5303@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>this could be very handy when posting links to NSFW sites or something, thanks.
</p>]]></description>
					</item>
		<item>
			<title>nerieru on "Improved Spoiler"</title>
			<link>http://bbpress.org/plugins/topic/improved-spoiler/#post-5262</link>
			<pubDate>Tue, 19 Jan 2010 18:52:19 +0000</pubDate>
			<dc:creator>nerieru</dc:creator>
			<guid isPermaLink="false">5262@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>@Tom, almost. I'm in the final stages here (bbpress wise, not bbp+wp) so it'll be up soon.<br />
@citizenkeith, just press with your iPhone, it should simulate a onMouseOver
</p>]]></description>
					</item>
		<item>
			<title>Tomcraft1980 on "Improved Spoiler"</title>
			<link>http://bbpress.org/plugins/topic/improved-spoiler/#post-5242</link>
			<pubDate>Sun, 17 Jan 2010 18:31:46 +0000</pubDate>
			<dc:creator>Tomcraft1980</dc:creator>
			<guid isPermaLink="false">5242@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Is the demo ready to view?</p>
<p>I don't know exactly what to use this for?</p>
<p>Kind regards</p>
<p>Tom
</p>]]></description>
					</item>
		<item>
			<title>citizenkeith on "Improved Spoiler"</title>
			<link>http://bbpress.org/plugins/topic/improved-spoiler/#post-5238</link>
			<pubDate>Sun, 17 Jan 2010 05:01:40 +0000</pubDate>
			<dc:creator>citizenkeith</dc:creator>
			<guid isPermaLink="false">5238@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Only issue I have is that there's no mouse over with the iPhone. :)
</p>]]></description>
					</item>
		<item>
			<title>nerieru on "Improved Spoiler"</title>
			<link>http://bbpress.org/plugins/topic/improved-spoiler/#post-5236</link>
			<pubDate>Sat, 16 Jan 2010 22:50:09 +0000</pubDate>
			<dc:creator>nerieru</dc:creator>
			<guid isPermaLink="false">5236@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Great, lemme know how you feel about it! :)
</p>]]></description>
					</item>
		<item>
			<title>citizenkeith on "Improved Spoiler"</title>
			<link>http://bbpress.org/plugins/topic/improved-spoiler/#post-5234</link>
			<pubDate>Sat, 16 Jan 2010 20:32:32 +0000</pubDate>
			<dc:creator>citizenkeith</dc:creator>
			<guid isPermaLink="false">5234@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Thanks for your work! Installing now...
</p>]]></description>
					</item>
		<item>
			<title>nerieru on "Improved Spoiler"</title>
			<link>http://bbpress.org/plugins/topic/improved-spoiler/#post-5233</link>
			<pubDate>Sat, 16 Jan 2010 19:42:56 +0000</pubDate>
			<dc:creator>nerieru</dc:creator>
			<guid isPermaLink="false">5233@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Yes, I'll show a demo of it after I finish the development of my site.
</p>]]></description>
					</item>
		<item>
			<title>grassrootspa on "Improved Spoiler"</title>
			<link>http://bbpress.org/plugins/topic/improved-spoiler/#post-5228</link>
			<pubDate>Sat, 16 Jan 2010 18:38:54 +0000</pubDate>
			<dc:creator>grassrootspa</dc:creator>
			<guid isPermaLink="false">5228@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>This looks interesting. Is this in action anyplace?
</p>]]></description>
					</item>
		<item>
			<title>nerieru on "Improved Spoiler"</title>
			<link>http://bbpress.org/plugins/topic/improved-spoiler/#post-5203</link>
			<pubDate>Fri, 15 Jan 2010 00:00:18 +0000</pubDate>
			<dc:creator>nerieru</dc:creator>
			<guid isPermaLink="false">5203@http://bbpress.org/plugins/</guid>
			<description><![CDATA[Allows your users to use spoiler tags with an optional title. [spoiler][/spoiler] and if you want to add a title [spoiler=title][/spoiler]]]></description>
					</item>
		<item>
			<title>Ipstenu on "Spoiler Tags"</title>
			<link>http://bbpress.org/plugins/topic/spoiler-bar/#post-2161</link>
			<pubDate>Mon, 03 Nov 2008 14:11:10 +0000</pubDate>
			<dc:creator>Ipstenu</dc:creator>
			<guid isPermaLink="false">2161@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Yeah I did it the long, slow way.  In my head, bad pseudo-html is still bad form ;) Who knows, maybe the W3C will pick up spoiler tags one day!
</p>]]></description>
					</item>
		<item>
			<title>_ck_ on "Spoiler Tags"</title>
			<link>http://bbpress.org/plugins/topic/spoiler-bar/#post-2159</link>
			<pubDate>Sun, 02 Nov 2008 11:18:54 +0000</pubDate>
			<dc:creator>_ck_</dc:creator>
			<guid isPermaLink="false">2159@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>It's not bad HTML because neither tag can appear in the final HTML of the page that's presented to the browser. It's pseudo markup.</p>
<p>If you want to do it the long, slow way you can just add more rules to your str_replace.</p>
<p>I may have gotten the regex wrong for the bbcode. It's tricky to know which characters to escape and trying to do them as a character sequence may not work. may be easier to do it like  <code>(\&#60;&#124;\[)</code> and change the backreference.<br />
ie.<br />
<pre><code>$content=preg_replace(&#34;@(\&#60;&#124;\[)spoiler(\&#62;&#124;\])(.*)(\&#60;&#124;\[)\/spoiler(\&#62;&#124;\])@simU&#34;,&#34;&#60;span class=&#39;spoiler&#39;&#62;\\3&#60;/span&#62;&#34; , $content);</code></pre>]]></description>
					</item>
		<item>
			<title>Ipstenu on "Spoiler Tags"</title>
			<link>http://bbpress.org/plugins/topic/spoiler-bar/#post-2152</link>
			<pubDate>Fri, 31 Oct 2008 19:25:27 +0000</pubDate>
			<dc:creator>Ipstenu</dc:creator>
			<guid isPermaLink="false">2152@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>No, I got the point, just not the code (that is the code I got is wrong).  It's basically not parsing the [spoiler] as a valid tag.</p>
<p>And now that I look at it, if I use <code>[\&#60;\[]</code> that leaves the door open for some silly person to do this and have it work:<br />
<code>&#60;spoiler&#62;neener![/spoiler]</code></p>
<p>While that's kinda okay, it's also kinda not (bad HTML among other things).  The preg_replace solution has the same problem, while it's certainly simpler.
</p>]]></description>
					</item>
		<item>
			<title>_ck_ on "Spoiler Tags"</title>
			<link>http://bbpress.org/plugins/topic/spoiler-bar/#post-2151</link>
			<pubDate>Fri, 31 Oct 2008 15:43:34 +0000</pubDate>
			<dc:creator>_ck_</dc:creator>
			<guid isPermaLink="false">2151@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>No I think you missed my point.<br />
You can make it respond to the bbcode itself and replace the bbcode with the proper html.</p>
<p>this is wrong:<br />
<code>&#60;span class=&#34;spoiler&#34;&#62;[spoiler]Test?[/spoiler]&#60;/span&#62;</code></p>
<p>should just be:<br />
<code>&#60;span class=&#34;spoiler&#34;&#62;Test?&#60;/span&#62;</code></p>
<p>Actually, the entire way your plugin works is overly complex.</p>
<p>You could do the whole thing with one preg_replace.</p>
<pre><code>$content=preg_replace(&#34;&#124;(\&#60;\[]spoiler[\&#62;\]])(.*)([\&#60;\[]\/spoiler[\&#62;\]])&#124;simU&#34;,&#34;&#60;span class=&#39;spoiler&#39;&#62;\\2&#60;/span&#62;&#34; , $content);</code></pre>
<p>(untested)
</p>]]></description>
					</item>
		<item>
			<title>Ipstenu on "Spoiler Tags"</title>
			<link>http://bbpress.org/plugins/topic/spoiler-bar/#post-2150</link>
			<pubDate>Fri, 31 Oct 2008 14:24:05 +0000</pubDate>
			<dc:creator>Ipstenu</dc:creator>
			<guid isPermaLink="false">2150@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Okay, I've made a .3 for someone with bbcode to test.  When I run <code>[spoiler]Test?[/spoiler]</code> it gives me <code>&#60;span class=&#34;spoiler&#34;&#62;[spoiler]Test?[/spoiler]&#60;/span&#62;</code> so ... er in theory?</p>
<p>The trunk is available for testing: <a href="http://plugins-svn.bbpress.org/spoiler-bar/trunk/spoiler-tags.php" rel="nofollow">http://plugins-svn.bbpress.org/spoiler-bar/trunk/spoiler-tags.php</a></p>
<p>If someone who uses BBcode would be so kind :)
</p>]]></description>
					</item>
		<item>
			<title>Ipstenu on "Spoiler Tags"</title>
			<link>http://bbpress.org/plugins/topic/spoiler-bar/#post-2149</link>
			<pubDate>Fri, 31 Oct 2008 13:24:39 +0000</pubDate>
			<dc:creator>Ipstenu</dc:creator>
			<guid isPermaLink="false">2149@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Wouldn't I also have to change this bit?</p>
<pre><code>function bb_spoiler( $matches )
{
        $text = $matches[0];
        $text = str_replace(&#34;&#60;spoiler&#62;&#34;, &#34;&#34;, $text);
        $text = str_replace(&#34;&#60;/spoiler&#62;&#34;, &#34;&#34;, $text);
        return &#34;&#60;span class=\&#34;spoiler\&#34;&#62;$text&#60;/span&#62;&#34;;
}</code></pre>
<p>And naturally I'm not using BBcode so I can't easily test that myself. I suppose I could uglify it and make separate bbcode functions but I'll go play with regex cause that would be better ;)
</p>]]></description>
					</item>
		<item>
			<title>_ck_ on "Spoiler Tags"</title>
			<link>http://bbpress.org/plugins/topic/spoiler-bar/#post-2148</link>
			<pubDate>Fri, 31 Oct 2008 13:17:41 +0000</pubDate>
			<dc:creator>_ck_</dc:creator>
			<guid isPermaLink="false">2148@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>The easiest way to change it for bbcode is to change the regex pattern to look for either character, ie.  <code>[\&#60;\[]spoiler[\&#62;\]](.*)[\&#60;\[]\/spoiler[\&#62;\]]</code><br />
(untested)
</p>]]></description>
					</item>
		<item>
			<title>Ipstenu on "Spoiler Tags"</title>
			<link>http://bbpress.org/plugins/topic/spoiler-bar/#post-2147</link>
			<pubDate>Fri, 31 Oct 2008 13:06:34 +0000</pubDate>
			<dc:creator>Ipstenu</dc:creator>
			<guid isPermaLink="false">2147@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>_ck_, sure! I haven't even looked at the BBCode since I've 'trained' my blog commenters on how to use HTML ;) I figured keeping it the same would be better for their non-techie heads.
</p>]]></description>
					</item>
		<item>
			<title>_ck_ on "Spoiler Tags"</title>
			<link>http://bbpress.org/plugins/topic/spoiler-bar/#post-2146</link>
			<pubDate>Fri, 31 Oct 2008 06:58:56 +0000</pubDate>
			<dc:creator>_ck_</dc:creator>
			<guid isPermaLink="false">2146@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>With a slight change in your regex you can also support bbcode too. Let me know if you need help with the pattern.
</p>]]></description>
					</item>
		<item>
			<title>Ipstenu on "Spoiler Tags"</title>
			<link>http://bbpress.org/plugins/topic/spoiler-bar/#post-2143</link>
			<pubDate>Thu, 30 Oct 2008 20:50:58 +0000</pubDate>
			<dc:creator>Ipstenu</dc:creator>
			<guid isPermaLink="false">2143@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Please excuse the spazola here, I've never used SVN on my Windows box and, naturally, goofed it up badly.  The .2 trunk has the correct documentation. No code is different between the two versions.
</p>]]></description>
					</item>

	</channel>
</rss>

