<?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/id</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 15:26:05 GMT</pubDate>
<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>(JavaScript) Bare-Bones Selector Engine - o0110o</title>
<link>http://snipplr.com/view/69038/barebones-selector-engine/</link>
<description><![CDATA[ <p>This is a very basic wrapper for querySelectorAll. Just add prototypes and whatever else you need.</p> ]]></description>
<pubDate>Sun, 09 Dec 2012 10:11:19 GMT</pubDate>
<guid>http://snipplr.com/view/69038/barebones-selector-engine/</guid>
</item>
<item>
<title>(JavaScript) Generate unique ID - jatkins</title>
<link>http://snipplr.com/view/68597/generate-unique-id/</link>
<description><![CDATA[ <p>Not necessarily perfectly unique, but the chances of two identical IDs being generated are insanely remote (so not really a GUID generator, but looks like it). You'll need to clear it up -- I pulled it out of an object containing miscellaneous functions.</p> ]]></description>
<pubDate>Sat, 17 Nov 2012 05:53:52 GMT</pubDate>
<guid>http://snipplr.com/view/68597/generate-unique-id/</guid>
</item>
<item>
<title>(ASP) how to use dynamically generated .Net element IDs on page in jquery or css - rumremix</title>
<link>http://snipplr.com/view/67168/how-to-use-dynamically-generated-net-element-ids-on-page-in-jquery-or-css/</link>
<description><![CDATA[ <p>In the examples, below, Step1 is the id  given to the element. If the element is set to runat="server", when it is rendered on the page, the id will change dynamically to something like ctl00$PlaceHolderMain$Step1. But the actual value may change. To make sure we capture the correct value to manipulate the element in javascript or CSS, use the technique below. Note that this code will need to live on the same page as the element, not in an external js or css file.</p> ]]></description>
<pubDate>Thu, 13 Sep 2012 04:37:21 GMT</pubDate>
<guid>http://snipplr.com/view/67168/how-to-use-dynamically-generated-net-element-ids-on-page-in-jquery-or-css/</guid>
</item>
<item>
<title>(PHP) Get Top Parent or Grandparent ID Wordpress - rliverman</title>
<link>http://snipplr.com/view/64339/get-top-parent-or-grandparent-id-wordpress/</link>
<description><![CDATA[ <p>From 'Andy' in the comments.</p> ]]></description>
<pubDate>Wed, 04 Apr 2012 00:06:53 GMT</pubDate>
<guid>http://snipplr.com/view/64339/get-top-parent-or-grandparent-id-wordpress/</guid>
</item>
<item>
<title>(PHP) Wordpress menu with a  Custom id on ul - Farhan</title>
<link>http://snipplr.com/view/64014/wordpress-menu-with-a--custom-id-on-ul/</link>
<description><![CDATA[ <p>This will give  for the wordpress Menu</p> ]]></description>
<pubDate>Mon, 19 Mar 2012 09:54:34 GMT</pubDate>
<guid>http://snipplr.com/view/64014/wordpress-menu-with-a--custom-id-on-ul/</guid>
</item>
<item>
<title>(JavaScript) JavaScript IDify - EvanHahn</title>
<link>http://snipplr.com/view/63893/javascript-idify/</link>
<description><![CDATA[ <p>This prepends a `#` if it's not already there. Useful when doing jQuery selectors.</p> ]]></description>
<pubDate>Mon, 12 Mar 2012 10:01:29 GMT</pubDate>
<guid>http://snipplr.com/view/63893/javascript-idify/</guid>
</item>
<item>
<title>(PHP) Wordpress Custom Post Type : POST ID in post url - nerdsane</title>
<link>http://snipplr.com/view/63478/wordpress-custom-post-type--post-id-in-post-url/</link>
<description><![CDATA[ <p>so you want to have your url structure like :
yourdomain.com/post-type/286

add the following snippet to your functions.php and change the post-type names where appropriate</p> ]]></description>
<pubDate>Tue, 21 Feb 2012 22:29:29 GMT</pubDate>
<guid>http://snipplr.com/view/63478/wordpress-custom-post-type--post-id-in-post-url/</guid>
</item>
<item>
<title>(PHP) Get YouTube Video ID [Very robust] - jmiller</title>
<link>http://snipplr.com/view/62238/get-youtube-video-id-very-robust/</link>
<description><![CDATA[ <p>This will get the 11-character YouTube video ID from any valid YouTube URL.

Based on http://snipplr.com/view/57065/get-youtube-video-id/ but made more robust to handle additional URL inputs</p> ]]></description>
<pubDate>Tue, 03 Jan 2012 17:17:29 GMT</pubDate>
<guid>http://snipplr.com/view/62238/get-youtube-video-id-very-robust/</guid>
</item>
<item>
<title>(PHP) Reference CSS to DIV ID with Square Brackets - simondiercks</title>
<link>http://snipplr.com/view/60484/reference-css-to-div-id-with-square-brackets/</link>
<description><![CDATA[ <p>escape them ("\")</p> ]]></description>
<pubDate>Wed, 02 Nov 2011 21:16:44 GMT</pubDate>
<guid>http://snipplr.com/view/60484/reference-css-to-div-id-with-square-brackets/</guid>
</item>
<item>
<title>(ActionScript 3) WordPress - check if user exists by ID - digitalzoomstudio</title>
<link>http://snipplr.com/view/57103/wordpress--check-if-user-exists-by-id/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 25 Jul 2011 11:12:35 GMT</pubDate>
<guid>http://snipplr.com/view/57103/wordpress--check-if-user-exists-by-id/</guid>
</item>
<item>
<title>(PHP) youtube url video id - KabuqueJoe</title>
<link>http://snipplr.com/view/52335/youtube-url-video-id/</link>
<description><![CDATA[ <p>Returns the video id for any type of youtube url that holds one.</p> ]]></description>
<pubDate>Wed, 20 Apr 2011 00:46:34 GMT</pubDate>
<guid>http://snipplr.com/view/52335/youtube-url-video-id/</guid>
</item>
<item>
<title>(C#) Finding an entity by it's id - garnold</title>
<link>http://snipplr.com/view/50323/finding-an-entity-by-its-id/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 09 Mar 2011 01:54:57 GMT</pubDate>
<guid>http://snipplr.com/view/50323/finding-an-entity-by-its-id/</guid>
</item>
<item>
<title>(HTML) R2C TextMate Bundle  - Div #id - r2cgroup</title>
<link>http://snipplr.com/view/48732/r2c-textmate-bundle---div-id/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 10 Feb 2011 10:44:27 GMT</pubDate>
<guid>http://snipplr.com/view/48732/r2c-textmate-bundle---div-id/</guid>
</item>
<item>
<title>(PHP) Drupal 6 - Stop views from giving block ids a hash name - Block Preprocess - Onfire60</title>
<link>http://snipplr.com/view/47462/drupal-6--stop-views-from-giving-block-ids-a-hash-name--block-preprocess/</link>
<description><![CDATA[ <p>This code goes directly into your template.php file after you remove the open and close PHP tags at the beginning and end.

Then place the call below in your block.tpl.php. Don't forget to flush cache.</p> ]]></description>
<pubDate>Wed, 19 Jan 2011 04:12:11 GMT</pubDate>
<guid>http://snipplr.com/view/47462/drupal-6--stop-views-from-giving-block-ids-a-hash-name--block-preprocess/</guid>
</item>
<item>
<title>(PHP) Drupal 6 - Better Block Ids Function - Onfire60</title>
<link>http://snipplr.com/view/47460/drupal-6--better-block-ids-function/</link>
<description><![CDATA[ <p>Copy the first code snippet to your theme's template.php.

Then call the following section in you block template file.</p> ]]></description>
<pubDate>Wed, 19 Jan 2011 03:26:38 GMT</pubDate>
<guid>http://snipplr.com/view/47460/drupal-6--better-block-ids-function/</guid>
</item>
<item>
<title>(PHP) getting video ID attribute from youTube url with php - dan_hoerr</title>
<link>http://snipplr.com/view/47110/getting-video-id-attribute-from-youtube-url-with-php/</link>
<description><![CDATA[ <p>taken from comments at above URL</p> ]]></description>
<pubDate>Fri, 14 Jan 2011 05:49:18 GMT</pubDate>
<guid>http://snipplr.com/view/47110/getting-video-id-attribute-from-youtube-url-with-php/</guid>
</item>
<item>
<title>(PHP) Get WordPress page ID outside of loop - depiction</title>
<link>http://snipplr.com/view/47020/get-wordpress-page-id-outside-of-loop/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 13 Jan 2011 03:16:59 GMT</pubDate>
<guid>http://snipplr.com/view/47020/get-wordpress-page-id-outside-of-loop/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Globally unique identifier (GUID) - adrianparr</title>
<link>http://snipplr.com/view/45247/as3-globally-unique-identifier-guid/</link>
<description><![CDATA[ <p>Create a unique ID in AS3.
http://en.wikipedia.org/wiki/Globally_unique_identifier</p> ]]></description>
<pubDate>Sat, 04 Dec 2010 02:07:30 GMT</pubDate>
<guid>http://snipplr.com/view/45247/as3-globally-unique-identifier-guid/</guid>
</item>
<item>
<title>(Other) Wordpress Dynamic Body ID - dottDesign</title>
<link>http://snipplr.com/view/44236/wordpress-dynamic-body-id/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 16 Nov 2010 04:42:35 GMT</pubDate>
<guid>http://snipplr.com/view/44236/wordpress-dynamic-body-id/</guid>
</item>
</channel>
</rss>