Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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'


Comment on RE: Newest Nodes too big?
(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
Node Status?
node history
Node Type: note [id://35376]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-12-20 16:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (96 votes), past polls