zoome��ư��򥿥��Ǹ���
�Ƕ�Υ�����ư��Ϥ�äѤ�zoome�Ǥ���͡����̥������ç¤ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ì¤ï¿½ï¿½ç¤ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ó¥Ã¥È¥ì¡¼ï¿½È¤ï¿½â¤¤ï¿½ï¿½
�˥�ư����������ή��Ƥ��Ƥ�褦�˻פ��ޤ���
�Ȥ����櫓�ǡ�zoome�Υ���������PHP�ǡ�
require_once 'XML/RPC.php'; $arr = array('tagname' => '������', 'offset' => 0, 'length' => 10 ); $params = new XML_RPC_Value(array( 'tagname' => new XML_RPC_Value($arr['tagname'], 'string'), 'offset' => new XML_RPC_Value($arr['offset'], 'i4'), 'length' => new XML_RPC_Value($arr['length'], 'i4'), ), "struct"); $msg = new XML_RPC_Message('zoome.tagSearch', array($params)); $cli = new XML_RPC_Client('/xmlrpc', 'up.zoome.jp', 80); $res = $cli->send($msg); if (!$res->faultCode()) { $data = XML_RPC_decode($res->value()); /* "Total:". $data['count']; */ foreach($data['list'] as $key => $val) { $zoome = array( 'zoomeid' => $val['zoomeid'], 'diaryid' => $val['diaryid'], 'title' => $val['title'], 'url' => $val['diaryurl'], 'body' => $val['body'], ); } } else { exit('CODE:'.$res->faultCode(). ':'. $res->faultString()); }
�ߤ򤤤��Х����Ȥ��ۤ����Ǥ��͡�
�ǥե���Ȥǿ������Ȼפ���Ǥ����ɡ��������Υ����Ȥ��餤�Ϥۤ������ʡ���
¾�ˤ���ƤȤ��Υ᥽�åɤ�����ΤǸ����ɥ�����Ȥ򻲾Ȥ��ƤߤƤ���������
���͡�zoome API(XML-RPC)�ɥ������