{
  "attachments": [],
  "comments_archived": true,
  "date": "2003-09-02T04:22:53.000Z",
  "layout": "post",
  "title": "Using web services and XSLT to scrape RSS from HTML",
  "wordpress_id": 472,
  "wordpress_slug": "xsl-scraper",
  "wordpress_url": "http://www.decafbad.com/blog/?p=472",
  "year": "2003",
  "month": "09",
  "day": "02",
  "isDir": true,
  "slug": "xsl-scraper",
  "type": "entry",
  "postName": "2003-09-02-xsl-scraper",
  "html": "<p>\nAfter tinkering a bit with\n<a href=\"http://www.decafbad.com/blog/geek/rss_scrape_urls2.html\" target=\"_top\">web services and XSLT-based scraping</a>\nlast week for generating <a href=\"http://www.decafbad.com/twiki/bin/view/Main/RSS\">RSS</a> from HTML, I ripped out some work I was\ndoing for <a href=\"http://www.decafbad.com/cvs/XPathScraper/\" target=\"_top\">a Java-based scraper</a> I'd started\nworking on <a href=\"http://www.decafbad.com/blog/tech/old/ooobca.html\" target=\"_top\">last year</a> and\nthrew together a kit of XSLT files that does most everything I was trying\nto do.\n</p><p>\nI'm calling this kit <a href=\"http://www.decafbad.com/twiki/bin/view/Main/XslScraper\">XslScraper</a>, and there's further blurbage and download links\navaiable in the Wiki.  Check it out.  I've got shell scripts to run the stuff\nfrom as a cron job, and CGI scripts to run it all from web services.\n</p><p>\nFor quick gratification, check out these feeds:\n</p><ul>\n<li> <a href=\"http://www.decafbad.com/2003/08/tidyxslt?xsl=http%3A%2F%2Fwww.whump.com%2Fdropbox%2Fnationrss%2Fnation.xsl&amp;doc=http%3A%2F%2Fwww.thenation.com\"><img src=\"http://www.decafbad.com/images/xml.gif\" border=\"0\" width=\"\" height=\"\"></a> - <a href=\"http://www.thenation.com\">The Nation</a> (using <a href=\"http://www.whump.com/moreLikeThis/date/21/08/2003\" target=\"_top\">Bill Humphries' XSL</a>) \n</li>\n<li> <a href=\"http://www.decafbad.com/2003/08/tidyxslt?xsl=http%3A%2F%2Fwww.decafbad.com%2F2003%2F08%2Fxsl_scraper%2Fscrapers%2Fkurzweilai.xsl&amp;doc=http%3A%2F%2Fwww.kurzweilai.net%2Findex.html%3Fflash%3D1\"><img src=\"http://www.decafbad.com/images/xml.gif\" border=\"0\" width=\"\" height=\"\"></a> - <a href=\"http://www.kurzweilai.net/index.html?flash=1\">KurzweilAI.net</a>\n</li>\n<li> <a href=\"http://www.decafbad.com/2003/08/tidyxslt?xsl=http%3A%2F%2Fwww.decafbad.com%2F2003%2F08%2Fxsl_scraper%2Fscrapers%2Fjlist.xsl&amp;doc=http%3A%2F%2Fwww.jlist.com%2FUPDATES%2FPG%2F7%2F\"><img src=\"http://www.decafbad.com/images/xml.gif\" border=\"0\" width=\"\" height=\"\"></a> - <a href=\"http://www.jlist.com/\">J-List -- You've got a friend in Japan!</a>\n</li>\n<li> <a href=\"http://www.decafbad.com/2003/08/tidyxslt?xsl=http%3A%2F%2Fwww.decafbad.com%2F2003%2F08%2Fxsl_scraper%2Fscrapers%2Fumich-jobs.xsl&amp;doc=http%3A%2F%2Fwebsvcs.itd.umich.edu%2Fjobnet%2Fnew_postings_byjobfamily.php\"><img src=\"http://www.decafbad.com/images/xml.gif\" border=\"0\" width=\"\" height=\"\"></a> - <a href=\"http://websvcs.itd.umich.edu/jobnet/\">New JOBS at the University of Michigan (By Job Family)</a>\n</li>\n</ul>\n\n\n<p></p>\n\n\n<!--more-->\n\n\n<p>shortname=xsl_scraper</p>\n<div id=\"comments\" class=\"comments archived-comments\"><h3>Archived Comments</h3>\n<ul class=\"comments\">\n<li class=\"comment\" id=\"comment-221082688\">\n<div class=\"meta\">\n<div class=\"author\">\n<a class=\"avatar image\" rel=\"nofollow\" href=\"http://patrick.lioi.net\"><img src=\"http://www.gravatar.com/avatar.php?gravatar_id=0af1f52a082bc92d355d3fc9b29b4c2e&amp;size=32&amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png\" width=\"\" height=\"\"></a>\n<a class=\"avatar name\" rel=\"nofollow\" href=\"http://patrick.lioi.net\">Patrick Lioi</a>\n</div>\n\n\n<p><a href=\"#comment-221082688\" class=\"permalink\"><time datetime=\"2003-09-03T19:03:03\">2003-09-03T19:03:03</time></a></p>\n</div>\n\n\n<div class=\"content\">The KurzweilAI.net feed is empty.</div>\n\n\n</li>\n</ul>\n\n\n</div>\n\n\n",
  "body": "<br /><br />\r\n<p>\r\nAfter tinkering a bit with\r\n<a href=\"http://www.decafbad.com/blog/geek/rss_scrape_urls2.html\" target=\"_top\">web services and XSLT-based scraping</a>\r\nlast week for generating <a href=\"http://www.decafbad.com/twiki/bin/view/Main/RSS\">RSS</a> from HTML, I ripped out some work I was\r\ndoing for <a href=\"http://www.decafbad.com/cvs/XPathScraper/\" target=\"_top\">a Java-based scraper</a> I'd started\r\nworking on <a href=\"http://www.decafbad.com/blog/tech/old/ooobca.html\" target=\"_top\">last year</a> and\r\nthrew together a kit of XSLT files that does most everything I was trying\r\nto do.\r\n</p><p>\r\nI'm calling this kit <a href=\"http://www.decafbad.com/twiki/bin/view/Main/XslScraper\">XslScraper</a>, and there's further blurbage and download links\r\navaiable in the Wiki.  Check it out.  I've got shell scripts to run the stuff\r\nfrom as a cron job, and CGI scripts to run it all from web services.\r\n</p><p>\r\nFor quick gratification, check out these feeds:\r\n<ul>\r\n<li> <a href=\"http://www.decafbad.com/2003/08/tidyxslt?xsl=http%3A%2F%2Fwww.whump.com%2Fdropbox%2Fnationrss%2Fnation.xsl&amp;doc=http%3A%2F%2Fwww.thenation.com\"><img src=\"http://www.decafbad.com/images/xml.gif\" border=\"0\" /></a> - <a href=\"http://www.thenation.com\">The Nation</a> (using <a href=\"http://www.whump.com/moreLikeThis/date/21/08/2003\" target=\"_top\">Bill Humphries' XSL</a>) \r\n</li>\r\n<li> <a href=\"http://www.decafbad.com/2003/08/tidyxslt?xsl=http%3A%2F%2Fwww.decafbad.com%2F2003%2F08%2Fxsl_scraper%2Fscrapers%2Fkurzweilai.xsl&amp;doc=http%3A%2F%2Fwww.kurzweilai.net%2Findex.html%3Fflash%3D1\"><img src=\"http://www.decafbad.com/images/xml.gif\" border=\"0\" /></a> - <a href=\"http://www.kurzweilai.net/index.html?flash=1\">KurzweilAI.net</a>\r\n</li>\r\n<li> <a href=\"http://www.decafbad.com/2003/08/tidyxslt?xsl=http%3A%2F%2Fwww.decafbad.com%2F2003%2F08%2Fxsl_scraper%2Fscrapers%2Fjlist.xsl&amp;doc=http%3A%2F%2Fwww.jlist.com%2FUPDATES%2FPG%2F7%2F\"><img src=\"http://www.decafbad.com/images/xml.gif\" border=\"0\" /></a> - <a href=\"http://www.jlist.com/\">J-List -- You've got a friend in Japan!</a>\r\n</li>\r\n<li> <a href=\"http://www.decafbad.com/2003/08/tidyxslt?xsl=http%3A%2F%2Fwww.decafbad.com%2F2003%2F08%2Fxsl_scraper%2Fscrapers%2Fumich-jobs.xsl&amp;doc=http%3A%2F%2Fwebsvcs.itd.umich.edu%2Fjobnet%2Fnew_postings_byjobfamily.php\"><img src=\"http://www.decafbad.com/images/xml.gif\" border=\"0\" /></a> - <a href=\"http://websvcs.itd.umich.edu/jobnet/\">New JOBS at the University of Michigan (By Job Family)</a>\r\n</li>\r\n</ul>\r\n</p>\r\n<!--more-->\r\nshortname=xsl_scraper\r\n\r\n<div id=\"comments\" class=\"comments archived-comments\">\r\n            <h3>Archived Comments</h3>\r\n            \r\n        <ul class=\"comments\">\r\n            \r\n        <li class=\"comment\" id=\"comment-221082688\">\r\n            <div class=\"meta\">\r\n                <div class=\"author\">\r\n                    <a class=\"avatar image\" rel=\"nofollow\" \r\n                       href=\"http://patrick.lioi.net\"><img src=\"http://www.gravatar.com/avatar.php?gravatar_id=0af1f52a082bc92d355d3fc9b29b4c2e&amp;size=32&amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png\"/></a>\r\n                    <a class=\"avatar name\" rel=\"nofollow\" \r\n                       href=\"http://patrick.lioi.net\">Patrick Lioi</a>\r\n                </div>\r\n                <a href=\"#comment-221082688\" class=\"permalink\"><time datetime=\"2003-09-03T19:03:03\">2003-09-03T19:03:03</time></a>\r\n            </div>\r\n            <div class=\"content\">The KurzweilAI.net feed is empty.</div>\r\n            \r\n        </li>\r\n    \r\n        </ul>\r\n    \r\n        </div>\r\n    ",
  "parentPath": "./content/posts/archives/2003/2003-09-02-xsl-scraper",
  "path": "2003/09/02/xsl-scraper",
  "thumbnail": "http://www.decafbad.com/images/xml.gif",
  "summary": "After tinkering a bit with\nweb services and XSLT-based scraping\nlast week for generating RSS from HTML, I ripped out some work I was\ndoing for a Java-based scraper I'd started\nworking on last year and\nthrew together a kit of XSLT files that does most everything I was trying\nto do.\n\nI'm calling this kit XslScraper, and there's further blurbage and download links\navaiable in the Wiki.  Check it out.  I've got shell scripts to run the stuff\nfrom as a cron job, and CGI scripts to run it all from web services.\n\nFor quick gratification, check out these feeds:\n\n  - The Nation (using Bill Humphries' XSL) \n\n  - KurzweilAI.net\n\n  - J-List -- You've got a friend in Japan!\n\n  - New JOBS at the University of Michigan (By Job Family)",
  "needsBuild": true,
  "prevPostPath": "2003/08/31/switched-to-jvds",
  "prevPostTitle": "Switching to a JVDS server",
  "nextPostPath": "2003/09/02/cl-to-rss",
  "nextPostTitle": "ChangeLog to RSS web service"
}