Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

RE: Newest Nodes too big?

by Jouke (Curate)
on Oct 05, 2000 at 09:58 UTC ( #35376=note: print w/replies, xml ) Need Help??

in reply to Newest Nodes too big?

It's of course always possible to write a small LWP::simple script that gets the page and pushes the button for you ;-)

This is Perlmonks after all...

Jouke Visser, Perl 'Adept'

Replies are listed 'Best First'.
(ar0n: code) RE (2): Newest Nodes too big?
by ar0n (Priest) on Oct 05, 2000 at 16:10 UTC
    #!/usr/bin/perl -w use strict; use HTTP::Request::Common 'POST'; use LWP::UserAgent; { my $username = ""; my $password = ""; my $url = ""; my $www = new LWP::UserAgent; my $req = POST $url, [ user => $username, passwd => $password, op => "login", pageloadtime => time(), node_id => 3628, displaytype => "display", viewedNewNodes => "I've checked all of these" ]; print $www->request($req)->as_string(); }


      "viewedNewNodes" -- That's what I needed. Thank You.

      All is well. One more minor difficulty solved easily and with aplomb by a gracious Monk. Thanks, ar0n.

      Brainbench 'Most Valuable Professional' for Perl

RE:(2) Newest Nodes too big?
by Russ (Deacon) on Oct 05, 2000 at 17:10 UTC
    Yeah. All I really needed was the name(s) of the form elements. In specific, "viewedNewNodes." Coulda slurped and parsed it myself, I s'pose...


    Brainbench 'Most Valuable Professional' for Perl

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://35376]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2018-06-24 01:47 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.