diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-19 10:04:14 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-19 10:04:14 +0800 |
commit | 2890899f5bce7fc5347873aa68194d78500f21d4 (patch) | |
tree | 47d7926d0d98ad521a2221cd3d27382f0407677f | |
parent | 92d124b64045a270cb6cd87a8e8088fc8efeb1da (diff) | |
download | pttbbs-2890899f5bce7fc5347873aa68194d78500f21d4.tar pttbbs-2890899f5bce7fc5347873aa68194d78500f21d4.tar.gz pttbbs-2890899f5bce7fc5347873aa68194d78500f21d4.tar.bz2 pttbbs-2890899f5bce7fc5347873aa68194d78500f21d4.tar.lz pttbbs-2890899f5bce7fc5347873aa68194d78500f21d4.tar.xz pttbbs-2890899f5bce7fc5347873aa68194d78500f21d4.tar.zst pttbbs-2890899f5bce7fc5347873aa68194d78500f21d4.zip |
add article.list.pl
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@875 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttpi/cgi/t/article.list.pl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pttpi/cgi/t/article.list.pl b/pttpi/cgi/t/article.list.pl new file mode 100644 index 00000000..27370aa1 --- /dev/null +++ b/pttpi/cgi/t/article.list.pl @@ -0,0 +1,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); |