From be071aeb7565e46c670a6d9486a1f1b8a06971ab Mon Sep 17 00:00:00 2001 From: jhunkeler Date: Sun, 20 Dec 2009 23:29:11 +0000 Subject: Bug fix to modules.php. git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@381 c5b2fb0a-d05d-0410-98c8-828840a80ff6 --- blocks/rss_agw/index.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'blocks') diff --git a/blocks/rss_agw/index.php b/blocks/rss_agw/index.php index 83c3ff1..c811ecc 100644 --- a/blocks/rss_agw/index.php +++ b/blocks/rss_agw/index.php @@ -1,11 +1,17 @@ load('http://www.armedglobalwarfare.com/index.php?type=rss;action=.xml;limit=30'); + $rss->load('http://www.armedglobalwarfare.com/index.php?type=rss;action=.xml;limit=150'); $items = $rss->getItems(); #returns all rss items @@ -14,9 +20,11 @@ foreach($items as $story){ if($story['category']=="Tournament Announcements"){ $numFeeds++; + // $text = $story['description']; + // $text = preg_replace("(\[font(.+?)...)","",$text); echo "{$story['title']}
- {$story['pubDate']}
- {$story['description']}

"; + {$story['pubDate']}
"; + echo "{$text}

"; } } if(!$numFeeds){ -- cgit