snipscrape [![/space/scraper.jpg](/space/scraper.jpg)](/space/snipscrape) For the impatient: [Download snipscrape 0.2 ](/space/snipscrape-0.2.tar.gz) [View snipscrape.xslt ](/space/snipscrape.xslt) [SnipSnap web site](http://snipsnap.org/) Snipscrape is a screen scraper for SnipSnap. It enables you to import pages from one SnipSnap site into another, or to recover content from SnipSnap-generated HTML pages. It does this by transforming HTML pages generated by SnipSnap into XML that can be imported. Snipscrape is implemented in XSLT, and comes with a shell script for \*nix platforms that does some useful preprocessing. You can use snipscrape without the shell script, but you'll need to perform a few tasks by hand, such as escaping special characters. Assuming you'd like to scrape two pages, snip1.html and snip2.html, here's what you'd do: $ snipscrape.sh snip1.html snip2.html > snips.xml Now, go to the manager page in your SnipSnap, import snips.xml, and you should be set! See also: * [Rendering SnipSnap snips with XSLT](http://snipsnap.org/space/xml+issue) * [Migrating from Radio to SnipSnap with XSLT](http://blog.fivesight.com/prb/space/Migrating+Radio+to+SnipSnap) * [Using XML to structure snips](http://snipsnap.org/space/xml+issue) * [servlets with snipsnap](/space/servlets with snipsnap) * [snipsnap 1.0b1 virtual hostname patch](/space/snipsnap 1.0b1 virtual hostname patch) * [snipsnap comment without login patch](/space/snipsnap comment without login patch) * [snipsnap macros](/space/snipsnap macros) * [snipsnap recent-changes snip name patch](/space/snipsnap recent-changes snip name patch) * [snipsnap register without email](/space/snipsnap register without email) * [snipsnap script macro and python](/space/snipsnap script macro and python) * [virtual host redirection](/space/virtual host redirection)