From f343959dc964caa05d4763aabe230bb790f62757 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 18 Jan 2009 19:50:11 +0000 Subject: --- views/default/widgets/feed_reader/edit.php | 4 ++++ views/default/widgets/feed_reader/view.php | 31 ++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 views/default/widgets/feed_reader/edit.php create mode 100644 views/default/widgets/feed_reader/view.php (limited to 'views/default/widgets/feed_reader') diff --git a/views/default/widgets/feed_reader/edit.php b/views/default/widgets/feed_reader/edit.php new file mode 100644 index 000000000..3b14dcc97 --- /dev/null +++ b/views/default/widgets/feed_reader/edit.php @@ -0,0 +1,4 @@ +

+ + +

diff --git a/views/default/widgets/feed_reader/view.php b/views/default/widgets/feed_reader/view.php new file mode 100644 index 000000000..6635ecf88 --- /dev/null +++ b/views/default/widgets/feed_reader/view.php @@ -0,0 +1,31 @@ +feed_url; + if($feed_url){ + + $feed = new SimplePie($feed_url); + $feed->handle_content_type(); + + +?> +

get_title(); ?>

+ get_items() as $item): + ?> + +
+

get_title(); ?>

+

get_description(); ?>

+

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

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

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