[Fusionforge-commits] r12245 - branches/Branch_5_1/src/plugins/oslc/include/oslc-zend/application/views/scripts/fusionforgecm

Olivier Berger olberger at libremir.placard.fr.eu.org
Thu Feb 10 16:12:55 CET 2011


Author: olberger
Date: 2011-02-10 16:12:55 +0100 (Thu, 10 Feb 2011)
New Revision: 12245

Modified:
   branches/Branch_5_1/src/plugins/oslc/include/oslc-zend/application/views/scripts/fusionforgecm/_resource_xml.php
Log:
remove useless attributes from feed entries.

Modified: branches/Branch_5_1/src/plugins/oslc/include/oslc-zend/application/views/scripts/fusionforgecm/_resource_xml.php
===================================================================
--- branches/Branch_5_1/src/plugins/oslc/include/oslc-zend/application/views/scripts/fusionforgecm/_resource_xml.php	2011-02-10 15:12:52 UTC (rev 12244)
+++ branches/Branch_5_1/src/plugins/oslc/include/oslc-zend/application/views/scripts/fusionforgecm/_resource_xml.php	2011-02-10 15:12:55 UTC (rev 12245)
@@ -73,20 +73,13 @@
 
 		$id = $doc->createElement('id', $entry['id']);
 		$child = $entryel->appendChild($id);
-		$link = $doc->createElement('link');
-		$child = $entryel->appendChild($link);
-		$href = $doc->createAttribute('href');
-		$child = $child->appendChild($href);
-		$href = $doc->createTextNode($entry['id']);
-		$child = $child->appendChild($href);
 
-
 		if( count($entry['resource']) ) {
 			$content = $doc->createElement('content');
 			$content = $entryel->appendChild($content);
 			$type = $doc->createAttribute('type');
 			$child = $content->appendChild($type);
-			$type = $doc->createTextNode('application/xml');
+			$type = $doc->createTextNode('application/rdf+xml');
 			$child = $child->appendChild($type);
 
 			encodeResource($doc, $content, $entry['resource']);




More information about the Fusionforge-commits mailing list