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


In reply to This cries out for XML::RSS or XSLT {Re: Slashdot over the phone} by dave_aiello
in thread Slashdot over the phone by beretboy

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.