From cb45529d8d773690c86f0274cd3a560f066b0a05 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 21 May 2008 10:33:51 -0400 Subject: rss feed plus Added an action for creating an RSS 1.0 (RDF) feed. To make this work, added a couple of helper functions to util, and changed the HTML stuff to use the helper functions. Also, changed a bit of formatting in the profile. Yeah, not a clean changeset. darcs-hash:20080521143351-84dde-d191761c399d7f014b990585c21e916e887b3401.gz --- actions/showstream.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'actions/showstream.php') diff --git a/actions/showstream.php b/actions/showstream.php index b4844aabd..7e887a9d9 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -101,13 +101,14 @@ class ShowstreamAction extends StreamAction { 'alt' => $profile->nickname)); } if ($profile->fullname) { + common_element_start('div', 'fullname'); if ($profile->homepage) { - common_element('a', array('href' => $profile->homepage, - 'class' => 'fullname'), + common_element('a', array('href' => $profile->homepage), $profile->fullname); } else { - common_element('div', 'fullname', $profile->fullname); + common_text($profile->fullname); } + common_element_end('div'); } if ($profile->location) { common_element('div', 'location', $profile->location); -- cgit v1.2.3-54-g00ecf