X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/d297e7b43dff2c97f05ca2802f150d51c31bfcb3..6b106efb4f8497f1bd9dc334683751508caa176e:/api/posts_recent.php diff --git a/api/posts_recent.php b/api/posts_recent.php index 22fc2bd..476eecb 100644 --- a/api/posts_recent.php +++ b/api/posts_recent.php @@ -4,14 +4,14 @@ // Set default and max number of posts $countDefault = 15; -$countMax = 100; +$countMax = 100; // Force HTTP authentication first! -require_once('httpauth.inc.php'); -require_once('../header.inc.php'); +require_once 'httpauth.inc.php'; +require_once '../header.inc.php'; $bookmarkservice =& ServiceFactory::getServiceInstance('BookmarkService'); -$userservice =& ServiceFactory::getServiceInstance('UserService'); +$userservice =& ServiceFactory::getServiceInstance('UserService'); // Check to see if a tag was specified. if (isset($_REQUEST['tag']) && (trim($_REQUEST['tag']) != '')) @@ -41,7 +41,7 @@ header('Content-Type: text/xml'); echo '\r\n"; echo '\r\n"; -foreach($bookmarks['bookmarks'] as $row) { +foreach ($bookmarks['bookmarks'] as $row) { if (is_null($row['bDescription']) || (trim($row['bDescription']) == '')) $description = ''; else @@ -60,4 +60,3 @@ foreach($bookmarks['bookmarks'] as $row) { } echo ''; -?> \ No newline at end of file