diff --git a/habr_twister.php b/habr_twister.php index 5a95aa6..2febf5e 100644 --- a/habr_twister.php +++ b/habr_twister.php @@ -1,15 +1,6 @@ twisterPath = '.' . DIRECTORY_SEPARATOR . 'twister-win32-bundle' . DIRECTORY_SEPARATOR; -// Note: we use custom rpc port for twister -$twister->rpcport = 40001; // Initialise RSS database require_once 'habrrssdb.php'; @@ -42,10 +31,7 @@ foreach ($rss->channel->item as $item) { $msg = $twister->prettyPrint($title, $link, isset($item->category) ? $item->category : null); -/**/debugLog($msg); if ($twister->postMessage($msg)) { $db->setPublished($id); } } - -/**/debugLog('=== Done ==='); \ No newline at end of file