• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/WordPress/H18-Feb-2017-2,017992

t/H18-Feb-2017-9,2026,391

ChangesH A D18-Feb-20173.9 KiB11480

MANIFESTH A D18-Feb-2017558 2625

META.jsonH A D18-Feb-20171.1 KiB4847

META.ymlH A D18-Feb-2017668 2928

Makefile.PLH A D18-Feb-2017431 1816

READMEH A D18-Feb-20171.7 KiB8151

README

1WordPress::XMLRPC - api to wordpress xml rpc calls
2==================================================
3
4$Revision: 2.11 $
5
6
7I wanted to interact via the command line to a wordpress blog's xmlrpc.php file.
8Bascially this is interaction with xmlrpc.php as client.
9This module is not meant for speed, it is meant for convenience.
10
11This is really useful to automate new postings, uploading media, etc.
12You could write your custom cli scripts to upload and mess with your wordpress blog.
13
14
15INSTALL
16=======
17
18I suggest you install via downloading the package from cpan and testing.
19
20Example (note that this link points to an older version):
21
22   wget http://search.cpan.org/CPAN/authors/id/L/LE/LEOCHARRE/WordPress-XMLRPC-1.09.tar.gz
23   tar -xvf ./WordPress-XMLRPC-1.09.tar.gz
24   cd WordPress-XMLRPC-1.09
25
26   vim t/wppost # see TESTING
27
28   perl Makefile.PL
29   make test
30   make install
31
32TESTING
33=======
34
35To test fully, you need to set up a ./t/wppost YAML
36
37
38t/wppost
39--------
40
41This is a YAML file,  file should contain:
42
43   ---
44   U:username
45   P:password
46   p:proxy
47
48Example t/wppost file:
49
50   ---
51   U: jim
52   P: wegjwgw
53   p: 'http://jim/xmlrpc.php'
54
55When you run this on a proxy for a wordpress blog with content,
56you're gonna get all kinds of output.
57The calls do not provide arguments, so some calls will fail.
58
59I suggest you pipe the output (STDERR) to a file.
60
61   perl t/10_XMLRPC.t 2> t/out
62
63Then you can open the file with vim and inspect the output.
64This may be useful to get acquainted with what's going on on the inside.
65
66Example output is in t/10_XMLRPC.out
67
68BASIC INSTALLATION
69==================
70
71perl Makefile.PL
72make test
73make install
74
75
76
77BUGS AND CONTACT
78================
79Please contact the author with any suggestions, for help, etc, at:
80Ian Gibs igibbs at cpan dot org
81