<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - nerdfiles</title>
<link>http://snipplr.com/users/nerdfiles/tags/php</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 15 Feb 2012 16:16:32 GMT</pubDate>
<item>
<title>(PHP) PHP in html, htaccess</title>
<link>http://snipplr.com/view/58222/php-in-html-htaccess/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 27 Aug 2011 01:32:46 GMT</pubDate>
<guid>http://snipplr.com/view/58222/php-in-html-htaccess/</guid>
</item>
<item>
<title>(PHP) Dummy Image Random</title>
<link>http://snipplr.com/view/40456/dummy-image-random/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 14 Sep 2010 14:12:34 GMT</pubDate>
<guid>http://snipplr.com/view/40456/dummy-image-random/</guid>
</item>
<item>
<title>(PHP) cleanse html, js, style from form input</title>
<link>http://snipplr.com/view/26013/cleanse-html-js-style-from-form-input/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 06 Jan 2010 10:35:22 GMT</pubDate>
<guid>http://snipplr.com/view/26013/cleanse-html-js-style-from-form-input/</guid>
</item>
<item>
<title>(XHTML) XHTML+RDFa 1.0 Template (for Production)</title>
<link>http://snipplr.com/view/20476/xhtmlrdfa-10-template-for-production/</link>
<description><![CDATA[ <p>Production status (seriously this time). See URL for output. Set for jQuery and Y! CSS Reset use.

Notes: Uses PHP. XHTML+XML mime-type. FF, Opera, Chrome, Safari, IE7+ compatible.

Warning: Servces"text/html" and "text/javascript" to IE (content negotiation). Breaks in IE6. So? Even Google gave up on that trash.</p> ]]></description>
<pubDate>Wed, 30 Sep 2009 12:53:04 GMT</pubDate>
<guid>http://snipplr.com/view/20476/xhtmlrdfa-10-template-for-production/</guid>
</item>
<item>
<title>(XHTML) XHTML+RDFa 1.0 Template (external DTD)</title>
<link>http://snipplr.com/view/20446/xhtmlrdfa-10-template-external-dtd/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 29 Sep 2009 18:11:07 GMT</pubDate>
<guid>http://snipplr.com/view/20446/xhtmlrdfa-10-template-external-dtd/</guid>
</item>
<item>
<title>(XHTML) XHTML+RDFa 1.0 Template (as XHTML+XML, jQuery and Y! CSS Reset)</title>
<link>http://snipplr.com/view/20431/xhtmlrdfa-10-template-as-xhtmlxml-jquery-and-y-css-reset/</link>
<description><![CDATA[ <p>Parse your markup as true XHTML under XML rules through the "application/xhtml+xml" mime type. Works with "application/xml". That is, use XHTML beyond the label, the buzzword. Provides an example of internally extending the DTD with the marginalized (irony) @longdesc.

Notes:
Assumes PHP. 
Compatible with IE6-8 (invokes their XML rendering engine).
Of course, the extension is nonessential to this template.

Instructions: 
1. Add a file named "ie-xml-fix.xsl" ( http://snipplr.com/view/20432/iexmlfixxsl/ ) to the same directory as your index(.htm|.html|.php|.xhtml) file.</p> ]]></description>
<pubDate>Tue, 29 Sep 2009 14:37:27 GMT</pubDate>
<guid>http://snipplr.com/view/20431/xhtmlrdfa-10-template-as-xhtmlxml-jquery-and-y-css-reset/</guid>
</item>
<item>
<title>(PHP) Manually load (Google's) Latest jQuery in Wordpress</title>
<link>http://snipplr.com/view/17540/manually-load-googles-latest-jquery-in-wordpress/</link>
<description><![CDATA[ <p>The URL is normative and has nothing to do with the Source. Because so many blog posts with so few solutions (either outmoded or simply not relevant).

This allows you to prevent Wordpress's $script->add(); function (in "wp-includes/script-loader.php") from loading jQuery; then you can load Google's stored copy of jQuery (with gzip, so that you get the as-advertised 19kb, depending on server specifications, though).</p> ]]></description>
<pubDate>Mon, 27 Jul 2009 19:06:33 GMT</pubDate>
<guid>http://snipplr.com/view/17540/manually-load-googles-latest-jquery-in-wordpress/</guid>
</item>
<item>
<title>(PHP) URL Parameter to Page Include</title>
<link>http://snipplr.com/view/16195/url-parameter-to-page-include/</link>
<description><![CDATA[ <p>Combine with an .htaccess script to transpose URLs. Or simply have PHP parse "DOMAIN.com/var/" strings to URL parameters (that is, page=var). Search for "page title" variable in the page after the header() function.</p> ]]></description>
<pubDate>Mon, 22 Jun 2009 13:17:38 GMT</pubDate>
<guid>http://snipplr.com/view/16195/url-parameter-to-page-include/</guid>
</item>
<item>
<title>(PHP) Generate Category List by Category Name</title>
<link>http://snipplr.com/view/13045/generate-category-list-by-category-name/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 12 Mar 2009 16:24:39 GMT</pubDate>
<guid>http://snipplr.com/view/13045/generate-category-list-by-category-name/</guid>
</item>
</channel>
</rss>
