http://www.perlmonks.org?node_id=128082


in reply to Slashdot over the phone

I agree with jaldhar and the comment he made in Sounds like a job for XSLT (tan-tan-tan-tan-tanaaa!), at least conceptually.

The code in the original post only addresses Slashdot, or at best Slashcode based sites, and the implementation breaks if the Slashcode project authors ever change the way they format data for the Palm OS.

A more leverageable solution would be to use XML::RSS to extract title entities from each item of a site's RSS file and rewrite the data in VoiceXML. This would allow you to apply your resulting script to any site that produces an RSS file. Syndic8.com knows about over 2,600 such sites or subsites at the moment.

Another solution would be to leverage Using XSL Transformations to Produce VoiceXML. That's example 118 on the Tellme Studio web site.

The original solution offered is interesting, but it is only readily understandable by people using UNIX. Although it is possible to run Lynx on PCs and even Macs, nobody I know is doing that. Furthermore, most developers on those platforms do not even know what Lynx is.

Dave Aiello
Chatham Township Data Corporation

  • Comment on This cries out for XML::RSS or XSLT {Re: Slashdot over the phone}