Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Weblogs.com xml-rpc update notifier

by benhammersley (Novice)
on Oct 18, 2001 at 21:22 UTC ( #119740=sourcecode: print w/replies, xml ) Need Help??
Category: Web Stuff
Author/Contact Info Ben Hammersley ben@benhammersley.com
Description: A command line perl tool that uses xml-rpc to tell weblogs.com that your blog has been updated. See here Fun from both the command line and cron. weblogscom.pl uses command line options, so invoke it like this... perl weblogscom.pl --title=BLOG_TITLE -- url=BLOG_URL
#!/usr/bin/perl -w

use strict;
use Frontier::Client;
use Getopt::Long;

use constant WEBLOGCOMXMLRPCSERVER => 'http://rpc.weblogs.com/RPC2';

my $MYBLOGTITLE = "";
my $MYBLOGURL     = "";
my $client     = "";
my $response     = "";
my $output     = "";


GetOptions( "title=s" => \$MYBLOGTITLE,
        "url=s" => \$MYBLOGURL);

$client = Frontier::Client->new(
    url        => WEBLOGCOMXMLRPCSERVER,
    use_objects    => 0,
    debug        => 0);

$response = $client -> call ('weblogUpdates.ping', $MYBLOGTITLE, $MYBL
+OGURL);

print "Weblogs.com said: \n\n $response->{'message'}\n\n";
Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: sourcecode [id://119740]
help
Chatterbox?
[shmem]: it is just written in another language
[choroba]: that's why we have agile - we don't have any spec
[shmem]: I'm a bit scared by agile (agile imposition) - but then it is crucial how it is lived to crucified or not
[shmem]: s/to cru/to be cru/
[moritz]: agile itself is pretty straight forward: faster feedback loops, working in smaller increments, regularly reflect and try to improve your process
[moritz]: it's just some implementations of agile that are scary

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2017-04-27 14:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (508 votes). Check out past polls.