Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
XP is just a number
 
PerlMonks  

RE: UserFriendly.org Full Size version forwarder :)

by Anonymous Monk
on Aug 08, 2000 at 04:39 UTC ( #26709=note: print w/ replies, xml ) Need Help??


in reply to UserFriendly.org Full Size version forwarder :)

Since I wrote all the UF systems, I've seen literally hundreds of these files go around. There is a quite simple and complete view of the content: wget http://www.userfriendly.org/cgi-bin/texhtml?form=uf/rdf&action=search&date=yyyymmdd returns an rdf file. The date param is optional, and defaults to today. The action parameter is not optional nor is the form param. There are other forms as well which change the output format. One of the output formats is "already parsed" but thats limited to our address blocks. That file format is guaranteed not to change. The one mentioned here is scheduled to be deleted. The only reason I have not done so already is because I'm lazy.... We'd of course ask that you use this for personal usage only....


Comment on RE: UserFriendly.org Full Size version forwarder :)
RE: RE: UserFriendly.org Full Size version forwarder :)
by Yohimbe (Pilgrim) on Aug 08, 2000 at 04:43 UTC
    Duuh. Forgot to login.
    The material from the Anonymous Monk above was mine.
    Is there any way to "Take ownership" of a previous anon post?
Re: RE: UserFriendly.org Full Size version forwarder :)
by Anonymous Monk on Jun 08, 2001 at 21:17 UTC
    #!/usr/global/bin/perl use File::Basename; my $search_url = 'http://www.userfriendly.org/cgi-bin/texhtml?form=uf/ +rdf\&action=search'; my $comics_dir = '/home/user/.comics/'; my $url; open(IN, "wget -q -O - $search_url |") or die $!; while (<IN>) { if (/Today\'s Strip/) { <IN> =~ m|<link>(.*)</link>|; $url = $1; break; } } my $gif = $comics_dir . basename($url); system("wget -q -O $gif $url"); system("xv $gif");
      #!/usr/global/bin/perl -w use File::Basename; my $search_url = 'http://www.userfriendly.org/cgi-bin/texhtml?form=uf/ +rdf\&action=search'; my $comics_dir = '/home/user/.comics/'; open(IN, "wget -q -O - $search_url |") or die $!; while (<IN>) { last if /Today\'s Strip/; } <IN> =~ m|<link>(.*)</link>|; my $gif = $comics_dir . basename($1); system("wget -q -O $gif $1"); system("xv $gif");

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2014-04-19 18:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (483 votes), past polls