summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-21 10:33:51 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-21 10:33:51 -0400
commitcb45529d8d773690c86f0274cd3a560f066b0a05 (patch)
tree34b78c995973dc6b939e452ccb770f7406a8d6a9 /actions/showstream.php
parentb86a51ec8afff2181867823f8330a8bf3e267cf7 (diff)
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
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php7
1 files changed, 4 insertions, 3 deletions
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);