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/minimalistic.php | 137 -------------------------------- 1 file changed, 137 deletions(-) delete mode 100644 library/simplepie/demo/minimalistic.php (limited to 'library/simplepie/demo/minimalistic.php') diff --git a/library/simplepie/demo/minimalistic.php b/library/simplepie/demo/minimalistic.php deleted file mode 100644 index 56509c00c..000000000 --- a/library/simplepie/demo/minimalistic.php +++ /dev/null @@ -1,137 +0,0 @@ -=')) - { - return microtime(true); - } - else - { - list($usec, $sec) = explode(' ', microtime()); - return ((float) $usec + (float) $sec); - } -} - -$start = microtime_float(); - -include('../simplepie.inc'); - -// Parse it -$feed = new SimplePie(); -if (!empty($_GET['feed'])) -{ - if (get_magic_quotes_gpc()) - { - $_GET['feed'] = stripslashes($_GET['feed']); - } - $feed->set_feed_url($_GET['feed']); - $feed->init(); -} -$feed->handle_content_type(); - -?> - - - -<?php echo (empty($_GET['feed'])) ? 'SimplePie' : 'SimplePie: ' . $feed->get_title(); ?> - - - - - - - - - - -

get_title(); ?>

- -
-

 

-
- -
- data): ?> - get_items(); ?> -

Displaying get_item_quantity(); ?> most recent entries.

- -
-

get_title(); ?> get_date('j M Y'); ?>

- get_content(); ?> - get_enclosure(0)) - echo '

Podcast

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