Monthly Archive for September, 2007

离别

突然在MSN遇到一个朋友,告诉我她离开了这里,去了她梦里的国度,不会再回来了。

不知道为什么会这么地伤心,不知道为什么她的一句”谢谢”会触到我心里那么深的地方。

我对着屏幕放声大哭,后悔没有在她离去之前去说一句再见。

我很庆幸曾有过一个这样的朋友,深深地祝福她能在那遥远的地方找到自己的幸福和快乐。

毕业在即,身边的朋友也就要分道扬镳,不知道还会在地球的哪个角落再会。

回想起来真的从他们的身上得到了很多,而自己却付出得很少,好人一生平安,一生幸福。

朋友们,不要为离别而哭泣。

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.