<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" 

	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" 

	xmlns:content="http://purl.org/rss/1.0/modules/content/"

	xmlns:wfw="http://wellformedweb.org/CommentAPI/">
   <channel>
      <title>create links | Croncast - Life is Show Prep</title>
	  <itunes:author>Kris and Betsy Smith</itunes:author>
      <link>http://www.croncast.com</link>
      <description>This is the keyword feed for create links. Once cool, Kris and Betsy are now living on a cul de sac and breeding. Betsy really should be on the road making mad cash but that would interfere with breastfeeding. Podcasting for Download every M-W-F by 3:00 P.M. CST.</description>
      <language>en-us</language>
	  <copyright>Palegroove Studios 2004-2013</copyright>
	  		<itunes:explicit>No</itunes:explicit>

		<itunes:keywords>Croncast, Kris, Betsy, Comedy, Parenting, Funny, Palegroove, Croncast, eBay, Goodwill</itunes:keywords>

		<itunes:subtitle>This is the keyword feed for create links. Once cool, Kris and Betsy are now living on a cul de sac and breeding. Betsy really should be on the road making mad cash but that would interfere with breastfeeding. Podcasting for Download every M-W-F by 3:00 P.M. CST.</itunes:subtitle>

 	<itunes:summary>This is the keyword feed for create links. Once cool, Kris and Betsy are now living on a cul de sac and breeding. Betsy really should be on the road making mad cash but that would interfere with breastfeeding. Podcasting for Download every M-W-F by 3:00 P.M. CST.</itunes:summary>

 	<image> 

		<url>http://www.croncast.com/images/croncast_itunes.jpg</url>
 		<title>create links | Croncast - Life is Show Prep</title>
 		<link>http://www.croncast.com</link>
 		<description>This is the keyword feed for create links. Once cool, Kris and Betsy are now living on a cul de sac and breeding. Betsy really should be on the road making mad cash but that would interfere with breastfeeding. Podcasting for Download every M-W-F by 3:00 P.M. CST.</description>
 	</image> 	
	<itunes:image href="http://www.croncast.com/images/croncast_itunes.jpg" />
<itunes:category text="Comedy"/>
<itunes:category text="Society &amp; Culture">
</itunes:category>
<itunes:owner> 
			<itunes:name>Croncast - Kris and Betsy Smith</itunes:name>
	        <itunes:email>info@palegroove.com</itunes:email>
 </itunes:owner>
      <docs>http://www.croncast.com</docs>
      <generator>Palegroove</generator>
      <item>
         <title>Make links with PHP from plain text</title>
         <link>http://www.croncast.com/rssk/1205/Make-links-with-PHP-from-plain-text_link-from-url_create-links.php</link>
		 <category>Blog</category>
			<description><![CDATA[A couple of months ago I needed some PHP code to create links from plain text. <br><br>It took a while to find the right stuff but what I found was a script that needed quite a bit of work. <br><br>The fruit of my labor was this function that will take plain text URLs like http://www.croncast.com and turn them into <a href="http://www.croncast.com">http://www.croncast.com</a>.<br><br><textarea cols="50" rows="7" wrap="off">function makeURL($URL) {
$URL = eregi_replace('(((f|ht){1}tp://)[-a-zA-Z0-9@:\+.~#?&//=]+)','<a href=\\1>\\1</a>', $URL);
$URL = eregi_replace('([[:space:]()[{}])(www.[-a-zA-Z0-9@:\+.~#?&//=]+)','<a href=\\1>\\1</a>', $URL);
$URL = eregi_replace('([_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3})','<a href=\\1>\\1</a>', $URL);
return $URL;
}</textarea><br><br>To use this function:<br><br>
1. Take your copy, say $copy = "Lorem ipsum http://www.croncast.com"; and feed it to the function like so, echo makeURL($copy) <br>
2. Output would be "Lorem ipsum <a href="http://www.croncast.com">http://www.croncast.com</a>"<br><br>Tags: <a href="http://www.croncast.com/key/link from url">link from url</a> <a href="http://www.technorati.com/tag/link from url"><img src="http://www.croncast.com/images/technorati.gif" border="0"></a><a href="http://www.croncast.com/keyrss/link from url.rss"><img src="http://www.croncast.com/images/c4_rss_tiny.jpg" border="0"></a> <a href="http://www.croncast.com/key/create links">create links</a> <a href="http://www.technorati.com/tag/create links"><img src="http://www.croncast.com/images/technorati.gif" border="0"></a><a href="http://www.croncast.com/keyrss/create links.rss"><img src="http://www.croncast.com/images/c4_rss_tiny.jpg" border="0"></a> <a href="http://www.croncast.com/key/make url PHP">make url PHP</a> <a href="http://www.technorati.com/tag/make url PHP"><img src="http://www.croncast.com/images/technorati.gif" border="0"></a><a href="http://www.croncast.com/keyrss/make url PHP.rss"><img src="http://www.croncast.com/images/c4_rss_tiny.jpg" border="0"></a> <a href="http://www.croncast.com/key/plain text to link">plain text to link</a> <a href="http://www.technorati.com/tag/plain text to link"><img src="http://www.croncast.com/images/technorati.gif" border="0"></a><a href="http://www.croncast.com/keyrss/plain text to link.rss"><img src="http://www.croncast.com/images/c4_rss_tiny.jpg" border="0"></a>]]></description><content:encoded><![CDATA[A couple of months ago I needed some PHP code to create links from plain text. <br><br>It took a while to find the right stuff but what I found was a script that needed quite a bit of work. <br><br>The fruit of my labor was this function that will take plain text URLs like http://www.croncast.com and turn them into <a href="http://www.croncast.com">http://www.croncast.com</a>.<br><br><textarea cols="50" rows="7" wrap="off">function makeURL($URL) {
$URL = eregi_replace('(((f|ht){1}tp://)[-a-zA-Z0-9@:\+.~#?&//=]+)','<a href=\\1>\\1</a>', $URL);
$URL = eregi_replace('([[:space:]()[{}])(www.[-a-zA-Z0-9@:\+.~#?&//=]+)','<a href=\\1>\\1</a>', $URL);
$URL = eregi_replace('([_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3})','<a href=\\1>\\1</a>', $URL);
return $URL;
}</textarea><br><br>To use this function:<br><br>
1. Take your copy, say $copy = "Lorem ipsum http://www.croncast.com"; and feed it to the function like so, echo makeURL($copy) <br>
2. Output would be "Lorem ipsum <a href="http://www.croncast.com">http://www.croncast.com</a>"<br><br>Tags: <a href="http://www.croncast.com/key/link from url">link from url</a> <a href="http://www.technorati.com/tag/link from url"><img src="http://www.croncast.com/images/technorati.gif" border="0"></a><a href="http://www.croncast.com/keyrss/link from url.rss"><img src="http://www.croncast.com/images/c4_rss_tiny.jpg" border="0"></a> <a href="http://www.croncast.com/key/create links">create links</a> <a href="http://www.technorati.com/tag/create links"><img src="http://www.croncast.com/images/technorati.gif" border="0"></a><a href="http://www.croncast.com/keyrss/create links.rss"><img src="http://www.croncast.com/images/c4_rss_tiny.jpg" border="0"></a> <a href="http://www.croncast.com/key/make url PHP">make url PHP</a> <a href="http://www.technorati.com/tag/make url PHP"><img src="http://www.croncast.com/images/technorati.gif" border="0"></a><a href="http://www.croncast.com/keyrss/make url PHP.rss"><img src="http://www.croncast.com/images/c4_rss_tiny.jpg" border="0"></a> <a href="http://www.croncast.com/key/plain text to link">plain text to link</a> <a href="http://www.technorati.com/tag/plain text to link"><img src="http://www.croncast.com/images/technorati.gif" border="0"></a><a href="http://www.croncast.com/keyrss/plain text to link.rss"><img src="http://www.croncast.com/images/c4_rss_tiny.jpg" border="0"></a>]]></content:encoded>

         <pubDate>Sun, 25 Nov 2007 10:15:20 -0600</pubDate>         <guid isPermaLink="false">tag:croncast.com,1205</guid>

			<itunes:subtitle/>
				<itunes:summary>A couple of months ago I needed some PHP code to create links from plain text. It took a while to find the right stuff but what I found was a script that needed quite a bit of work. The fruit of my labor was this function that will take plain text URLs like http://www.croncast.com and turn them into http://www.croncast.com.function makeURL($URL)</itunes:summary>
				<itunes:explicit>no</itunes:explicit>
				<itunes:keywords>link from url, create links, make url PHP, plain text to link, </itunes:keywords> 
      </item>
   </channel>
</rss>