<?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: Creating a BBCode Parser</title>
	<atom:link href="http://www.ultramegatech.com/2009/04/creating-a-bbcode-parser/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ultramegatech.com/2009/04/creating-a-bbcode-parser/</link>
	<description>Web development blog</description>
	<lastBuildDate>Mon, 23 Jan 2012 12:45:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Desmond Taylor</title>
		<link>http://www.ultramegatech.com/2009/04/creating-a-bbcode-parser/comment-page-1/#comment-1885</link>
		<dc:creator>Desmond Taylor</dc:creator>
		<pubDate>Sat, 17 Sep 2011 12:35:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=315#comment-1885</guid>
		<description>I believe there is also an error with your code akdo

&lt;strong&gt;bold &lt;em&gt;italic&lt;/em&gt;&lt;/strong&gt; still italic[/i] &lt;-- Stops the last bit being italic?</description>
		<content:encoded><![CDATA[<p>I believe there is also an error with your code akdo</p>
<p><strong>bold <em>italic</em></strong> still italic[/i] &lt;&#8211; Stops the last bit being italic?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gio</title>
		<link>http://www.ultramegatech.com/2009/04/creating-a-bbcode-parser/comment-page-1/#comment-1305</link>
		<dc:creator>Gio</dc:creator>
		<pubDate>Fri, 24 Sep 2010 01:56:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=315#comment-1305</guid>
		<description>Thanks!
It is possible to adapt this in order to create something like Tidypost?
it was a form script used in 2003/2005.
It generated a code that you could post into the topic field.
it had input fields, like image url, album url, preview, genre, bitrate, etc.

example:
http://www.clubbingspain.com/phpBB/dj-sets-propios/applejux-you-won-t-like-this-applejux-mix-t13869.html

thanks</description>
		<content:encoded><![CDATA[<p>Thanks!<br />
It is possible to adapt this in order to create something like Tidypost?<br />
it was a form script used in 2003/2005.<br />
It generated a code that you could post into the topic field.<br />
it had input fields, like image url, album url, preview, genre, bitrate, etc.</p>
<p>example:<br />
<a href="http://www.clubbingspain.com/phpBB/dj-sets-propios/applejux-you-won-t-like-this-applejux-mix-t13869.html" rel="nofollow">http://www.clubbingspain.com/phpBB/dj-sets-propios/applejux-you-won-t-like-this-applejux-mix-t13869.html</a></p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.ultramegatech.com/2009/04/creating-a-bbcode-parser/comment-page-1/#comment-1275</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sun, 08 Aug 2010 02:53:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=315#comment-1275</guid>
		<description>Yes, this is very basic and has much room for improvement. If you give it malformed BBCode, you&#039;ll get malformed HTML. So obviously this shouldn&#039;t be used on a public interface. This is really just meant to demonstrate the concept.</description>
		<content:encoded><![CDATA[<p>Yes, this is very basic and has much room for improvement. If you give it malformed BBCode, you&#8217;ll get malformed HTML. So obviously this shouldn&#8217;t be used on a public interface. This is really just meant to demonstrate the concept.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aldo</title>
		<link>http://www.ultramegatech.com/2009/04/creating-a-bbcode-parser/comment-page-1/#comment-1273</link>
		<dc:creator>aldo</dc:creator>
		<pubDate>Sun, 08 Aug 2010 02:00:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=315#comment-1273</guid>
		<description>I don&#039;t mean to be mean or anything, but this is a really bad BBCode parser.

What about generating valid HTML? If I did [b]bold [i]italc[/b] still italic[/i] it would generate:

&lt;code&gt;&lt;strong&gt;bold &lt;em&gt;italic&lt;/strong&gt; still italic&lt;/em&gt;&lt;/code&gt;

when it should be:
&lt;code&gt;&lt;strong&gt;bold &lt;em&gt;italic&lt;/em&gt;&lt;/strong&gt; still italic[/i]&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I don&#8217;t mean to be mean or anything, but this is a really bad BBCode parser.</p>
<p>What about generating valid HTML? If I did [b]bold [i]italc[/b] still italic[/i] it would generate:</p>
<p><code>&lt;strong>bold &lt;em>italic&lt;/strong> still italic&lt;/em></code></p>
<p>when it should be:<br />
<code>&lt;strong>bold &lt;em>italic&lt;/em>&lt;/strong> still italic[/i]</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Roos</title>
		<link>http://www.ultramegatech.com/2009/04/creating-a-bbcode-parser/comment-page-1/#comment-428</link>
		<dc:creator>Karl Roos</dc:creator>
		<pubDate>Thu, 19 Nov 2009 16:26:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=315#comment-428</guid>
		<description>Great code! Thanks!</description>
		<content:encoded><![CDATA[<p>Great code! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.ultramegatech.com/2009/04/creating-a-bbcode-parser/comment-page-1/#comment-419</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 04 Nov 2009 22:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=315#comment-419</guid>
		<description>TinyMCE looks like a good choice for a rich text editor that comes with BBCode support.

&lt;a href=&quot;http://tinymce.moxiecode.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://tinymce.moxiecode.com/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>TinyMCE looks like a good choice for a rich text editor that comes with BBCode support.</p>
<p><a href="http://tinymce.moxiecode.com/" target="_blank" rel="nofollow">http://tinymce.moxiecode.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neo22s</title>
		<link>http://www.ultramegatech.com/2009/04/creating-a-bbcode-parser/comment-page-1/#comment-418</link>
		<dc:creator>neo22s</dc:creator>
		<pubDate>Wed, 04 Nov 2009 21:01:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=315#comment-418</guid>
		<description>Do you recommend any BBCODE editor for the front end user?</description>
		<content:encoded><![CDATA[<p>Do you recommend any BBCODE editor for the front end user?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.ultramegatech.com/2009/04/creating-a-bbcode-parser/comment-page-1/#comment-225</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 24 Aug 2009 21:25:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=315#comment-225</guid>
		<description>That&#039;s a good point. I&#039;ll edit the regex to allow only URLs.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a good point. I&#8217;ll edit the regex to allow only URLs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lec</title>
		<link>http://www.ultramegatech.com/2009/04/creating-a-bbcode-parser/comment-page-1/#comment-220</link>
		<dc:creator>lec</dc:creator>
		<pubDate>Sun, 23 Aug 2009 12:49:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=315#comment-220</guid>
		<description>Though it&#039;s compact and cute, the url tag could be used for various exploits, the htmlentities() notwithstanding (using javascript: schemes, for example).

Perhaps you ought to change the (.*?) to a regex that will match only proper urls.</description>
		<content:encoded><![CDATA[<p>Though it&#8217;s compact and cute, the url tag could be used for various exploits, the htmlentities() notwithstanding (using javascript: schemes, for example).</p>
<p>Perhaps you ought to change the (.*?) to a regex that will match only proper urls.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

