<?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: Auto-hyperlink URLs v3.0</title>
	<atom:link href="http://coffee2code.com/archives/2008/04/02/auto-hyperlink-urls-v30/feed/" rel="self" type="application/rss+xml" />
	<link>http://coffee2code.com/archives/2008/04/02/auto-hyperlink-urls-v30/</link>
	<description>pro-gram-mer: n. a person who converts coffee into code</description>
	<lastBuildDate>Tue, 07 Feb 2012 05:56:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Tom Kelshaw</title>
		<link>http://coffee2code.com/archives/2008/04/02/auto-hyperlink-urls-v30/comment-page-1/#comment-446464</link>
		<dc:creator>Tom Kelshaw</dc:creator>
		<pubDate>Thu, 24 Sep 2009 21:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://coffee2code.com/archives/2008/04/02/autohyperlink-urls-v30/#comment-446464</guid>
		<description>Scott, that&#039;s solved it.

After a slighthiccup (using Flutter for Write Panel management and they&#039;ve used/Abused some of your code which caused conflicts) I went with the c2c_get_custom method.

Thanks very much, this has just made my life a lot easier. 

More beer money coming your way as soon as my cheque clears. I appreciate the help.</description>
		<content:encoded><![CDATA[<p>Scott, that&#8217;s solved it.</p>
<p>After a slighthiccup (using Flutter for Write Panel management and they&#8217;ve used/Abused some of your code which caused conflicts) I went with the c2c_get_custom method.</p>
<p>Thanks very much, this has just made my life a lot easier. </p>
<p>More beer money coming your way as soon as my cheque clears. I appreciate the help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://coffee2code.com/archives/2008/04/02/auto-hyperlink-urls-v30/comment-page-1/#comment-446460</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Thu, 24 Sep 2009 19:09:24 +0000</pubDate>
		<guid isPermaLink="false">http://coffee2code.com/archives/2008/04/02/autohyperlink-urls-v30/#comment-446460</guid>
		<description>Hi Tom, I appreciate the donation!

Depending on your situation,  you can do a few different things.

1. You can just directly call &lt;code&gt;hyperlink_url()&lt;/code&gt; in the above code, so you&#039;ll change the one line to be:

&lt;code&gt;echo hyperlink_urls(get_post_meta($post-&gt;ID, &#039;interviewtext&#039;, $single=true));&lt;/code&gt;

But you&#039;ll have to do that sort thing everywhere you want it.

2. You can use my &lt;a href=&quot;http://coffee2code.com/wp-plugins/get-custom-field-values&quot; rel=&quot;nofollow&quot;&gt;Get Custom Field Values&lt;/a&gt; in conjunction with the Auto-hyperlink URLs plugin.  If you do, you can replace your whole code example with:

&lt;code&gt;&lt;?php echo c2c_get_custom(&#039;interviewtext&#039;, &quot;&lt;div class=&#039;smrsections&#039; id=&#039;interviewtext&#039;&gt;&quot;, &quot;&lt;/div&gt;&quot;); ?&gt;&lt;/code&gt;

(That replaces all the code you have shown above.  Nothing appears if the post doesn&#039;t have an &#039;interviewtext&#039; custom field, and if it does, it appears with the div.)

That plugin also allows you to filter meta data via an add_filter.  So, for example, in your theme&#039;s functions.php file, you could add the line:

&lt;code&gt;add_filter(&#039;the_meta_interviewtext&#039;, &#039;hyperlink_urls&#039;);&lt;/code&gt;

To hyperlink interviewtext meta values wherever they may appear.

Hope that helps!</description>
		<content:encoded><![CDATA[<p>Hi Tom, I appreciate the donation!</p>
<p>Depending on your situation,  you can do a few different things.</p>
<p>1. You can just directly call <code>hyperlink_url()</code> in the above code, so you&#8217;ll change the one line to be:</p>
<p><code>echo hyperlink_urls(get_post_meta($post-&gt;ID, &#039;interviewtext&#039;, $single=true));</code></p>
<p>But you&#8217;ll have to do that sort thing everywhere you want it.</p>
<p>2. You can use my <a href="http://coffee2code.com/wp-plugins/get-custom-field-values" rel="nofollow">Get Custom Field Values</a> in conjunction with the Auto-hyperlink URLs plugin.  If you do, you can replace your whole code example with:</p>
<p><code>&lt;?php echo c2c_get_custom(&#039;interviewtext&#039;, &quot;&lt;div class=&#039;smrsections&#039; id=&#039;interviewtext&#039;&gt;&quot;, &quot;&lt;/div&gt;&quot;); ?&gt;</code></p>
<p>(That replaces all the code you have shown above.  Nothing appears if the post doesn&#8217;t have an &#8216;interviewtext&#8217; custom field, and if it does, it appears with the div.)</p>
<p>That plugin also allows you to filter meta data via an add_filter.  So, for example, in your theme&#8217;s functions.php file, you could add the line:</p>
<p><code>add_filter(&#039;the_meta_interviewtext&#039;, &#039;hyperlink_urls&#039;);</code></p>
<p>To hyperlink interviewtext meta values wherever they may appear.</p>
<p>Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Kelshaw</title>
		<link>http://coffee2code.com/archives/2008/04/02/auto-hyperlink-urls-v30/comment-page-1/#comment-446428</link>
		<dc:creator>Tom Kelshaw</dc:creator>
		<pubDate>Thu, 24 Sep 2009 07:09:53 +0000</pubDate>
		<guid isPermaLink="false">http://coffee2code.com/archives/2008/04/02/autohyperlink-urls-v30/#comment-446428</guid>
		<description>Is it possible to add_filter for meta info, such as that returned by custom fields? I use a few extra custom fields, and display the input text like this in my template:

[code]
&lt;code&gt;
				&lt;?php if (get_post_meta($post-&gt;ID, &#039;interviewtext&#039;)) { 
						echo &quot;&lt;div class=&#039;smrsections&#039; id=&#039;interviewtext&#039;&gt;&quot;;
						echo get_post_meta($post-&gt;ID, &#039;interviewtext&#039;, $single=true);
						echo &quot;&lt;/div&gt;&quot;;

					} ?&gt;

&lt;/code&gt;	
[/code]

So i&#039;d like your plugin to work on the echo&#039;d info.

Please email if this is something that&#039;s possible and I&#039;d be happy to donate (again) for your time.</description>
		<content:encoded><![CDATA[<p>Is it possible to add_filter for meta info, such as that returned by custom fields? I use a few extra custom fields, and display the input text like this in my template:</p>
<p>[code]<br />
<pre><code>
        &lt;?php if (get_post_meta($post-&gt;ID, &#039;interviewtext&#039;)) { 
            echo &quot;&lt;div class=&#039;smrsections&#039; id=&#039;interviewtext&#039;&gt;&quot;;
            echo get_post_meta($post-&gt;ID, &#039;interviewtext&#039;, $single=true);
            echo &quot;&lt;/div&gt;&quot;;

          } ?&gt;

</code></pre><br />
[/code]</p>
<p>So i&#8217;d like your plugin to work on the echo&#8217;d info.</p>
<p>Please email if this is something that&#8217;s possible and I&#8217;d be happy to donate (again) for your time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kud0gfx</title>
		<link>http://coffee2code.com/archives/2008/04/02/auto-hyperlink-urls-v30/comment-page-1/#comment-385599</link>
		<dc:creator>kud0gfx</dc:creator>
		<pubDate>Tue, 08 Apr 2008 17:34:47 +0000</pubDate>
		<guid isPermaLink="false">http://coffee2code.com/archives/2008/04/02/autohyperlink-urls-v30/#comment-385599</guid>
		<description>ok, thanks Scott, if i can put some ads and win some dollars, i&#039;ll donate something for your work!

thank you very much!</description>
		<content:encoded><![CDATA[<p>ok, thanks Scott, if i can put some ads and win some dollars, i&#8217;ll donate something for your work!</p>
<p>thank you very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://coffee2code.com/archives/2008/04/02/auto-hyperlink-urls-v30/comment-page-1/#comment-385430</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Tue, 08 Apr 2008 15:19:18 +0000</pubDate>
		<guid isPermaLink="false">http://coffee2code.com/archives/2008/04/02/autohyperlink-urls-v30/#comment-385430</guid>
		<description>I believe I made the executive decision to not show the protocol for http (&quot;http://&quot;) in the auto-links for this release.  While it is my preference for that behavior, I understand others may not agree, so in the next release I&#039;ll make it an option.  Check back again soon for the update.</description>
		<content:encoded><![CDATA[<p>I believe I made the executive decision to not show the protocol for http (&#8220;http://&#8221;) in the auto-links for this release.  While it is my preference for that behavior, I understand others may not agree, so in the next release I&#8217;ll make it an option.  Check back again soon for the update.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kud0gfx</title>
		<link>http://coffee2code.com/archives/2008/04/02/auto-hyperlink-urls-v30/comment-page-1/#comment-384796</link>
		<dc:creator>kud0gfx</dc:creator>
		<pubDate>Tue, 08 Apr 2008 05:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://coffee2code.com/archives/2008/04/02/autohyperlink-urls-v30/#comment-384796</guid>
		<description>Exists some way to don&#039;t hide the &quot;http://&quot; when linkifyng? 

sorry for my english, and thx for your work!</description>
		<content:encoded><![CDATA[<p>Exists some way to don&#8217;t hide the &#8220;http://&#8221; when linkifyng? </p>
<p>sorry for my english, and thx for your work!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

