<?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: Enzymes 2.3</title>
	<atom:link href="http://noteslog.com/enzymes/feed/" rel="self" type="application/rss+xml" />
	<link>http://noteslog.com</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 04:45:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: pescadito</title>
		<link>http://noteslog.com/enzymes/comment-page-2/#comment-48358</link>
		<dc:creator>pescadito</dc:creator>
		<pubDate>Tue, 28 Sep 2010 03:58:15 +0000</pubDate>
		<guid isPermaLink="false">http://noteslog.com/enzymes-20/#comment-48358</guid>
		<description>senti andrea, 
ancora non capisco per que il tuo plugin non é a hot plugin.....?

here my little contribution:

http://webdesign.anmari.com/1504/personalise-your-wordpress-emails-pages-or-posts/comment-page-1/#comment-4485

cordiale salutti, pescadito</description>
		<content:encoded><![CDATA[<p>senti andrea,<br />
ancora non capisco per que il tuo plugin non é a hot plugin&#8230;..?</p>
<p>here my little contribution:</p>
<p><a href="http://webdesign.anmari.com/1504/personalise-your-wordpress-emails-pages-or-posts/comment-page-1/#comment-4485" rel="nofollow">http://webdesign.anmari.com/1504/personalise-your-wordpress-emails-pages-or-posts/comment-page-1/#comment-4485</a></p>
<p>cordiale salutti, pescadito</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://noteslog.com/enzymes/comment-page-2/#comment-47758</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Fri, 27 Aug 2010 20:13:42 +0000</pubDate>
		<guid isPermaLink="false">http://noteslog.com/enzymes-20/#comment-47758</guid>
		<description>Hi I&#039;m very new to using enzymes. I&#039;m trying to write an enzyme to place in an excerpt. It needs to get the slug of that post, and a specific image from that post. 
Is this possible?

&lt;code&gt;
&lt;a href=&quot;http://www.mysite.com/{[ post slug ]}&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hi I&#8217;m very new to using enzymes. I&#8217;m trying to write an enzyme to place in an excerpt. It needs to get the slug of that post, and a specific image from that post.<br />
Is this possible?</p>
<p><code><br />
<a href="http://www.mysite.com/{[ post slug ]}" rel="nofollow"></a></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Gedeon</title>
		<link>http://noteslog.com/enzymes/comment-page-2/#comment-47056</link>
		<dc:creator>Luke Gedeon</dc:creator>
		<pubDate>Tue, 20 Jul 2010 21:37:05 +0000</pubDate>
		<guid isPermaLink="false">http://noteslog.com/enzymes-20/#comment-47056</guid>
		<description>How would you include the first 1000 words of a post in one page, followed by the full text of another post. Then on the next page finish the first post and include a third post with that?</description>
		<content:encoded><![CDATA[<p>How would you include the first 1000 words of a post in one page, followed by the full text of another post. Then on the next page finish the first post and include a third post with that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pescadito</title>
		<link>http://noteslog.com/enzymes/comment-page-2/#comment-46697</link>
		<dc:creator>pescadito</dc:creator>
		<pubDate>Mon, 05 Jul 2010 21:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://noteslog.com/enzymes-20/#comment-46697</guid>
		<description>Ok Andrea, It works very well 

best regard, pescadito</description>
		<content:encoded><![CDATA[<p>Ok Andrea, It works very well </p>
<p>best regard, pescadito</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrea Ercolino</title>
		<link>http://noteslog.com/enzymes/comment-page-2/#comment-46353</link>
		<dc:creator>Andrea Ercolino</dc:creator>
		<pubDate>Fri, 25 Jun 2010 16:56:14 +0000</pubDate>
		<guid isPermaLink="false">http://noteslog.com/enzymes-20/#comment-46353</guid>
		<description>@pescadito: Version 2.3 is for you. 

I&#039;ve just made it better support WordPress 3.0, and I&#039;ve added the new functionality you requested.

Now custom fields with the same key are retrieved as a serialized array. I think that&#039;s the best bet, though it won&#039;t be easy to handle for non php programmers.

For your example, using &lt;strong&gt;{[ .cities ]}&lt;/strong&gt; you get &lt;strong&gt;a:2:{i:0;s:4:&quot;rome&quot;;i:1;s:9:&quot;barcelone&quot;;}&lt;/strong&gt;

A possible setup could be this. Add a new custom field with the key beautify and the content
&lt;code class=&quot;php&quot;&gt;
if (preg_match(&#039;/^a:\d+:\{.*\}$/&#039;, $this-&gt;pathway))
{
  $values = unserialize($this-&gt;pathway);
  $result = implode(&#039;, &#039;, $values);
}
else
{
  $result = $this-&gt;pathway;
}
return $result;
&lt;/code&gt;

and then use it like &lt;strong&gt;{[ .cities &#124; .beautify() ]}&lt;/strong&gt; to get &lt;strong&gt;rome, barcelone&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p>@pescadito: Version 2.3 is for you. </p>
<p>I&#8217;ve just made it better support WordPress 3.0, and I&#8217;ve added the new functionality you requested.</p>
<p>Now custom fields with the same key are retrieved as a serialized array. I think that&#8217;s the best bet, though it won&#8217;t be easy to handle for non php programmers.</p>
<p>For your example, using <strong>{[ .cities ]}</strong> you get <strong>a:2:{i:0;s:4:&#8221;rome&#8221;;i:1;s:9:&#8221;barcelone&#8221;;}</strong></p>
<p>A possible setup could be this. Add a new custom field with the key beautify and the content<br />
<code class="php"><br />
if (preg_match('/^a:\d+:\{.*\}$/', $this->pathway))<br />
{<br />
  $values = unserialize($this->pathway);<br />
  $result = implode(', ', $values);<br />
}<br />
else<br />
{<br />
  $result = $this->pathway;<br />
}<br />
return $result;<br />
</code></p>
<p>and then use it like <strong>{[ .cities | .beautify() ]}</strong> to get <strong>rome, barcelone</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pescadito</title>
		<link>http://noteslog.com/enzymes/comment-page-2/#comment-46257</link>
		<dc:creator>pescadito</dc:creator>
		<pubDate>Wed, 23 Jun 2010 05:21:37 +0000</pubDate>
		<guid isPermaLink="false">http://noteslog.com/enzymes-20/#comment-46257</guid>
		<description>Hi Andrea,

Here a little question: if inside a wp post you have two custom fields with the same key and different values, how do you can retrieve any of them?

ie:
custom field 1, key=cities, value=rome,
custom field 2, key=cities, value=barcelone,

so how i show the first and second values with something like {[.cities]} ??

best regard, 
pescadito
(near messi born town)</description>
		<content:encoded><![CDATA[<p>Hi Andrea,</p>
<p>Here a little question: if inside a wp post you have two custom fields with the same key and different values, how do you can retrieve any of them?</p>
<p>ie:<br />
custom field 1, key=cities, value=rome,<br />
custom field 2, key=cities, value=barcelone,</p>
<p>so how i show the first and second values with something like {[.cities]} ??</p>
<p>best regard,<br />
pescadito<br />
(near messi born town)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://noteslog.com/enzymes/comment-page-2/#comment-45942</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Fri, 11 Jun 2010 16:44:27 +0000</pubDate>
		<guid isPermaLink="false">http://noteslog.com/enzymes-20/#comment-45942</guid>
		<description>from one geek to another (others!?) this is one of the freakishly techy, goopy plugins i&#039;ve seen, and i&#039;m lovin&#039; it with only reading it for the past 2 minutes... 

well done! love the whole branding of the functionality too... VERY cool.</description>
		<content:encoded><![CDATA[<p>from one geek to another (others!?) this is one of the freakishly techy, goopy plugins i&#8217;ve seen, and i&#8217;m lovin&#8217; it with only reading it for the past 2 minutes&#8230; </p>
<p>well done! love the whole branding of the functionality too&#8230; VERY cool.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pescadito</title>
		<link>http://noteslog.com/enzymes/comment-page-2/#comment-44551</link>
		<dc:creator>pescadito</dc:creator>
		<pubDate>Fri, 02 Apr 2010 06:20:53 +0000</pubDate>
		<guid isPermaLink="false">http://noteslog.com/enzymes-20/#comment-44551</guid>
		<description>Senti andrea, questo e un bruto plugin! Could you add a support for post_thumbnail wp 2.9:  .   best regard, pescadtio.</description>
		<content:encoded><![CDATA[<p>Senti andrea, questo e un bruto plugin! Could you add a support for post_thumbnail wp 2.9:  .   best regard, pescadtio.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://noteslog.com/enzymes/comment-page-2/#comment-39551</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Sun, 23 Aug 2009 04:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://noteslog.com/enzymes-20/#comment-39551</guid>
		<description>Hi there - What a tremendous plugin. Thanks. 

Do you know please whether it&#039;s possible with this plugin to include, at the end of a page, the HTML for that page in a code box, so that those who wanted to do so could simply copy and paste the code into their own website pages?

Many thanks in advance for any help you can provide on this one.

Kind regards
Richard</description>
		<content:encoded><![CDATA[<p>Hi there &#8211; What a tremendous plugin. Thanks. </p>
<p>Do you know please whether it&#8217;s possible with this plugin to include, at the end of a page, the HTML for that page in a code box, so that those who wanted to do so could simply copy and paste the code into their own website pages?</p>
<p>Many thanks in advance for any help you can provide on this one.</p>
<p>Kind regards<br />
Richard</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: micha</title>
		<link>http://noteslog.com/enzymes/comment-page-2/#comment-38125</link>
		<dc:creator>micha</dc:creator>
		<pubDate>Fri, 03 Jul 2009 07:33:17 +0000</pubDate>
		<guid isPermaLink="false">http://noteslog.com/enzymes-20/#comment-38125</guid>
		<description>Okay, I got it. Yout can store every var in a field, if you call something like that inside the template:
$field_vars = $this-&gt;elaborate(&quot;filename =&gt; .filename \n width =&gt; .width \n height =&gt; .height&quot; );

You can than access the vars via:
$field_vars[&#039;filename&#039;]

The template call can look like this;
{[ .-/embedpano.php ]}


Nice Plugin! Really powerful!</description>
		<content:encoded><![CDATA[<p>Okay, I got it. Yout can store every var in a field, if you call something like that inside the template:<br />
$field_vars = $this-&gt;elaborate(&#8220;filename =&gt; .filename \n width =&gt; .width \n height =&gt; .height&#8221; );</p>
<p>You can than access the vars via:<br />
$field_vars['filename']</p>
<p>The template call can look like this;<br />
{[ .-/embedpano.php ]}</p>
<p>Nice Plugin! Really powerful!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

