Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

RE: Newest Nodes too big?

by Jouke (Curate)
on Oct 05, 2000 at 09:58 UTC ( [id://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 = "http://perlmonks.org/index.pl"; 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(); }

    [ar0n]

      "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.

      Russ
      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...

    ;-)

    Russ
    Brainbench 'Most Valuable Professional' for Perl

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://35376]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2024-04-19 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found