use common functions
use common functions

I used the common function for the avatar URL, in case there's an
avatar server.

I used the common W3C DTF function.

darcs-hash:20080717155212-84dde-15d39c28e6b502767c1deaf838f6a65136baeda9.gz

bankonme/gnu-social,gnusocial/mainline,Br3nda/laconica,chimo/social,faulteh/gnu-social,zcopley/StatusNet,znarf/statusnet-ladistribution,zcopley/zcopleys-statusnet-clone,meitar/laconica,shashi/StatusNet,znarf/statusnet-ladistribution,eXcomm/gnu-social,furtherfield/gnu-social,xebia/statusnet-oauth2,brion/StatusNet,bankonme/gnu-social,charnimda/lgbtpzn-social,faulteh/gnu-social,minmb/statusnet,zcopley/StatusNet,furtherfield/gnu-social,meitar/laconica,d3vgru/StatusNet,charnimda/lgbtpzn-social,bankonme/gnu-social,Br3nda/laconica,eXcomm/gnu-social,furtherfield/gnu-social,UngPirat/freesocial,minmb/statusnet,sikevux/bsk-social,Piratas/tortuga,studio666/gnu-social,studio666/gnu-social,brion/StatusNet,studio666/gnu-social,d3vgru/StatusNet,Piratas/tortuga,studio666/gnu-social,sikevux/bsk-social,eXcomm/gnu-social,bankonme/gnu-social,UngPirat/freesocial,gnusocial/mainline,csarven/statusnet,xebia/statusnet-oauth2,sikevux/bsk-social,shashi/StatusNet,chimo/social,shashi/StatusNet,chimo/social,Piratas/tortuga,minmb/statusnet,meitar/laconica,xebia/statusnet-oauth2,zh/statusnet,zcopley/StatusNet,zh/statusnet,zcopley/zcopleys-statusnet-clone,UngPirat/freesocial,gnusocial/mainline,charnimda/lgbtpzn-social,charlycoste/StatusNet,Br3nda/laconica,csarven/statusnet,csarven/statusnet,foocorp/gnu-social,eXcomm/gnu-social,csarven/statusnet,zh/statusnet,znarf/statusnet-ladistribution,faulteh/gnu-social,charlycoste/StatusNet,foocorp/gnu-social,brion/StatusNet,d3vgru/StatusNet,furtherfield/gnu-social,sikevux/bsk-social,charlycoste/StatusNet,gnusocial/mainline,zcopley/zcopleys-statusnet-clone,Piratas/tortuga,foocorp/gnu-social,faulteh/gnu-social