Base64 tags

8 views
Skip to first unread message

Tim Channon

unread,
Jan 15, 2014, 12:52:19 PM1/15/14
to kepler-...@googlegroups.com
So far as I can see lua xml-rpc does not have provision for handling
binary data, it needs at least tags for base64

Faking this up via dirty tricks has now been tested for real.
(pre-encode data, intercept the output of clEncode, flip string tags to
base64)

Tested with this
metaWeblog.newMediaObject
http://codex.wordpress.org/XML-RPC_MetaWeblog_API

but I really want to use
wp.uploadFile
http://codex.wordpress.org/XML-RPC_WordPress_API/Media
This has an unknown method (documentation is wrong), perhaps to do with
IXR_Base64 if a few web comments are correct, ie. do for real.

Have I missed something or is this missing?

Not mentioned here
http://keplerproject.github.io/lua-xmlrpc/manual.html#data_types

Tim
Reply all
Reply to author
Forward
0 new messages