<?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>SnowCMS &#187; parser</title>
	<atom:link href="http://www.snowcms.com/tag/parser/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.snowcms.com</link>
	<description>It snows here...a lot.</description>
	<lastBuildDate>Sun, 20 Jun 2010 05:47:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Update on the BBCode parser</title>
		<link>http://www.snowcms.com/update-on-the-bbcode-parser-16/</link>
		<comments>http://www.snowcms.com/update-on-the-bbcode-parser-16/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 06:47:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[News and updates]]></category>
		<category><![CDATA[bbc]]></category>
		<category><![CDATA[bbcode]]></category>
		<category><![CDATA[improvement]]></category>
		<category><![CDATA[parser]]></category>

		<guid isPermaLink="false">http://www.snowcms.com/?p=16</guid>
		<description><![CDATA[Last night I posted about me beginning the creation of a brand new BBCode parser which had the potential of allowing nested tags&#8230; Of course it has been done But I myself haven&#8217;t done it, until now!   After working on the new function for hours (And adding ~320 more lines of code) I am [...]]]></description>
			<content:encoded><![CDATA[<p>Last night I posted about me beginning the creation of a brand new BBCode parser which had the potential of allowing nested tags&#8230; Of course it has been done <img src='http://www.snowcms.com/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' />  But I myself haven&#8217;t done it, until now!</p>
<p> </p>
<p>After working on the new function for hours (And adding ~320 more lines of code) I am getting really close to finishing the new product which allows nested tags! XD.  I have yet to test how fast it is because it isn&#8217;t fully finished, but it is getting there! However, I am quite sure it will be much faster than the older one because it just used regex to find tags on the message, one after another, and regex on a huge message isn&#8217;t that fast.</p>
<p> </p>
<p>I hope to finish this tomorrow! As long as I don&#8217;t run into any major problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.snowcms.com/update-on-the-bbcode-parser-16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New BBCode parser?</title>
		<link>http://www.snowcms.com/new-bbcode-parser-13/</link>
		<comments>http://www.snowcms.com/new-bbcode-parser-13/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 07:15:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Developer updates]]></category>
		<category><![CDATA[bbc]]></category>
		<category><![CDATA[bbcode]]></category>
		<category><![CDATA[improvement]]></category>
		<category><![CDATA[parser]]></category>

		<guid isPermaLink="false">http://www.snowcms.com/?p=13</guid>
		<description><![CDATA[I was working on SnowCMS (Yeah, I am back again ), and I started to become super annoyed that the same BBCode tags cannot be nested within one another. So in just a couple minutes, I tried to figure out a way to get those to work. I tried doing something like this before, but [...]]]></description>
			<content:encoded><![CDATA[<p>I was working on SnowCMS (Yeah, I am back again <img src='http://www.snowcms.com/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> ), and I started to become super annoyed that the same BBCode tags cannot be nested within one another. So in just a couple minutes, I tried to figure out a way to get those to work. I tried doing something like this before, but for the life of me, I couldn&#8217;t get it!</p>
<p> </p>
<p>Not to long ago I began pondering how I could approach this problem, and how other systems do it. I then thought, XML! I remembered that in PHP using <a title="XML Parser" href="http://www.php.net/manual/en/ref.xml.php" target="_blank">XML Parser</a> it parses the XML file into levels with by tags, and that is how I am approaching it <img src='http://www.snowcms.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p> </p>
<p>I already have a <em>very very very</em> (Did I say <em>very</em>?) rough prototype, only ~32 lines of code, the function parses this string:</p>
<blockquote><p>[b]Hello there![/b] [i]Why? [color=red]CAUSE![/color][/i]</p></blockquote>
<p>Into:</p>
<blockquote><p>Array<br />
(<br />
    [1] =&gt; [b]<br />
    [2] =&gt; Hello there!<br />
    [3] =&gt; [/b]<br />
    [4] =&gt; <br />
    [5] =&gt; [i]<br />
    [6] =&gt; Why?<br />
    [7] =&gt; [color=red]<br />
    [8] =&gt; CAUSE!<br />
    [9] =&gt; [/color]<br />
    [11] =&gt; [/i]<br />
)</p></blockquote>
<p>Right now it isn&#8217;t parsed very pretty like <img src='http://www.snowcms.com/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' />  But for the time being, it works for the most part! I can&#8217;t wait to dig deeper into this idea tomorrow&#8230; Seeya for now! (It is 12:15AM at the time I am posting this, Lol)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.snowcms.com/new-bbcode-parser-13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
