From 41d0c1678c9b140d1c2d6e11b004e12f8215df27 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 18 Jan 2009 23:02:28 +0000 Subject: added divs before using css --- views/default/widgets/feed_reader/view.php | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/views/default/widgets/feed_reader/view.php b/views/default/widgets/feed_reader/view.php index 300c56ec7..96636ba4d 100644 --- a/views/default/widgets/feed_reader/view.php +++ b/views/default/widgets/feed_reader/view.php @@ -13,16 +13,12 @@ $num_items = $vars['entity']->num_items; $post_date = $vars['entity']->post_date; - echo $feed_url; - $feed = new SimplePie(); - $feed->set_feed_url($feed_url); - //$feed->set_autodiscovery_level(SIMPLEPIE_LOCATOR_ALL); - $feed->init(); - $feed->handle_content_type(); -echo $post_date; - echo $feed->get_item_quantity(); + $feed = new SimplePie($feed_url); + ?> -

get_title(); ?>


+
+

get_title(); ?>

+
$feed->get_item_quantity()) $num_items = $feed->get_item_quantity(); @@ -30,13 +26,15 @@ echo $post_date; foreach ($feed->get_items(0,$num_items) as $item): ?> -
-

get_title(); ?>

- ' . $item->get_description(true) . '

'; ?> +
+ + ' . $item->get_description(true) . '
'; ?> -

Posted on get_date('j F Y | g:i a'); ?>

+
Posted on get_date('j F Y | g:i a'); ?>
@@ -48,5 +46,3 @@ echo $post_date; echo '

' . elgg_echo('simplepie:notset') . '

'; } ?> - - -- cgit v1.2.3