[gtk-web] Disable the news feed for now, causing the current loading problems



commit 42c0bfeb20ce210a55c49498718696ccd0054215
Author: Martyn Russell <martyn lanedo com>
Date:   Thu Jun 2 10:40:29 2011 +0100

    Disable the news feed for now, causing the current loading problems
    
    Only until we find out why this is problematic for us

 index.php |   26 --------------------------
 1 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/index.php b/index.php
index 683d9b7..80f170e 100755
--- a/index.php
+++ b/index.php
@@ -5,32 +5,6 @@ ob_start();
 ?>
 
 <div class="sidebar" id="NewsFeed">
-
-	<h2>News Feed</h2>
-	<ul class="newsfeed"><?php
-
-// To use Twitter, replace IDENTICA with TWITTER
-$newsfeed = new GTKNewsFeedLoader(IDENTICA);
-$newsfeed->usecaching = false;
-$items = $newsfeed->load( array( 'count' => 6 ) );
-
-$first = true;
-if( $newsfeed->iscached ) echo '<!-- This content is cached -->';
-
-foreach( $items as $item ) {
-?> 
-		<li<?php if($first) echo ' class="first"'; ?>>
-			<div class="time">
-				<span class="date"><?php echo date("F j, Y", $item['date']); ?></span>
-				<span class="relt"><?php echo $newsfeed->reltime($item['date']); ?></span>
-			</div>
-			<span class="text"><?php echo $item['html']; ?></span>
-		</li>
-<?php
-$first = false;
-} ?>
-	</ul>
-
 	<div class="newsfeed_buttons">
 		<div>Follow the GTK+ project on:</div>
 		<span>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]