Slash Boxes
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.
More | Login | Reply
Loading... please wait.
  • I'm too lazy to learn SOAP, so I wrote a simple screen scraper that gets "" and looks at the by-date stuff, and notices whether there's anything new since the last time it ran.

    I should probably do it up in SOAP tho, since then it won't be fragile HTML-scraping.

    Aren't there already CPAN modules for talking to

    • That gets the journal entries, but it doesn't find the replies. Especially on Monday, you can get replies to an entry that was made a few days ago, long after you read the original entry itself.
      • For the parent of the article to which I reply: the module in question is WWW::UsePerl::Journal.

        I'm slowly getting around to making some modifications so that it gets replies as well as the articles.

        The problem of making an emailer of journals is the replies - as jmm points out, they don't spring into life with the post to the journal, they accrete.

        So my journal mailer (available online []) uses a modified version of WWW::UsePerl::Journal where the recentarray function returns the list of articles on page 2 of all recent posts rather than page 1.

        Means I'm a few days behind, but it seems to work.
          ---ict / Spoon