diff --git a/README.txt b/README.txt index 27121aa..b939e81 100644 --- a/README.txt +++ b/README.txt @@ -1,6 +1,13 @@ Full-Text RSS ============= +NOTE +---- + +This is a our public version of Full-Text RSS available to download for free from http://code.fivefilters.org. + +To sustain the project we sell copies of the most up-to-date version at http://fivefilters.org/content-only/#download - so if you like this, please consider supporting us by purchasing the latest release. + About ----- @@ -14,7 +21,7 @@ Installation 2. FTP the files up to your server -3. Access index.php through your browser. E.g. http://my-host.com/full-text-rss/index.php +3. Access index.php through your browser. E.g. http://example.org/full-text-rss/index.php 4. Enter a URL in the form field to test the code diff --git a/UPDATING.txt b/UPDATING.txt index 530362e..c76b1bb 100644 --- a/UPDATING.txt +++ b/UPDATING.txt @@ -9,7 +9,7 @@ To update your copy of Full-Text RSS to ensure feeds continue to be processed as 3. FTP the new folder up to your server -4. Access index.php in the new folder through your browser -- for example http://my-host.com/full-text-rss-updated/index.php +4. Access index.php in the new folder through your browser -- for example http://example.org/full-text-rss-updated/index.php 5. Enter a URL in the form field to test the updated code diff --git a/changelog.txt b/changelog.txt index 823f62d..4a4dfb5 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,16 @@ FiveFilters.org: Full-Text RSS http://fivefilters.org/content-only/ CHANGELOG ------------------------------------ +2.7 (2011-03-21) + - Site patterns for better control over extraction (see site_config/README.txt) + - hNews support (improves content extraction for sites using hNews microformatting) + - Cookie Jar now used to store and sends cookies when following HTTP redirects + - Better handling of certain cases where HTML Tidy fails to clean up properly + - Bug fix: curl_multi_select() timing out in certain environments (fixed in HumbleHttpAgent.php) + - Bug fix: broken HTTP header parsing in some environments (fixed in SimplePie_HumbleHttpAgent.php) + - Bug fix: invalid API URL shown (fixed in index.php) + - Plus other minor fixes... + 2.6 (2011-03-02) - Rewriting of hash-bang (#!) URLs (see http://www.tbray.org/ongoing/When/201x/2011/02/09/Hash-Blecch for an explanation) - Improved parallel fetching support (HumbleHttpAgent uses curl_multi_* functions if PECL HTTP extension is not present) diff --git a/config.php b/config.php index bf8bd79..6b55583 100644 --- a/config.php +++ b/config.php @@ -11,6 +11,9 @@ // options you'd like to override in custom_config.php. // ..................................................... +// Create config object +$options = new stdClass(); + // Enable service // ---------------------- // Set this to false if you want to disable the service. @@ -185,7 +188,7 @@ $options->error_message_with_key = '[unable to retrieve full-text content]'; /// DO NOT CHANGE ANYTHING BELOW THIS /////////// ///////////////////////////////////////////////// -if (!defined('_FF_FTR_VERSION')) define('_FF_FTR_VERSION', '2.6'); +if (!defined('_FF_FTR_VERSION')) define('_FF_FTR_VERSION', '2.7'); if ((basename(__FILE__) == 'config.php') && (file_exists(dirname(__FILE__).'/custom_config.php'))) { require_once(dirname(__FILE__).'/custom_config.php'); diff --git a/ftr_compatibility_test.php b/ftr_compatibility_test.php index 6973723..ee35d06 100644 --- a/ftr_compatibility_test.php +++ b/ftr_compatibility_test.php @@ -13,7 +13,7 @@ SimplePie.org. We have kept most of their checks intact as we use SimplePie in o http://github.com/simplepie/simplepie/tree/master/compatibility_test/ */ -$app_name = 'Full-Text RSS 2.6'; +$app_name = 'Full-Text RSS 2.7'; $php_ok = (function_exists('version_compare') && version_compare(phpversion(), '5.2.0', '>=')); $pcre_ok = extension_loaded('pcre'); @@ -24,6 +24,7 @@ $tidy_ok = function_exists('tidy_parse_string'); $curl_ok = function_exists('curl_exec'); $parallel_ok = ((extension_loaded('http') && class_exists('HttpRequestPool')) || ($curl_ok && function_exists('curl_multi_init'))); $allow_url_fopen_ok = (bool)ini_get('allow_url_fopen'); +$filter_ok = extension_loaded('filter'); if (extension_loaded('xmlreader')) { $xml_ok = true; @@ -217,6 +218,11 @@ div.chunk { Enabled + + Data filtering + Enabled + + Tidy Enabled @@ -244,7 +250,7 @@ div.chunk {

What does this mean?

    - +
  1. You have everything you need to run properly! Congratulations!
  2. @@ -255,42 +261,49 @@ div.chunk {
  3. PCRE: You have PCRE support installed. No problems here.
  4. -
  5. allow_url_fopen: You have allow_url_fopen enabled. No problems here.
  6. +
  7. allow_url_fopen: You have allow_url_fopen enabled. No problems here.
  8. + + +
  9. Data filtering: You have the PHP filter extension enabled. No problems here.
  10. - -
  11. Zlib: You have Zlib enabled. This allows SimplePie to support GZIP-encoded feeds. No problems here.
  12. - -
  13. Zlib: The Zlib extension is not available. SimplePie will ignore any GZIP-encoding, and instead handle feeds as uncompressed text.
  14. - - - -
  15. mbstring and iconv: You have both mbstring and iconv installed! This will allow to handle the greatest number of languages. No problems here.
  16. - -
  17. mbstring: mbstring is installed, but iconv is not.
  18. - -
  19. iconv: iconv is installed, but mbstring is not.
  20. - -
  21. mbstring and iconv: You do not have either of the extensions installed. This will significantly impair your ability to read non-English feeds, as well as even some English ones.
  22. - + +
  23. Zlib: You have Zlib enabled. This allows SimplePie to support GZIP-encoded feeds. No problems here.
  24. + +
  25. Zlib: The Zlib extension is not available. SimplePie will ignore any GZIP-encoding, and instead handle feeds as uncompressed text.
  26. + + + +
  27. mbstring and iconv: You have both mbstring and iconv installed! This will allow to handle the greatest number of languages. No problems here.
  28. + +
  29. mbstring: mbstring is installed, but iconv is not.
  30. + +
  31. iconv: iconv is installed, but mbstring is not.
  32. + +
  33. mbstring and iconv: You do not have either of the extensions installed. This will significantly impair your ability to read non-English feeds, as well as even some English ones.
  34. + + + +
  35. Tidy: You have Tidy support installed. No problems here.
  36. + +
  37. Tidy: The Tidy extension is not available. should still work with most feeds, but you may experience problems with some.
  38. + + + +
  39. cURL: You have cURL support installed. No problems here.
  40. + +
  41. cURL: The cURL extension is not available. SimplePie will use fsockopen() instead.
  42. + + + +
  43. Parallel URL fetching: You have HttpRequestPool or curl_multi support installed. No problems here.
  44. + +
  45. Parallel URL fetching: HttpRequestPool or curl_multi support is not available. will use file_get_contents() instead to fetch URLs sequentially rather than in parallel.
  46. + - -
  47. Tidy: You have Tidy support installed. No problems here.
  48. -
  49. Tidy: The Tidy extension is not available. should still work with most feeds, but you may experience problems with some.
  50. - - - -
  51. cURL: You have cURL support installed. No problems here.
  52. - -
  53. cURL: The cURL extension is not available. SimplePie will use fsockopen() instead.
  54. - - - -
  55. Parallel URL fetching: You have HttpRequestPool or curl_multi support installed. No problems here.
  56. - -
  57. Parallel URL fetching: HttpRequestPool or curl_multi support is not available. will use file_get_contents() instead to fetch URLs sequentially rather than in parallel.
  58. - - +
  59. Data filtering: Your PHP configuration has the filter extension disabled. will not work here.
  60. + +
  61. allow_url_fopen: Your PHP configuration has allow_url_fopen disabled. will not work here.
  62. @@ -309,19 +322,19 @@ div.chunk {
- +

Bottom Line: Yes, you can!

Your webhost has its act together!

You can download the latest version of from FiveFilters.org.

Note: Passing this test does not guarantee that will run on your webhost — it only ensures that the basic requirements have been addressed. If you experience any problems, please let us know.

- +

Bottom Line: Yes, you can!

For most feeds, it'll run with no problems. There are certain languages that you might have a hard time with though.

You can download the latest version of from FiveFilters.org.

Note: Passing this test does not guarantee that will run on your webhost — it only ensures that the basic requirements have been addressed. If you experience any problems, please let us know.

Bottom Line: We're sorry…

-

Your webhost does not support the minimum requirements for . It may be a good idea to contact your webhost, and ask them to install a more recent version of PHP as well as the xmlreader, xml, mbstring, iconv, curl, and zlib extensions. And ask them to enable allow_url_fopen.

+

Your webhost does not support the minimum requirements for . It may be a good idea to contact your webhost and point them to the results of this test. They may be able to enable/install the required components.

diff --git a/index.php b/index.php index cf3977b..7a55b56 100644 --- a/index.php +++ b/index.php @@ -1,9 +1,5 @@ -->