From 2890899f5bce7fc5347873aa68194d78500f21d4 Mon Sep 17 00:00:00 2001 From: in2 Date: Mon, 19 May 2003 02:04:14 +0000 Subject: add article.list.pl git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@875 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttpi/cgi/t/article.list.pl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pttpi/cgi/t/article.list.pl (limited to 'pttpi/cgi/t') 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); -- cgit v1.2.3