<?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>WP Marketing &#187; shotcode</title>
	<atom:link href="http://wpmarketing.org/tag/shotcode/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpmarketing.org</link>
	<description>Wordpress for Internet and Affiliate Marketing</description>
	<lastBuildDate>Mon, 06 Feb 2012 22:11:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Hana Code Insert v2.2</title>
		<link>http://wpmarketing.org/2009/10/hana-code-insert-v2-2/</link>
		<comments>http://wpmarketing.org/2009/10/hana-code-insert-v2-2/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 18:53:41 +0000</pubDate>
		<dc:creator>HanaDaddy</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[Hana Code Insert]]></category>
		<category><![CDATA[PHP evaluation]]></category>
		<category><![CDATA[shotcode]]></category>

		<guid isPermaLink="false">http://wpmarketing.org/?p=299</guid>
		<description><![CDATA[v2.2 (10/04/2009) : 1. PHP code content evaluation Some modification on PHP evaluation that you can use &#60;?php and ?&#62; within the entry content for PHP evaluation. So, in the previous version, if you wanted PHP code output, you could not use &#60;?php and ?&#62;. But now you can use them inside the entry item. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>v2.2 (10/04/2009)</strong> : </p>
<p><strong>1. PHP code content evaluation</strong><br />
Some modification on PHP evaluation that you can use <code>&lt;?php</code> and <code>?&gt;</code> within the entry content for PHP evaluation. </p>
<p>So, in the previous version, if you wanted PHP code output, you could not use <code>&lt;?php</code> and <code>?&gt;</code>. But now you can use them inside the entry item.</p>
<p>Previously you could only define PHP codes only.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;&lt;div style='border:1px dotted red; padding: 5px;'&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">print</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;m/d/Y H:i:s&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p>But now, below code will work too.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;div style='border:1px dotted red; padding: 5px;'&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">print</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;m/d/Y H:i:s&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/div&gt;</pre></div></div>

<p><img src="http://wpmarketing.org/wp-content/uploads/2009/10/entry_content.jpg" alt="entry_content" title="entry_content" width="558" height="146" class="aligncenter size-full wp-image-307" /></p>
<p><strong>2. Custom ShortCode</strong><br />
Also extra feature for custom short code is added. You can define your own custom short code prefix and post fix. So you don&#8217;t have to use <code>&#91;hana-code-insert]</code> shortcode any more.</p>
<p>If defined, custom short code format can be used instead of <code>&#91;hana-code-insert name='Entry Name' /]</code>. For example, if you define <code>{{</code> for start indicator, <code>}}</code> for end indicator, you can use <code>{{Entry Name}}</code>. But beware, your new shortcode format may conflict with other plugins and cause one or more plugins to fail.<br />
<span id="more-299"></span><br />
There are some restrictions. <code>^</code> and <code>\</code> characters are not allowed. And start and end indicators should not be used part of entry name. HTML comment tag is a good candidate for the customs shortcodes indicators. (Start indicator <code>&lt;!--</code> , End indicator : <code>--&gt;</code>) In this way, even if the Hana Code Insert is disabled, these shortcodes will not show this way.</p>
<p>Hana Code Insert Admin Setting Screen.<br />
<img src="http://wpmarketing.org/wp-content/uploads/2009/10/shortcode_setting.jpg" alt="shortcode_setting" title="shortcode_setting" width="561" height="186" class="aligncenter size-full wp-image-313" /></p>
<p>Some of the tested custom Short Codes in a post.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">===================
[[testing123]]
===================
~~testing123~~
===================
{{testing123}}
===================
This time it uses html comment.
&lt;!-- testing123 --&gt;
===================
&nbsp;
[ hana-code-insert name='testing123' /]</pre></div></div>

<p>Below is the output. Note that <code>&#91;hana-code-insert]</code> always works regardless of whether using customs shortcode or not.<br />
<img src="http://wpmarketing.org/wp-content/uploads/2009/10/shortcode_testing2.jpg" alt="shortcode_testing2" title="shortcode_testing2" width="457" height="355" class="aligncenter size-full wp-image-315" /></p>
<p>I am planning to implement Text Widget Support and enhancement in the Admin settings screen in the next version. (Additional description to recognize code snippet better, Search Fuction, etc..)</p>
<p>Enjoy! Let me know if you experience any problem.</p>
<div style='font-size:1.6em'><a href='http://wpmarketing.org/forum/forum/wp-plugin-hana-code-insert'>Hana Code Insert Forum</a></div>
]]></content:encoded>
			<wfw:commentRss>http://wpmarketing.org/2009/10/hana-code-insert-v2-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk (enhanced)

Served from: wpmarketing.org @ 2012-02-07 16:01:58 -->
