<?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/http</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 24 Jul 2008 08:17:09 GMT</pubDate>
<item>
<title>(Apache) Add http header to force IE8 to render in IE7 mode - gbot</title>
<link>http://snipplr.com/view/6781/add-http-header-to-force-ie8-to-render-in-ie7-mode/</link>
<description><![CDATA[ <p>In summary, IE7 compatibility support looks as follows:

IE=7

Display in IE7 Standards mode; Already supported in the IE8 Beta 1 release

IE=EmulateIE7

Display standards DOCTYPEs in IE7 Standards mode; Display quirks DOCTYPEs in Quirks mode; Available through the IE June Security Update for IE8 Beta 1

There are two ways to implement this tag:

    * On a per-site basis, add a custom HTTP header 

    X-UA-Compatible: IE=EmulateIE7

    * On a per-page basis, add a special HTML tag to each document, right after the  tag 

    

Implementing the HTTP header is beneficial if a site owner wants most of their site to render as it did in IE7 or if there are no plans to update site content. Inclusion of this header honors any Quirks mode pages that belong to the site.

Using the meta-tag on a per-page basis is beneficial when the publisher wants to opt-in specific pages to render as they did in IE7.

NOTE: The X-UA-Compatible tag and header override any existing DOCTYPE. Also, the mode specified by the page takes precedent over the HTTP header. For example, you could add the EmulateIE7 HTTP header to a site, and set specific pages to display in IE8 mode (by using the meta-tag with content=”IE8”).</p> ]]></description>
<pubDate>Thu, 19 Jun 2008 10:16:46 GMT</pubDate>
<guid>http://snipplr.com/view/6781/add-http-header-to-force-ie8-to-render-in-ie7-mode/</guid>
</item>
<item>
<title>(Bash) QuickBase add record from the command line - noah</title>
<link>http://snipplr.com/view/5639/quickbase-add-record-from-the-command-line/</link>
<description><![CDATA[ <p>The field IDs (_fid_19) are specific to your QB instance.  See the API ref for how to figure out which field is which.

To get back the URL of the normal HTML confirmation page, add the argument -d "disprec=true"</p> ]]></description>
<pubDate>Mon, 31 Mar 2008 22:51:20 GMT</pubDate>
<guid>http://snipplr.com/view/5639/quickbase-add-record-from-the-command-line/</guid>
</item>
<item>
<title>(Bash) LDAP/NTLM authentication on the command line with curl - noah</title>
<link>http://snipplr.com/view/5578/ldapntlm-authentication-on-the-command-line-with-curl/</link>
<description><![CDATA[ <p>Note that curl will not follow redirects.  Will prompt interactively for password if the -u option is omitted.</p> ]]></description>
<pubDate>Thu, 27 Mar 2008 11:33:30 GMT</pubDate>
<guid>http://snipplr.com/view/5578/ldapntlm-authentication-on-the-command-line-with-curl/</guid>
</item>
<item>
<title>(Perl) lwp-request - noah</title>
<link>http://snipplr.com/view/5196/lwprequest/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 25 Feb 2008 12:28:41 GMT</pubDate>
<guid>http://snipplr.com/view/5196/lwprequest/</guid>
</item>
<item>
<title>(Ruby) delicious API HTTP Basic Authentication - pmd</title>
<link>http://snipplr.com/view/5123/delicious-api-http-basic-authentication/</link>
<description><![CDATA[ <p>Creates a SSL connection with delicious API using the HTTP basic authentication.</p> ]]></description>
<pubDate>Tue, 19 Feb 2008 14:11:07 GMT</pubDate>
<guid>http://snipplr.com/view/5123/delicious-api-http-basic-authentication/</guid>
</item>
<item>
<title>(C#) Get All Cookies From HTTP Header - zvasanth</title>
<link>http://snipplr.com/view/4427/get-all-cookies-from-http-header/</link>
<description><![CDATA[ <p>drunkenprogrammer</p> ]]></description>
<pubDate>Sat, 29 Dec 2007 01:56:36 GMT</pubDate>
<guid>http://snipplr.com/view/4427/get-all-cookies-from-http-header/</guid>
</item>
<item>
<title>(Bash) Download linked JPEGs from a Web page, on the command line - noah</title>
<link>http://snipplr.com/view/4063/download-linked-jpegs-from-a-web-page-on-the-command-line/</link>
<description><![CDATA[ <p>The following command will download all the files with a JPG extension that are linked from http://flickr.com.</p> ]]></description>
<pubDate>Fri, 02 Nov 2007 22:57:45 GMT</pubDate>
<guid>http://snipplr.com/view/4063/download-linked-jpegs-from-a-web-page-on-the-command-line/</guid>
</item>
<item>
<title>(Bash) Batch download files from a web directory - iblis</title>
<link>http://snipplr.com/view/3861/batch-download-files-from-a-web-directory/</link>
<description><![CDATA[ <p>-nd   do not create a hierarchy of directories (save all recursively retrieved files in the current directory)
-r      recursive retrieving
-l1    set maximum recursion depth to 1 (stay in that folder): set to 2 if necessary
--no-parent     do not ever ascend to the parent directory
-A    specify file name suffixes or patterns to accept (-R to reject)</p> ]]></description>
<pubDate>Mon, 08 Oct 2007 14:01:23 GMT</pubDate>
<guid>http://snipplr.com/view/3861/batch-download-files-from-a-web-directory/</guid>
</item>
<item>
<title>(Ruby) Upload your Flickr photos to Strongspace - lmcdougall</title>
<link>http://snipplr.com/view/3697/upload-your-flickr-photos-to-strongspace/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 13 Sep 2007 18:17:37 GMT</pubDate>
<guid>http://snipplr.com/view/3697/upload-your-flickr-photos-to-strongspace/</guid>
</item>
<item>
<title>(Perl) scraper - noah</title>
<link>http://snipplr.com/view/3131/scraper/</link>
<description><![CDATA[ <p>For a while I used this to scrape weather.com.  Then they changed their HTML and my script broke.</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:48:36 GMT</pubDate>
<guid>http://snipplr.com/view/3131/scraper/</guid>
</item>
<item>
<title>(Perl) Aggregate RSS feeds - noah</title>
<link>http://snipplr.com/view/3130/aggregate-rss-feeds/</link>
<description><![CDATA[ <p>Expects a newline-delimited list of RSS feed urls.  Prints an HTML 4 page containing a grid of modules.  The modules contain hyperlinked feed headlines.

Very fragile, any invalid feed will break the whole aggregator.</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:45:27 GMT</pubDate>
<guid>http://snipplr.com/view/3130/aggregate-rss-feeds/</guid>
</item>
<item>
<title>(Perl) Grab linked files from a list of web pages - noah</title>
<link>http://snipplr.com/view/3126/grab-linked-files-from-a-list-of-web-pages/</link>
<description><![CDATA[ <p>Expects as argument the name of a file containing a newline-delimited list of URLs.  When invoked, launches an interactive shell that asks what type of file should be downloaded.  Then downloads all the files that are linked from each of the listed Web pages.</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:31:30 GMT</pubDate>
<guid>http://snipplr.com/view/3126/grab-linked-files-from-a-list-of-web-pages/</guid>
</item>
<item>
<title>(PHP) Redirect using absolute or relative paths - IanLewis</title>
<link>http://snipplr.com/view/2683/redirect-using-absolute-or-relative-paths/</link>
<description><![CDATA[ <p>Parses the given path and creates a http redirect to that page.</p> ]]></description>
<pubDate>Mon, 21 May 2007 20:14:29 GMT</pubDate>
<guid>http://snipplr.com/view/2683/redirect-using-absolute-or-relative-paths/</guid>
</item>
<item>
<title>(PHP) Download File - tylerhall</title>
<link>http://snipplr.com/view/1726/download-file/</link>
<description><![CDATA[ <p>Via ActiveCollab</p> ]]></description>
<pubDate>Mon, 27 Nov 2006 07:49:57 GMT</pubDate>
<guid>http://snipplr.com/view/1726/download-file/</guid>
</item>
<item>
<title>(C++) C - create Process Daemon - whitetiger</title>
<link>http://snipplr.com/view/1629/c--create-process-daemon/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:41 GMT</pubDate>
<guid>http://snipplr.com/view/1629/c--create-process-daemon/</guid>
</item>
<item>
<title>(JavaScript) JavaScript - Simple Example Istogramma - whitetiger</title>
<link>http://snipplr.com/view/1615/javascript--simple-example-istogramma/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:22 GMT</pubDate>
<guid>http://snipplr.com/view/1615/javascript--simple-example-istogramma/</guid>
</item>
<item>
<title>(JavaScript) Javascript - Sleep - whitetiger</title>
<link>http://snipplr.com/view/1605/javascript--sleep/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:08 GMT</pubDate>
<guid>http://snipplr.com/view/1605/javascript--sleep/</guid>
</item>
<item>
<title>(JavaScript) Javascript - Rollover con preview immagine - whitetiger</title>
<link>http://snipplr.com/view/1597/javascript--rollover-con-preview-immagine/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:54:57 GMT</pubDate>
<guid>http://snipplr.com/view/1597/javascript--rollover-con-preview-immagine/</guid>
</item>
<item>
<title>(Python) Python - Query BabelFish - whitetiger</title>
<link>http://snipplr.com/view/1589/python--query-babelfish/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:54:52 GMT</pubDate>
<guid>http://snipplr.com/view/1589/python--query-babelfish/</guid>
</item>
<item>
<title>(HTML) HTML - AddIcon - whitetiger</title>
<link>http://snipplr.com/view/1576/html--addicon/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:54:38 GMT</pubDate>
<guid>http://snipplr.com/view/1576/html--addicon/</guid>
</item>
</channel>
</rss>