From fc5ef85ec2fa45afb44795109899d93329f7b2c4 Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 16 Apr 2010 01:56:18 +0000 Subject: Merged [5623]:head from 1.7 to trunk. git-svn-id: http://code.elgg.org/elgg/trunk@5760 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/thewire/views/rss/object/thewire.php | 50 ++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 mod/thewire/views/rss/object/thewire.php (limited to 'mod/thewire/views/rss/object') diff --git a/mod/thewire/views/rss/object/thewire.php b/mod/thewire/views/rss/object/thewire.php new file mode 100644 index 000000000..ce63c5549 --- /dev/null +++ b/mod/thewire/views/rss/object/thewire.php @@ -0,0 +1,50 @@ +getOwnerEntity(); +if ($owner) { + $title = sprintf(elgg_echo('thewire:by'), $owner->name); +} else { + $subtitle = strip_tags($vars['entity']->description); + $title = substr($subtitle,0,32); + if (strlen($subtitle) > 32) { + $title .= " ..."; + } +} + +?> + + +getGUID(); ?> +time_created) ?> +getURL()); ?> +<![CDATA[<?php echo $title; ?>]]> +description)); ?>]]> +getOwnerEntity(); + if ($owner) { +?> +name; ?> + +getLongitude()) && + ($vars['entity']->getLatitude()) + ) { + ?> + getLatitude(); ?> getLongitude(); ?> + + + -- cgit v1.2.3