From e7c3ecd1928dfbd06e24ff17daf6d072842d8946 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sat, 18 Mar 2017 16:55:10 -0700 Subject: issue #699 (cherry picked from commit a45dd09fc0aa08fc81b7c62a9ac6aab78487dd8e) --- library/simplepie/demo/multifeeds.php | 108 ---------------------------------- 1 file changed, 108 deletions(-) delete mode 100644 library/simplepie/demo/multifeeds.php (limited to 'library/simplepie/demo/multifeeds.php') diff --git a/library/simplepie/demo/multifeeds.php b/library/simplepie/demo/multifeeds.php deleted file mode 100644 index b23d792a2..000000000 --- a/library/simplepie/demo/multifeeds.php +++ /dev/null @@ -1,108 +0,0 @@ -set_feed_url(array( - 'http://rss.news.yahoo.com/rss/topstories', - 'http://news.google.com/?output=atom', - 'http://rss.cnn.com/rss/cnn_topstories.rss' -)); - -// When we set these, we need to make sure that the handler_image.php file is also trying to read from the same cache directory that we are. -$feed->set_favicon_handler('./handler_image.php'); -$feed->set_image_handler('./handler_image.php'); - -// Initialize the feed. -$feed->init(); - -// Make sure the page is being served with the UTF-8 headers. -$feed->handle_content_type(); - -// Begin the (X)HTML page. -?> - - - Multifeeds Test page - - - - -
- - error): ?> -

error()?>

- - -
-

Quick-n-Dirty Multifeeds Demo

-
- - get_items() as $item): - - // Let's give ourselves a reference to the parent $feed object for this particular item. - $feed = $item->get_feed(); - ?> - -
-

get_title(), ENT_QUOTES, 'UTF-8'); ?>

- - - get_content(); ?> - - get_enclosure()): ?> -
- native_embed(array( - // New 'mediaplayer' attribute shows off Flash-based MP3 and FLV playback. - 'mediaplayer' => '../demo/for_the_demo/mediaplayer.swf' - )); ?> -
- - -

Source: get_title(); ?> | get_date('j M Y | g:i a'); ?>

-
- - - -

This is a test of the emergency broadcast system. This is only a test… beeeeeeeeeeeeeeeeeeeeeeeeeep!

- -
- - \ No newline at end of file -- cgit v1.2.3