make export_html follow the "specs" a bit more and add format documentation url
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@705 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
7e6de50232
commit
ea0527fc83
1 changed files with 6 additions and 3 deletions
|
@ -3,6 +3,9 @@
|
||||||
* Implements the del.icio.us API request for all a user's posts,
|
* Implements the del.icio.us API request for all a user's posts,
|
||||||
* optionally filtered by tag.
|
* optionally filtered by tag.
|
||||||
*
|
*
|
||||||
|
* Netscape bookmark file format is documented at
|
||||||
|
* http://msdn.microsoft.com/en-us/library/aa753582(VS.85).aspx
|
||||||
|
*
|
||||||
* SemanticScuttle - your social bookmark manager.
|
* SemanticScuttle - your social bookmark manager.
|
||||||
*
|
*
|
||||||
* PHP version 5.
|
* PHP version 5.
|
||||||
|
@ -46,7 +49,7 @@ echo '<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" />';
|
||||||
echo '<!-- This is an automatically generated file. -->'."\r\n";
|
echo '<!-- This is an automatically generated file. -->'."\r\n";
|
||||||
echo '<TITLE>Bookmarks</TITLE>'."\r\n";
|
echo '<TITLE>Bookmarks</TITLE>'."\r\n";
|
||||||
echo '<H1 LAST_MODIFIED="'. date('U') .'">Bookmarks for '. htmlspecialchars($currentUser->getUsername()) .''. (is_null($tag) ? '' : ' tag="'. htmlspecialchars($tag) .'"') ." from " . $sitename ."</H1>\r\n";
|
echo '<H1 LAST_MODIFIED="'. date('U') .'">Bookmarks for '. htmlspecialchars($currentUser->getUsername()) .''. (is_null($tag) ? '' : ' tag="'. htmlspecialchars($tag) .'"') ." from " . $sitename ."</H1>\r\n";
|
||||||
echo '<DL><p>'."\r\n";
|
echo '<DL>'."\r\n";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -68,9 +71,9 @@ foreach ($bookmarks['bookmarks'] as $row) {
|
||||||
$taglist = 'system:unfiled';
|
$taglist = 'system:unfiled';
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "\t<dt><a href=\"". filter($row['bAddress'], 'xml') .'" '. $description .' hash="'. md5($row['bAddress']) .'" tags="'. filter($taglist, 'xml') .'" ADD_DATE="'. date('U', strtotime($row['bDatetime'])) ."\" >" . filter($row['bTitle'], 'xml') ."</a>\r\n";
|
echo "\t<DT><A HREF=\"". filter($row['bAddress'], 'xml') .'" '. $description .' hash="'. md5($row['bAddress']) .'" tags="'. filter($taglist, 'xml') .'" ADD_DATE="'. date('U', strtotime($row['bDatetime'])) ."\" >" . filter($row['bTitle'], 'xml') ."</a>\r\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
echo '</DL><p>';
|
echo '</DL>';
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue