summaryrefslogblamecommitdiffstats
path: root/pttpi/cgi/t/article.list.pl
blob: 27370aa1df4151212c3b81835f2d6307c92b5e59 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                          
#!/usr/bin/perl
# $Id: article.list.pl,v 1.1 2003/05/19 02:04:14 in2 Exp $
use Frontier::Client;
use Frontier::RPC2;
use MIME::Base64;
use Data::Dumper;
do 'host.pl';

$bid = $ARGV[0] || 0;

$server = Frontier::Client->new(url => $server_url);
$result = $server->call('article.list',
            $bid, # bid
            0);   # from # article

print Dumper($result);