|
1. Call Tellme at 1-800-555-Tell 2. At the Tellme Menu prompt, dial 1-39746 |
UPDATE: Removed CGI.pm, not needed#!/usr/bin/perl print "Content-Type: text/xml\n\n"; print "<vxml version='2.0'>\n"; print "<form>"; print "<block>\n"; open (SLASHDOT, "lynx www.slashdot.org/palm -dump|"); while (<SLASHDOT>) { if (/.*\d\..*|.*AD:.*|.*Stories continued.*|.*Home page.*|References/) + { print "\n"; } else { s/\[.*\]//g; print; print "."; # added so the headlines don't get slurred together } } print "</block>\n"; print "</form>\n"; print "</vxml>";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Slashdot over the phone
by VSarkiss (Monsignor) on Nov 25, 2001 at 06:26 UTC | |
|
Sounds like a job for XSLT (tan-tan-tan-tan-tanaaa!)
by jaldhar (Vicar) on Nov 28, 2001 at 13:16 UTC | |
|
This cries out for XML::RSS or XSLT {Re: Slashdot over the phone}
by dave_aiello (Pilgrim) on Nov 28, 2001 at 20:23 UTC | |
|
Re: Slashdot over the phone
by beretboy (Chaplain) on Nov 28, 2001 at 22:09 UTC | |
|
Re: Slashdot over the phone
by rfb (Sexton) on Nov 28, 2001 at 22:46 UTC | |
|
This is very cool but......
by metadoktor (Hermit) on Dec 28, 2001 at 13:35 UTC | |
|
Re: Slashdot over the phone
by beretboy (Chaplain) on Dec 10, 2001 at 02:51 UTC |