aboutsummaryrefslogtreecommitdiffstats
path: root/library/simplepie/demo/cli_test.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-18 16:55:10 -0700
committerKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2017-03-21 21:47:30 +0100
commite7c3ecd1928dfbd06e24ff17daf6d072842d8946 (patch)
tree40125726f719d9bf07a52fe891d07c47b1585546 /library/simplepie/demo/cli_test.php
parent99811c90b6568284d38311714aa415c916812db7 (diff)
downloadvolse-hubzilla-e7c3ecd1928dfbd06e24ff17daf6d072842d8946.tar.gz
volse-hubzilla-e7c3ecd1928dfbd06e24ff17daf6d072842d8946.tar.bz2
volse-hubzilla-e7c3ecd1928dfbd06e24ff17daf6d072842d8946.zip
issue #699
(cherry picked from commit a45dd09fc0aa08fc81b7c62a9ac6aab78487dd8e)
Diffstat (limited to 'library/simplepie/demo/cli_test.php')
-rw-r--r--library/simplepie/demo/cli_test.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/library/simplepie/demo/cli_test.php b/library/simplepie/demo/cli_test.php
deleted file mode 100644
index ec933c5ad..000000000
--- a/library/simplepie/demo/cli_test.php
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/php
-<?php
-include_once('../simplepie.inc');
-
-// Parse it
-$feed = new SimplePie();
-if (isset($argv[1]) && $argv[1] !== '')
-{
- $feed->set_feed_url($argv[1]);
- $feed->enable_cache(false);
- $feed->init();
-}
-
-$items = $feed->get_items();
-
-foreach ($items as $item)
-{
- echo $item->get_title() . "\n";
-}
-
-var_dump($feed->get_item_quantity());
-
-?> \ No newline at end of file