<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/url</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 12:17:57 GMT</pubDate>
<item>
<title>(PHP) Magento Parameters - tomle123</title>
<link>http://snipplr.com/view/70915/magento-parameters/</link>
<description><![CDATA[ <p>append this to switch to different Stores in Magento</p> ]]></description>
<pubDate>Wed, 24 Apr 2013 06:08:04 GMT</pubDate>
<guid>http://snipplr.com/view/70915/magento-parameters/</guid>
</item>
<item>
<title>(PHP) Function to Auto Convert URL into Clickable Hyperlink (Anchor  Tag) - fackz</title>
<link>http://snipplr.com/view/70906/function-to-auto-convert-url-into-clickable-hyperlink-anchor--tag/</link>
<description><![CDATA[ <p>In wordpress, if you want to auto convert all URLs in your string into clickable hyperlinks, you can actually do it using the built-in function make_clickable(). 

If you need to do that outside of wordpress, you can use the same function.
Example:
$string = 'I have some texts here and also links such as http://www.youtube.com , www.haha.com and lol@example.com. They are ready to be replaced.';
 
echo make_clickable($string);</p> ]]></description>
<pubDate>Tue, 23 Apr 2013 23:40:35 GMT</pubDate>
<guid>http://snipplr.com/view/70906/function-to-auto-convert-url-into-clickable-hyperlink-anchor--tag/</guid>
</item>
<item>
<title>(jQuery) Adding an active class to nav links based on URL with jQuery Address - vaughanj</title>
<link>http://snipplr.com/view/70689/adding-an-active-class-to-nav-links-based-on-url-with-jquery-address/</link>
<description><![CDATA[ <p>What this does is it adds the attribute “data-path” to each of the nav links, and gives this attribute a value of whatever comes after the “base” URL. Because we are using jQuery Address, we have the (event.value) variable to play with. This value is automatically set to be whatever is after the “base” value too, which means we can now check to see if these values equal each other. If they do, the active class is added to the link. Remember, this function resides inside the jQuery.address.change function, so it will be run every time a new link is clicked.</p> ]]></description>
<pubDate>Sat, 06 Apr 2013 21:10:20 GMT</pubDate>
<guid>http://snipplr.com/view/70689/adding-an-active-class-to-nav-links-based-on-url-with-jquery-address/</guid>
</item>
<item>
<title>(PHP) URL validation - dosde</title>
<link>http://snipplr.com/view/70256/url-validation/</link>
<description><![CDATA[ <p>validate given URL through C5</p> ]]></description>
<pubDate>Tue, 05 Mar 2013 18:31:13 GMT</pubDate>
<guid>http://snipplr.com/view/70256/url-validation/</guid>
</item>
<item>
<title>(PHP) Get short urls for Twitter with PHP - apphp-snippets</title>
<link>http://snipplr.com/view/69983/get-short-urls-for-twitter-with-php/</link>
<description><![CDATA[ <p>If you work with Twitter, you probably use a url shortener such as tinyurl.com or bit.ly to share/post your favorite blog posts or important messages with links on the network. This snippet take your url as a parameter and returns a short url.</p> ]]></description>
<pubDate>Mon, 18 Feb 2013 21:22:14 GMT</pubDate>
<guid>http://snipplr.com/view/69983/get-short-urls-for-twitter-with-php/</guid>
</item>
<item>
<title>(PHP) Get the Favicon from a website - phpdev</title>
<link>http://snipplr.com/view/69917/get-the-favicon-from-a-website/</link>
<description><![CDATA[ <p>**Example of use:**

&amp;lt;a href="http://www.php.net/manual/en/index.php"&amp;gt;&amp;lt;img src="&amp;lt;?php echo get_favicon('http://www.php.net/manual/en/index.php') ?&amp;gt;" alt="Favicon" title="See PHP documentation" width="16" height="16" /&amp;gt;&amp;lt;/a&amp;gt;</p> ]]></description>
<pubDate>Wed, 13 Feb 2013 04:07:29 GMT</pubDate>
<guid>http://snipplr.com/view/69917/get-the-favicon-from-a-website/</guid>
</item>
<item>
<title>(JavaScript) Youtube ID from URL - slimITTN</title>
<link>http://snipplr.com/view/69877/youtube-id-from-url/</link>
<description><![CDATA[ <p>This snippets show how to extract the video id of a youtube video from its URL</p> ]]></description>
<pubDate>Mon, 11 Feb 2013 07:31:14 GMT</pubDate>
<guid>http://snipplr.com/view/69877/youtube-id-from-url/</guid>
</item>
<item>
<title>(PHP) [PHP] Get URL Title - goo</title>
<link>http://snipplr.com/view/69365/php-get-url-title/</link>
<description><![CDATA[ <p>Return URL Title.
Return URL if any problem.</p> ]]></description>
<pubDate>Sat, 05 Jan 2013 22:34:34 GMT</pubDate>
<guid>http://snipplr.com/view/69365/php-get-url-title/</guid>
</item>
<item>
<title>(Regular Expression) Regular Expression for Matching URLs with or without http(s) - brandonjp</title>
<link>http://snipplr.com/view/68530/regular-expression-for-matching-urls-with-or-without-https/</link>
<description><![CDATA[ <p>thanks to... 
http://gskinner.com/RegExr/
http://daringfireball.net/2010/07/improved_regex_for_matching_urls</p> ]]></description>
<pubDate>Tue, 13 Nov 2012 07:34:18 GMT</pubDate>
<guid>http://snipplr.com/view/68530/regular-expression-for-matching-urls-with-or-without-https/</guid>
</item>
<item>
<title>(C#) DNN Pop Up Creation URL - box86rowh</title>
<link>http://snipplr.com/view/68089/dnn-pop-up-creation-url/</link>
<description><![CDATA[ <p>This will get you a quick url for a pop up on DNN</p> ]]></description>
<pubDate>Mon, 05 Nov 2012 00:29:02 GMT</pubDate>
<guid>http://snipplr.com/view/68089/dnn-pop-up-creation-url/</guid>
</item>
<item>
<title>(C#) Open Web Browser Window to URL C# - Verician</title>
<link>http://snipplr.com/view/67388/open-web-browser-window-to-url-c/</link>
<description><![CDATA[ <p>I needed to open a browser window from my small C# app as a result of a dynamic URL build from data received from the command line. This did the trick!</p> ]]></description>
<pubDate>Wed, 26 Sep 2012 23:10:35 GMT</pubDate>
<guid>http://snipplr.com/view/67388/open-web-browser-window-to-url-c/</guid>
</item>
<item>
<title>(PHP) SimpleText - valenzine</title>
<link>http://snipplr.com/view/67257/simpletext/</link>
<description><![CDATA[ <p>Taken from http://stackoverflow.com/a/10997500</p> ]]></description>
<pubDate>Thu, 20 Sep 2012 01:40:25 GMT</pubDate>
<guid>http://snipplr.com/view/67257/simpletext/</guid>
</item>
<item>
<title>(JavaScript) Get URL Parameter - pmw57</title>
<link>http://snipplr.com/view/67253/get-url-parameter/</link>
<description><![CDATA[ <p>Code from https://snipt.net/geekyjohn/get-url-param/ updated so that most jslint issues are resolved, and updated the return to use a guard condition instead of a separate if statement.</p> ]]></description>
<pubDate>Wed, 19 Sep 2012 19:45:38 GMT</pubDate>
<guid>http://snipplr.com/view/67253/get-url-parameter/</guid>
</item>
<item>
<title>(PHP) Cakephp - Get current base url (include domain ) - tucq88</title>
<link>http://snipplr.com/view/67158/cakephp--get-current-base-url-include-domain-/</link>
<description><![CDATA[ <p>Get current url. Include domiain. For example :http:// localhost/root_folder.</p> ]]></description>
<pubDate>Wed, 12 Sep 2012 14:08:26 GMT</pubDate>
<guid>http://snipplr.com/view/67158/cakephp--get-current-base-url-include-domain-/</guid>
</item>
<item>
<title>(Objective C) (ibaction) Open URL in safari - code4mac</title>
<link>http://snipplr.com/view/67089/ibaction-open-url-in-safari/</link>
<description><![CDATA[ <p>simple snippet to open url with an ibaction in safari</p> ]]></description>
<pubDate>Fri, 07 Sep 2012 22:55:53 GMT</pubDate>
<guid>http://snipplr.com/view/67089/ibaction-open-url-in-safari/</guid>
</item>
<item>
<title>(Python) URL Canonicalizer Spider middleware - scrapy</title>
<link>http://snipplr.com/view/67007/url-canonicalizer-spider-middleware/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 01 Sep 2012 07:15:32 GMT</pubDate>
<guid>http://snipplr.com/view/67007/url-canonicalizer-spider-middleware/</guid>
</item>
<item>
<title>(JavaScript) Change URL without refreshing - dnnsldr</title>
<link>http://snipplr.com/view/66836/change-url-without-refreshing/</link>
<description><![CDATA[ <p>//You cannot change the whole url without redirecting, what you can do instead is change the hash.

//The hash is the part of the url that goes after the # symbol. 
//That was initially intended to direct you (locally) to sections of your HTML document, but you can read and modify it through javascript to use it somewhat like a global variable.</p> ]]></description>
<pubDate>Wed, 22 Aug 2012 02:05:07 GMT</pubDate>
<guid>http://snipplr.com/view/66836/change-url-without-refreshing/</guid>
</item>
<item>
<title>(PHP) Uri multiple parameters - MonsterDev</title>
<link>http://snipplr.com/view/66131/uri-multiple-parameters/</link>
<description><![CDATA[ <p>This function allow you ti have multiple parameters in your query string.
Ex : id=12&amp;name=Doe&amp;id=42&amp;nickname=Monster</p> ]]></description>
<pubDate>Sat, 14 Jul 2012 02:02:37 GMT</pubDate>
<guid>http://snipplr.com/view/66131/uri-multiple-parameters/</guid>
</item>
<item>
<title>(jQuery) Get the Youtube ID from a Youtube URL (Shortened URL support too) - Morg</title>
<link>http://snipplr.com/view/65541/get-the-youtube-id-from-a-youtube-url-shortened-url-support-too/</link>
<description><![CDATA[ <p>Use this snippet to check if user supplied URL is a valid Youtube URL. Has support for youtu.be shortened URL's too.</p> ]]></description>
<pubDate>Mon, 11 Jun 2012 20:41:23 GMT</pubDate>
<guid>http://snipplr.com/view/65541/get-the-youtube-id-from-a-youtube-url-shortened-url-support-too/</guid>
</item>
<item>
<title>(Other) Likes from URL Facebook - DiegoSeC</title>
<link>http://snipplr.com/view/64821/likes-from-url-facebook/</link>
<description><![CDATA[ <p>This is how you can see likes from a specific url</p> ]]></description>
<pubDate>Wed, 09 May 2012 01:14:16 GMT</pubDate>
<guid>http://snipplr.com/view/64821/likes-from-url-facebook/</guid>
</item>
</channel>
</rss>