Daily Archive for September 3rd, 2007

XML RPC Lite RC1 Publish

You can download XML-RPC lite 0.9 RC1 version from the following link.
XML-RPC Lite 0.9 RC1


TOC
1. What is this
2. Who is this for
3. Who made this
4. Licenses (No BS, make sure you read this)
5. Function calls
6. BUGS!

1. What is this for

This is a simple (going towards minimun) XML RPC library. The official name is "PHP XML RPC Lite". This is a single file, fully inlineable library providing both encoding and decoding function for XML RPC client side calls.
This library is special that it doesn't have error checking, only have minimum functionality that 100% comply with XML-RPC spec. Nothing more.
The code is not fully optimized yet, since it's still in beta, but it will be optimized for sure to recude code size or increase performance.

2. Who is this for

You might ask if there is already a PHP XML RPC library, the answer is yes.
This is for those who want to write XML RPC clients in PHP and found PHP XML RPC to be too big or too complex. This file can be copied and pasted into your code or include as a external library.
The license even allows you to remove any section you want when redistrubuting it (see license section for more details) so it'll have a minimum profile. Current size is 16k and reducing.

3. Who made this

Well, to tell you the truth, my name is William. A third year computer engineering student in University of Toronto. I wrote this piece of code to help the development of a wordpress plug-in. If you are impressed by this piece of code or my love towords coding, you might want to consider hiring me for your next project. Contact infomation is listed below:

E-mail: 2bethere [at] gmail (dot) Com

4. Licenses
a) Provided as-is. I shall not be held responsible for any damage caused by this piece of code. However, bug reports are welcome
b) You are allowed to add any changes to the code and you don’t have to release the modified source code.
c) You are allowed to remove any section of the code when it is part of your own release. You are encourage to let the author know you are using this library so you can get better support. However, you are not allowed to redistribute the library alone with anything removed from it.

5. Function calls
A complete sample has been provided in the library. It’s at the very end of the code.
There are three date helper functions
isDate()
Determines if the given variable is a ISO date format string since php doesn’t have “date” type
ig_iso8601_time(utc?)
Generate a iso8601 string based on current time
wptime2iso8601
this will parse a wordpress format time string (YYYY-MM-DD HH:MM:SS) into a iso8601 time string

6. BUG(s)

Bug report can be send to me at 2bethere (at) gmail (.) com
Subject must be [XRLITEBUG], otherwise it’ll be ignored.

Good luck with this, hope to hear from you soon.