<?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>Vos Virtual Network &#187; syntax</title>
	<atom:link href="http://vvn.net/wp/tag/syntax/feed/" rel="self" type="application/rss+xml" />
	<link>http://vvn.net/wp</link>
	<description>Jazz Like Code and Music For Life</description>
	<lastBuildDate>Fri, 04 Dec 2009 21:14:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Code Colorizing MySQL</title>
		<link>http://vvn.net/wp/2008/09/25/code-colorizing-mysql/</link>
		<comments>http://vvn.net/wp/2008/09/25/code-colorizing-mysql/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 11:15:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CompuScriptology]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Geshi]]></category>
		<category><![CDATA[mySQL]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[syntax]]></category>

		<guid isPermaLink="false">http://vvn.net/wp/?p=954</guid>
		<description><![CDATA[An example of code colorizing MySQL table creation.
This example shows creation of a simple contact list, or client list.

1
2
3
4
5
6
7
8
9
CREATE TABLE IF NOT EXISTS `clients` &#40;
 `id` mediumint&#40;8&#41; unsigned NOT NULL auto_increment,
 `email_address` varchar&#40;72&#41; character set ascii NOT NULL,
 `firstname` varchar&#40;16&#41; character set utf8 NOT NULL,
 `lastname` varchar&#40;20&#41; character set utf8 NOT NULL,
 `date_added` datetime NOT [...]]]></description>
			<content:encoded><![CDATA[<p>An example of code colorizing MySQL table creation.<br />
This example shows creation of a simple contact list, or client list.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">CREATE</span> <span style="color: #990099; font-weight: bold;">TABLE</span> <span style="color: #990099; font-weight: bold;">IF <span style="color: #CC0099; font-weight: bold;">NOT</span> EXISTS</span> <span style="color: #008000;">`clients`</span> <span style="color: #FF00FF;">&#40;</span>
 <span style="color: #008000;">`id`</span> <span style="color: #999900; font-weight: bold;">mediumint</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">8</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #FF9900; font-weight: bold;">unsigned</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span> <span style="color: #FF9900; font-weight: bold;">auto_increment</span><span style="color: #000033;">,</span>
 <span style="color: #008000;">`email<span style="color: #008080; font-weight: bold;">_</span>address`</span> <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">72</span><span style="color: #FF00FF;">&#41;</span> character <span style="color: #990099; font-weight: bold;">set</span> <span style="color: #000099;">ascii</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
 <span style="color: #008000;">`firstname`</span> <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">16</span><span style="color: #FF00FF;">&#41;</span> character <span style="color: #990099; font-weight: bold;">set</span> utf8 <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
 <span style="color: #008000;">`lastname`</span> <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">20</span><span style="color: #FF00FF;">&#41;</span> character <span style="color: #990099; font-weight: bold;">set</span> utf8 <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
 <span style="color: #008000;">`date<span style="color: #008080; font-weight: bold;">_</span>added`</span> <span style="color: #999900; font-weight: bold;">datetime</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
 <span style="color: #FF9900; font-weight: bold;">UNIQUE</span> <span style="color: #990099; font-weight: bold;">KEY</span> <span style="color: #008000;">`id`</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">`id`</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>
 <span style="color: #FF9900; font-weight: bold;">UNIQUE</span> <span style="color: #990099; font-weight: bold;">KEY</span> <span style="color: #008000;">`email<span style="color: #008080; font-weight: bold;">_</span>address`</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">`email<span style="color: #008080; font-weight: bold;">_</span>address`</span><span style="color: #FF00FF;">&#41;</span>
<span style="color: #FF00FF;">&#41;</span> <span style="color: #990099; font-weight: bold;">ENGINE</span><span style="color: #CC0099;">=</span>MyISAM <span style="color: #990099; font-weight: bold;">DEFAULT</span> <span style="color: #FF9900; font-weight: bold;">CHARSET</span><span style="color: #CC0099;">=</span>latin1 <span style="color: #FF9900; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #CC0099;">=</span><span style="color: #008080;">1</span> <span style="color: #000033;">;</span></pre></td></tr></table></div>

<p>What&#8217;s up with IS? </p>
<p>I guess IN and IS are considered key words in MySQL and the Geshi <a href="http://qbnz.com/highlighter/">Generic Syntax Highlighter</a> colorizing library. Is that a bug in the parsing routine, or what?</p>
]]></content:encoded>
			<wfw:commentRss>http://vvn.net/wp/2008/09/25/code-colorizing-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test of PHP Syntax Highlighting</title>
		<link>http://vvn.net/wp/2008/08/21/test-of-php-syntax-highlighting/</link>
		<comments>http://vvn.net/wp/2008/08/21/test-of-php-syntax-highlighting/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 22:00:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CompuScriptology]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Webdesignology]]></category>
		<category><![CDATA[code colorizing]]></category>
		<category><![CDATA[code documenting]]></category>
		<category><![CDATA[code examples]]></category>
		<category><![CDATA[colorizing]]></category>
		<category><![CDATA[computer languages]]></category>
		<category><![CDATA[parsing]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script examples]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[syntax]]></category>
		<category><![CDATA[syntax highlighting]]></category>

		<guid isPermaLink="false">http://vvn.net/wp/?p=396</guid>
		<description><![CDATA[This is a test of PHP Script Syntax Highlighting with the GeSHi code colorizing and syntax parsing library, along with the WP-Syntax plugin.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//
// Include the GeSHi library
//
include_once 'geshi.php';
//
// Define some source to highlight, a language to use
// and the path to the language files
//
$source = '$foo = 45;
for ( $i = 1; $i &#60; $foo; [...]]]></description>
			<content:encoded><![CDATA[<p>This is a test of PHP Script Syntax Highlighting with the <a href="http://qbnz.com/highlighter/">GeSHi code colorizing and syntax parsing library</a>, along with the <a href="http://wordpress.org/extend/plugins/wp-syntax/">WP-Syntax plugin</a>.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">//</span>
<span style="color: #666666; font-style: italic;">// Include the GeSHi library</span>
<span style="color: #666666; font-style: italic;">//</span>
<span style="color: #b1b100;">include_once</span> <span style="color: #0000ff;">'geshi.php'</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">//</span>
<span style="color: #666666; font-style: italic;">// Define some source to highlight, a language to use</span>
<span style="color: #666666; font-style: italic;">// and the path to the language files</span>
<span style="color: #666666; font-style: italic;">//</span>
<span style="color: #000088;">$source</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'$foo = 45;
for ( $i = 1; $i &lt; $foo; $i++ ){
echo &quot;$foon&quot;;  --$foo;
}'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$language</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'php'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Create a GeSHi object</span>
&nbsp;
<span style="color: #000088;">$geshi</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> GeSHi<span style="color: #009900;">&#40;</span><span style="color: #000088;">$source</span><span style="color: #339933;">,</span> <span style="color: #000088;">$language</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// And echo the result!//</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$geshi</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">parse_code</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://vvn.net/wp/2008/08/21/test-of-php-syntax-highlighting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
