Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • You could create your own RSS generator...

    (untestet)

    use XML::RSS::FromHTML::Simple;

    my $proc = XML::RSS::FromHTML::Simple->new({
    url => "http://use.perl.org/~reneeb",
    rss_file => "new_comments.xml",
    });

    $proc->link_filter( sub {
    my($link, $text) = @_;

    # Only extract links that contain 'comments.pl'
    # in their URL
    if( $link =~ m#comments\.pl#) {
    return 1;
    } else {
    return 0;