<?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/language/perl/tags/html</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 19 Jun 2013 10:14:46 GMT</pubDate>
<item>
<title>(Perl) FHTML (for TextMate) - rareyman</title>
<link>http://snipplr.com/view/28256/fhtml-for-textmate/</link>
<description><![CDATA[ <p>I modified this excellent Perl script, created by John Watson (http://www.watson-net.com) to be used with TextMate to reformat your HTML for easier readability. Here's how to use it:

1.  In TextMate > Bundles > Bundle Editor > Show Bundle Editor
2.  Create a New Command (I call it "Reformat HTML")
3.  On right pane: **Save: Nothing** : **Command: (insert code)**
4.  Bottom right pane: **Input: Selected Text or Document**
5.  Bottom right pane: **Output: Replace Selected Text**
6.  Settings: Key Equivalent: (whatever you want, I use: Command-Option-Shift-F which matches old school BBEdit)
7.  Scope Selector: text.html</p> ]]></description>
<pubDate>Fri, 12 Feb 2010 16:01:49 GMT</pubDate>
<guid>http://snipplr.com/view/28256/fhtml-for-textmate/</guid>
</item>
<item>
<title>(Perl) Batch download code between  tags from remote HTML pages - iblis</title>
<link>http://snipplr.com/view/11571/batch-download-code-between--tags-from-remote-html-pages/</link>
<description><![CDATA[ <p>Won't work with Google code pages: they are javascript powered.</p> ]]></description>
<pubDate>Tue, 27 Jan 2009 12:00:14 GMT</pubDate>
<guid>http://snipplr.com/view/11571/batch-download-code-between--tags-from-remote-html-pages/</guid>
</item>
<item>
<title>(Perl) Internet related perl script - archlight</title>
<link>http://snipplr.com/view/10901/internet-related-perl-script/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 04 Jan 2009 20:03:41 GMT</pubDate>
<guid>http://snipplr.com/view/10901/internet-related-perl-script/</guid>
</item>
<item>
<title>(Perl) Clean up Word documents that have been translated to HTML - noah</title>
<link>http://snipplr.com/view/9483/clean-up-word-documents-that-have-been-translated-to-html/</link>
<description><![CDATA[ <p>Haven't tried this with any recent versions of Word.  Yet.</p> ]]></description>
<pubDate>Tue, 04 Nov 2008 09:54:38 GMT</pubDate>
<guid>http://snipplr.com/view/9483/clean-up-word-documents-that-have-been-translated-to-html/</guid>
</item>
<item>
<title>(Perl) New York Times Scrape to RSS - noah</title>
<link>http://snipplr.com/view/8224/new-york-times-scrape-to-rss/</link>
<description><![CDATA[ <p>Crawls all over the NYT RSS feed to glue entire articles together for your enjoyment.  Requires registration.

Pick a feed URL from http://topics.nytimes.com/top/reference/timestopics/index.html and have at it.

perl nyt.pl --user=aksdhf --pass=aksdfhasouidf --url=http://asiudhfasdfj</p> ]]></description>
<pubDate>Sat, 06 Sep 2008 22:44:32 GMT</pubDate>
<guid>http://snipplr.com/view/8224/new-york-times-scrape-to-rss/</guid>
</item>
<item>
<title>(Perl) Generate XHTML on the command line with XML::API::XHTML - noah</title>
<link>http://snipplr.com/view/4971/generate-xhtml-on-the-command-line-with-xmlapixhtml/</link>
<description><![CDATA[ <p>Build a simple XHTML document, format it with Tidy and print the result to "temp.html."

You may first need to `cpan   XML::API::XHTML`, and install Tidy using your favorite package manager, or just [download Tidy by itself](http://tidy.sourceforge.net/#binaries)

### If you can't install XML::API::XHTML

On my system, CPAN complained that "make test had returned bad status" during installation of XML::API::XHTML.  To solve this I started the CPAN shell (just type `cpan`) and then forced the install, like this:
    
    cpan> force XML::API::XHTML</p> ]]></description>
<pubDate>Sun, 10 Feb 2008 02:21:23 GMT</pubDate>
<guid>http://snipplr.com/view/4971/generate-xhtml-on-the-command-line-with-xmlapixhtml/</guid>
</item>
<item>
<title>(Perl) Remove HTML with Perl Regular Expression - meme</title>
<link>http://snipplr.com/view/4865/remove-html-with-perl-regular-expression/</link>
<description><![CDATA[ <p>Use this code to remove HTML from a string.</p> ]]></description>
<pubDate>Thu, 31 Jan 2008 17:18:10 GMT</pubDate>
<guid>http://snipplr.com/view/4865/remove-html-with-perl-regular-expression/</guid>
</item>
<item>
<title>(Perl) Grab all links from local or remote html file - iblis</title>
<link>http://snipplr.com/view/3893/grab-all-links-from-local-or-remote-html-file/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 14 Oct 2007 23:49:11 GMT</pubDate>
<guid>http://snipplr.com/view/3893/grab-all-links-from-local-or-remote-html-file/</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) Wrap tab-delimited strings in HTML - noah</title>
<link>http://snipplr.com/view/3125/wrap-tabdelimited-strings-in-html/</link>
<description><![CDATA[ <p>A simple iterator that takes a tab-delimited file as input and prints an HTML document that contains the tabbed data.</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:21:46 GMT</pubDate>
<guid>http://snipplr.com/view/3125/wrap-tabdelimited-strings-in-html/</guid>
</item>
<item>
<title>(Perl) Make a list of JPEGs into a slide show - noah</title>
<link>http://snipplr.com/view/3123/make-a-list-of-jpegs-into-a-slide-show/</link>
<description><![CDATA[ <p>Show jpegs one-per-page on a series of hyperlinked web pages.  Purpose was to provide a linear viewing mechanism for jpegs on my Palm Tungsten C.</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:02:15 GMT</pubDate>
<guid>http://snipplr.com/view/3123/make-a-list-of-jpegs-into-a-slide-show/</guid>
</item>
<item>
<title>(Perl) Show JPEGs in this directory all on one page - noah</title>
<link>http://snipplr.com/view/3122/show-jpegs-in-this-directory-all-on-one-page/</link>
<description><![CDATA[ <p>Dumps a list of image names into an HTML document, wrapped in centered IMG tags.  Features the CENTER tag for added historical value.</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 21:57:11 GMT</pubDate>
<guid>http://snipplr.com/view/3122/show-jpegs-in-this-directory-all-on-one-page/</guid>
</item>
<item>
<title>(Perl) show JPEGs in this directory in a simple HTML gallery - noah</title>
<link>http://snipplr.com/view/3121/show-jpegs-in-this-directory-in-a-simple-html-gallery/</link>
<description><![CDATA[ <p>Creates an HTML page with the first image in the directory in the center.  Forward and Back buttons scroll through all the images in the directory in order.

This is how I lived before Firefox ~.^</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 21:53:26 GMT</pubDate>
<guid>http://snipplr.com/view/3121/show-jpegs-in-this-directory-in-a-simple-html-gallery/</guid>
</item>
<item>
<title>(Perl) insert ALT attribute into IMG tags that don't already have ALT attributes - noah</title>
<link>http://snipplr.com/view/3120/insert-alt-attribute-into-img-tags-that-dont-already-have-alt-attributes/</link>
<description><![CDATA[ <p>At one point I wanted to give every image on my site an ALT tag.  I did, with some help from beginners@perl.org.</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 21:43:16 GMT</pubDate>
<guid>http://snipplr.com/view/3120/insert-alt-attribute-into-img-tags-that-dont-already-have-alt-attributes/</guid>
</item>
<item>
<title>(Perl) How to make sure the filename you want is output to a browser - wolfie</title>
<link>http://snipplr.com/view/2163/how-to-make-sure-the-filename-you-want-is-output-to-a-browser/</link>
<description><![CDATA[ <p>Use this to display a file properly if you are reading it from another location and wish to direct it to the user's browser</p> ]]></description>
<pubDate>Tue, 13 Feb 2007 02:15:24 GMT</pubDate>
<guid>http://snipplr.com/view/2163/how-to-make-sure-the-filename-you-want-is-output-to-a-browser/</guid>
</item>
<item>
<title>(Perl) Perl - Sostituzione - whitetiger</title>
<link>http://snipplr.com/view/1622/perl--sostituzione/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:32 GMT</pubDate>
<guid>http://snipplr.com/view/1622/perl--sostituzione/</guid>
</item>
</channel>
</rss>