You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by ch...@apache.org on 2008/07/13 15:16:34 UTC

svn commit: r676315 - /incubator/shindig/trunk/php/src/socialrest/converters/OutputAtomConverter.php

Author: chabotc
Date: Sun Jul 13 06:16:33 2008
New Revision: 676315

URL: http://svn.apache.org/viewvc?rev=676315&view=rev
Log:
Add <category term=status/> to activity entries

Modified:
    incubator/shindig/trunk/php/src/socialrest/converters/OutputAtomConverter.php

Modified: incubator/shindig/trunk/php/src/socialrest/converters/OutputAtomConverter.php
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/socialrest/converters/OutputAtomConverter.php?rev=676315&r1=676314&r2=676315&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/socialrest/converters/OutputAtomConverter.php (original)
+++ incubator/shindig/trunk/php/src/socialrest/converters/OutputAtomConverter.php Sun Jul 13 06:16:33 2008
@@ -80,6 +80,7 @@
 				// Special hoisting rules for activities
 				
 				if ($response instanceof Activity) {
+					$this->addNode($feedEntry, 'category', '', array('term' => 'status'));
 					$this->addNode($feedEntry, 'updated', date(DATE_ATOM, $response->postedTime));
 					$this->addNode($feedEntry, 'id', 'urn:guid:'.$response->id);
 					//FIXME should add a link field but don't have URL's available yet: