This project is cloned and then modified from FiveFilters's latest free version at Bitbucket(They do only update this on Bitbucket now).
Compatible with PHP 7.0+ 🤣
.gitignoreadded to ignore
Start Now 😊
Preview: Full-RSS-Generator on Heroku using One Key Deployment.
(may sleep due to limitations for free plan)
KEEP IN MIND
If any customization needed, plz fork and do it by yourself for privacy.
Full-Text RSS from FiveFilters.org is used by software developers and news enthusiasts to extract article content from news sites and blogs, and to convert RSS feeds that contain only extracts of stories to full-text feeds.
This is the public version of Full-Text RSS available to download for free from https://bitbucket.org/fivefilters.
For best extraction results, and to help us sustain the project, you can purchase the most up-to-date version at http://fivefilters.org/content-only/#download.
If want a managed, hosted API instead, see our plans.
Extract the files in this ZIP archive to a folder on your computer.
FTP the files up to your server
Access index.php through your browser. E.g. https://example.org/full-text-rss/index.php
Enter a URL in the form field to test the code
If you get an RSS feed with full-text content, all is working well. :)
Save a copy of config.php as custom_config.php and edit custom_config.php
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.)
This free version does not contain the site config files we include with purchased copies, but these are now all available online. If you'd like to keep yours up to date using Git, follow the steps below:
git clone https://github.com/fivefilters/ftr-site-config.git .
git pullfrom the directory.
If you're developing an application which requires content extraction, you can call Full-Text RSS as a web service from within your application. Here's how to do it in PHP:
<?php // $ftr should be URL where you installed this application $ftr = 'http://example.org/full-text-rss/'; $article = 'http://www.bbc.co.uk/news/world-europe-21936308'; $request = $ftr.'makefulltextfeed.php?format=json&url='.urlencode($article); // Send HTTP request and get response $result = @file_get_contents($request); if (!$result) die('Failed to fetch content'); $json = @json_decode($result); if (!$json) die('Failed to parse JSON'); // What do we have? // var_dump($json); // Items? // var_dump($json->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;
Although we don't have examples in other programming languages, the essential steps should be:
Construct the request URL using URL where you installed Full-Text RSS and the article or feed URL (see $ftr, $article, $request in example above).
Fetch the resulting URL using an HTTP GET request.
Parse the HTTP response body as JSON and grab what you need.