From 1c5d1c45864b86a178e10886e50c99132b4821c4 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 14 May 2008 15:03:00 -0400 Subject: move library files to lib darcs-hash:20080514190300-84dde-626b88c9da510c8830d2eff2d36b72f18e6353d4.gz --- lib/stream.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lib/stream.php (limited to 'lib/stream.php') diff --git a/lib/stream.php b/lib/stream.php new file mode 100644 index 000000000..9f972d75e --- /dev/null +++ b/lib/stream.php @@ -0,0 +1,27 @@ +getProfile(); + # XXX: RDFa + common_start_element('div', array('class' => 'notice')); + # FIXME: add the avatar + common_start_element('a', array('href' => $profile->profileurl, + 'class' => 'nickname'), + $profile->nickname); + # FIXME: URL, image, video, audio + common_element('span', array('class' => 'content'), $notice->content); + common_element('span', array('class' => 'date'), + common_date_string($notice->created)); + common_end_element('div'); + } +} -- cgit v1.2.3-54-g00ecf