]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
fix sioc export
authorChristian Weiske <cweiske@cweiske.de>
Tue, 16 Aug 2011 18:09:41 +0000 (20:09 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Mon, 5 Sep 2011 16:50:25 +0000 (18:50 +0200)
www/api/export_sioc.php

index 8bdfd707bd60a6ff2258f2915f6d2f610e60aa73..47ffc96dabc20a653637196de43380f6d9ee3dd4 100644 (file)
@@ -67,9 +67,9 @@ $bookmarks =& $bookmarkservice->getBookmarks(0, NULL, NULL, NULL);
 <?php foreach($bookmarks['bookmarks'] as $bookmark): ?>
 <bm:Bookmark rdf:about="<?php echo createUrl('history', $bookmark['bHash']) ?>">
   <dc:title><?php echo filter($bookmark['bTitle']) ?></dc:title>
-  <dc:created><?php echo filter($bookmark['bCreated']) ?></dc:created>
+  <dc:created><?php echo filter($bookmark['bDatetime']) ?></dc:created>
   <dc:description><?php echo filter(strip_tags($bookmark['bDescription'])) ?></dc:description>
-  <dc:date><?php echo $bookmark['bDateTime'] ?></dc:date>
+  <dc:date><?php echo $bookmark['bModified'] ?></dc:date>
   <bm:recalls rdf:resource="<?php echo filter($bookmark['bAddress']) ?>"/>
   <sioc:owner_of rdf:resource="<?php echo createUrl('profile', $usersArray[$bookmark['uId']]) ?>"/>
   <?php foreach($bookmark['tags'] as $tag): ?>