<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - rolandog</title>
<link>http://snipplr.com/users/rolandog</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 20 Mar 2010 17:55:43 GMT</pubDate>
<item>
<title>(JavaScript) Timer.js</title>
<link>http://snipplr.com/view/28220/timerjs/</link>
<description><![CDATA[ <p>A constructor that takes a date and returns a Timer object with several calculations. You can enter a string, or number by number or even use it as a counter by calling it as new Timer().</p> ]]></description>
<pubDate>Fri, 12 Feb 2010 02:14:54 GMT</pubDate>
<guid>http://snipplr.com/view/28220/timerjs/</guid>
</item>
<item>
<title>(MySQL) Conversión de Latin1 a UTF8</title>
<link>http://snipplr.com/view/12716/conversin-de-latin1-a-utf8/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 02 Mar 2009 05:07:55 GMT</pubDate>
<guid>http://snipplr.com/view/12716/conversin-de-latin1-a-utf8/</guid>
</item>
<item>
<title>(PHP) rm_wpautop</title>
<link>http://snipplr.com/view/9699/rmwpautop/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 12 Nov 2008 19:43:44 GMT</pubDate>
<guid>http://snipplr.com/view/9699/rmwpautop/</guid>
</item>
<item>
<title>(JavaScript) Math.js</title>
<link>http://snipplr.com/view/8965/mathjs/</link>
<description><![CDATA[ <p>An ECMAScript library that adds some basic Mathematical functions to the Math object.</p> ]]></description>
<pubDate>Sun, 12 Oct 2008 17:12:45 GMT</pubDate>
<guid>http://snipplr.com/view/8965/mathjs/</guid>
</item>
<item>
<title>(JavaScript) type.of() - a more specific typeof()</title>
<link>http://snipplr.com/view/1996/typeof--a-more-specific-typeof/</link>
<description><![CDATA[ <p>Helps identify correctly the type of whatever you put as an argument. This was adapted from http://www.planetpdf.com/developer/article.asp?ContentID=testing_for_object_types_in_ja</p> ]]></description>
<pubDate>Wed, 17 Jan 2007 21:00:28 GMT</pubDate>
<guid>http://snipplr.com/view/1996/typeof--a-more-specific-typeof/</guid>
</item>
<item>
<title>(JavaScript) OPML PopUp to ease Podcast Aggregation</title>
<link>http://snipplr.com/view/1651/opml-popup-to-ease-podcast-aggregation/</link>
<description><![CDATA[ <p>This is a website specific script... pops up the source of an OPML file with 145+ podcasts.
http://www.productivity501.com/2006/11/free_academic_p.html

Note: The 'bookmarklet' format is included as a comment at the bottom... (write in a webpage an anchor element with the escaped javascript format in the href attribute).</p> ]]></description>
<pubDate>Mon, 13 Nov 2006 02:30:23 GMT</pubDate>
<guid>http://snipplr.com/view/1651/opml-popup-to-ease-podcast-aggregation/</guid>
</item>
<item>
<title>(HTML) Placing a Flickr Slideshow</title>
<link>http://snipplr.com/view/1457/placing-a-flickr-slideshow/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 23 Oct 2006 17:43:03 GMT</pubDate>
<guid>http://snipplr.com/view/1457/placing-a-flickr-slideshow/</guid>
</item>
<item>
<title>(PHP) Sending appropriate mimetype and doctype, if supported</title>
<link>http://snipplr.com/view/752/sending-appropriate-mimetype-and-doctype-if-supported/</link>
<description><![CDATA[ <p>Sends as XHTML 1.1 + MathML if supported, falls back to XHTML 1.1 if supported, or falls back to HTML 4.01 Strict.

Mixed two separate scripts:
http://www.workingwith.me.uk/articles/scripting/mimetypes
http://golem.ph.utexas.edu/~distler/blog/archives/000367.html</p> ]]></description>
<pubDate>Tue, 08 Aug 2006 13:04:16 GMT</pubDate>
<guid>http://snipplr.com/view/752/sending-appropriate-mimetype-and-doctype-if-supported/</guid>
</item>
<item>
<title>(JavaScript) Public properties for Objects in Javascript</title>
<link>http://snipplr.com/view/513/public-properties-for-objects-in-javascript/</link>
<description><![CDATA[ <p>This function allows an object's property names to be read by using an index. The properties can be accessed like: someobject.propertyNames[0] or someobject.propertyValues[0]. But you first have to make the object's properties available by calling someobject.makePublic(['name1','name2','name3',...,'nameN']). The array in the makePublic function is an array of the names of the properties you'd like to make available. Perhaps you're only interested in ['foo','bar']. This is useful for situations where you don't explicitly know if an object carries all properties, but you have an array of all the possible properties available.</p> ]]></description>
<pubDate>Wed, 19 Jul 2006 12:27:30 GMT</pubDate>
<guid>http://snipplr.com/view/513/public-properties-for-objects-in-javascript/</guid>
</item>
<item>
<title>(JavaScript) Konstructor: Dynamic Element Kreator</title>
<link>http://snipplr.com/view/500/konstructor-dynamic-element-kreator/</link>
<description><![CDATA[ <p>Constructs an element out of arrays. Using nested arrays translates into nested ChildNodes.
Update 2006-07-19: Added documentation (comments).
Update 2006-11-25: Reduced the ammount of code needed.</p> ]]></description>
<pubDate>Tue, 18 Jul 2006 15:16:41 GMT</pubDate>
<guid>http://snipplr.com/view/500/konstructor-dynamic-element-kreator/</guid>
</item>
<item>
<title>(PHP) Make Snipplr WordPress plugin output valid XHTML</title>
<link>http://snipplr.com/view/437/make-snipplr-wordpress-plugin-output-valid-xhtml/</link>
<description><![CDATA[ <p>You should edit your WordPress plugin so that the $source variable at the end shows this value. Though it is a shame that code can't have an 'ol' as a childNode, and neither can the pre element. Couldn't find any way of making it all fit: http://learningforlife.fsu.edu/webmaster/references/xhtml/tags/text/pre.cfm</p> ]]></description>
<pubDate>Sat, 15 Jul 2006 14:38:19 GMT</pubDate>
<guid>http://snipplr.com/view/437/make-snipplr-wordpress-plugin-output-valid-xhtml/</guid>
</item>
<item>
<title>(JavaScript) Make LiteBox work for application/xhtml xml and text/html</title>
<link>http://snipplr.com/view/323/make-litebox-work-for-applicationxhtml-xml-and-texthtml/</link>
<description><![CDATA[ <p>Directions: be sure to set to absolute paths every image location from your litebox-1.0.js and lightbox.css files... and, replace the setInnerHTML function with this one...
http://www.doknowevil.net/litebox/</p> ]]></description>
<pubDate>Mon, 10 Jul 2006 02:33:31 GMT</pubDate>
<guid>http://snipplr.com/view/323/make-litebox-work-for-applicationxhtml-xml-and-texthtml/</guid>
</item>
<item>
<title>(JavaScript) Konqueror Browser OR KHTML Engine Detection</title>
<link>http://snipplr.com/view/313/konqueror-browser-or-khtml-engine-detection/</link>
<description><![CDATA[ <p>This is a way to determine if the browser uses the KHTML engine or if it is the Konqueror Browser.</p> ]]></description>
<pubDate>Sun, 09 Jul 2006 14:07:07 GMT</pubDate>
<guid>http://snipplr.com/view/313/konqueror-browser-or-khtml-engine-detection/</guid>
</item>
<item>
<title>(JavaScript) Wordpress XHTML and HTML Comment Preview</title>
<link>http://snipplr.com/view/294/wordpress-xhtml-and-html-comment-preview/</link>
<description><![CDATA[ <p>For a working demo in application/xhtml+xml or text/html, go to:
http://rolandog.com/archives/2006/07/10/litebox-demasiado-bueno-para-ser-cierto/

You should delete the multi-line comments after completing the setup, some old browsers will complain about those.</p> ]]></description>
<pubDate>Sun, 09 Jul 2006 01:44:14 GMT</pubDate>
<guid>http://snipplr.com/view/294/wordpress-xhtml-and-html-comment-preview/</guid>
</item>
<item>
<title>(JavaScript) Iterative Node Deletion</title>
<link>http://snipplr.com/view/293/iterative-node-deletion/</link>
<description><![CDATA[ <p>This script makes it possible to delete every childNodes, childNodes.childNodes, childNodes.childNodes.childNodes and so on. Includes example functions for deleting all childNodes, firstChild and lastChild from an 'id'. It uses twin functions that call each other until everything is removed.</p> ]]></description>
<pubDate>Sun, 09 Jul 2006 01:07:58 GMT</pubDate>
<guid>http://snipplr.com/view/293/iterative-node-deletion/</guid>
</item>
</channel>
</rss>