From b9e893053f8fc662986e2281294438e7ce4b5148 Mon Sep 17 00:00:00 2001 From: "FiveFilters.org" Date: Wed, 17 Jul 2013 23:27:04 +0200 Subject: [PATCH] added code example --- README.md | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8097f96..0354c1c 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Full-Text RSS This is a our public version of Full-Text RSS available to download for free from . -To sustain the project we sell copies of the most up-to-date version at - so if you like this, please consider supporting us by purchasing the latest release. We also accept donations via [Gittip](https://www.gittip.com/fivefilters/) +To sustain the project we sell copies of the most up-to-date version at - so if you like this, please consider supporting us by purchasing the latest release. We also accept donations via [Gittip](https://www.gittip.com/fivefilters/). ### About @@ -27,4 +27,34 @@ See for a description of the code. 1. Save a copy of config.php as custom_config.php and edit custom_config.php -2. If you decide to enable caching, make sure the cache folder (and its 2 sub folders) is writable. (You might need to change the permissions of these folders to 777 through your FTP client.) \ No newline at end of file +2. If you decide to enable caching, make sure the cache folder (and its 2 sub folders) is writable. (You might need to change the permissions of these folders to 777 through your FTP client.) + +### Code example + + rss->channel->item); + + $title = $json->rss->channel->item->title; + // Note: this works when you're processing an article. + // If the input URL is a feed, ->item will be an array. + + echo $title; \ No newline at end of file