EPIC is a project for adding Perl support to Eclipse, the excellent Open-source (and IBM-backed) Java IDE.
Category: Software and Programming
Silly XML hack, take 2
In a previous entry, I posted two tiny scripts for reading out a list of RSS subscriptions in an OPML file. One used regexps, and the other used the handy XML::Simple
module.
Now, they both sort-of work OK, until they run into an OPML file that’s actually an outline (like the ones produced by SharpReader), where the XML::Simple
script runs into a problem (the RegExp script, ironically, will probably print things OK, because it ignores the nesting and just parses whatever lines it sees).
So I did a few improvements, and here’s the result (available in plain text Perl, or SciTe syntax-highlighted HTML)
W3C RSS feed
The W3C RSS feed makes nice use of an XML style sheet. Now, if there was a way to make something an actual link with just CSS, it would be practically a webpage…
Magpie RSS
Magpie RSS is another RSS parser written in PHP.
I’m fiddling around with Onyx RSS as a possible replacement for what I’m using in feed (hmm, that page needs updating too…).
Too bad no one has written a proper OPML parser in PHP I can steal. All the ones I’ve found so far are pretty ad-hoc tools.
RSS article in Hebrew
An Excellent Hebrew article about RSS, with slight errors (RSS 1.0 isn’t a W3C recommended standard; RDF, which it is an application of, is).