aboutsummaryrefslogtreecommitdiffstats
path: root/library/simplepie/demo/cli_test.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-03-19 13:33:45 +0100
committerMario Vavti <mario@mariovavti.com>2017-03-19 13:33:45 +0100
commit0938db8f7b565e65248411a3eb3039481247f3f5 (patch)
treea791dda7c11d9fc015a82f2057ba984c548e1bef /library/simplepie/demo/cli_test.php
parent57584ea4295df83f3dfd57d99917178ecf2e250f (diff)
parentd2c971eda99fadb7515fb1e1ea4bd645a52513bd (diff)
downloadvolse-hubzilla-0938db8f7b565e65248411a3eb3039481247f3f5.tar.gz
volse-hubzilla-0938db8f7b565e65248411a3eb3039481247f3f5.tar.bz2
volse-hubzilla-0938db8f7b565e65248411a3eb3039481247f3f5.zip
Merge branch 'dev' into bs4
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