<?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/favorites/rolandog</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 01 Dec 2008 17:49:50 GMT</pubDate>
<item>
<title>(PHP) rm_wpautop - rolandog</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 - rolandog</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() - rolandog</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 - rolandog</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 - rolandog</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 - rolandog</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>(Bash) How to mount iso/nrg/mdf image files and how to convert between formats - rolandog</title>
<link>http://snipplr.com/view/738/how-to-mount-isonrgmdf-image-files-and-how-to-convert-between-formats/</link>
<description><![CDATA[ <p>For bin iso you also need cdemu
To convert between formats check: mdf2iso, nrg2iso and ccd2iso</p> ]]></description>
<pubDate>Fri, 04 Aug 2006 15:44:38 GMT</pubDate>
<guid>http://snipplr.com/view/738/how-to-mount-isonrgmdf-image-files-and-how-to-convert-between-formats/</guid>
</item>
<item>
<title>(C++) cubic interpolation - rolandog</title>
<link>http://snipplr.com/view/727/cubic-interpolation/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 03 Aug 2006 20:33:35 GMT</pubDate>
<guid>http://snipplr.com/view/727/cubic-interpolation/</guid>
</item>
<item>
<title>(JavaScript) Public properties for Objects in Javascript - rolandog</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 - rolandog</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>(CSS) WinIE PNG Filter - rolandog</title>
<link>http://snipplr.com/view/497/winie-png-filter/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 18 Jul 2006 04:36:44 GMT</pubDate>
<guid>http://snipplr.com/view/497/winie-png-filter/</guid>
</item>
<item>
<title>(JavaScript) get URL Params (2 methods) - rolandog</title>
<link>http://snipplr.com/view/463/get-url-params-2-methods/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 17 Jul 2006 05:57:10 GMT</pubDate>
<guid>http://snipplr.com/view/463/get-url-params-2-methods/</guid>
</item>
<item>
<title>(PHP) Make Snipplr WordPress plugin output valid XHTML - rolandog</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>(Other) mod_rewrite ignore rules if a matching file or directory exists - rolandog</title>
<link>http://snipplr.com/view/344/modrewrite-ignore-rules-if-a-matching-file-or-directory-exists/</link>
<description><![CDATA[ <p>Place these lines at the top of your .htaccess file to skip to existing files and directories if they exist. If not, proccess our other rules as usual.</p> ]]></description>
<pubDate>Tue, 11 Jul 2006 11:06:18 GMT</pubDate>
<guid>http://snipplr.com/view/344/modrewrite-ignore-rules-if-a-matching-file-or-directory-exists/</guid>
</item>
<item>
<title>(JavaScript) Make LiteBox work for application/xhtml xml and text/html - rolandog</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 - rolandog</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 - rolandog</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 - rolandog</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>
<item>
<title>(PHP) Read wav header and calculate duration - rolandog</title>
<link>http://snipplr.com/view/285/read-wav-header-and-calculate-duration/</link>
<description><![CDATA[ <p>Use unpack() to decode header information. Return duration in format mm:ss</p> ]]></description>
<pubDate>Sat, 08 Jul 2006 13:56:31 GMT</pubDate>
<guid>http://snipplr.com/view/285/read-wav-header-and-calculate-duration/</guid>
</item>
<item>
<title>(JavaScript) Browser Detection - rolandog</title>
<link>http://snipplr.com/view/271/browser-detection/</link>
<description><![CDATA[ <p>Detects the browser and its version.</p> ]]></description>
<pubDate>Sat, 08 Jul 2006 07:28:30 GMT</pubDate>
<guid>http://snipplr.com/view/271/browser-detection/</guid>
</item>
</channel>
</rss>