PluginProbe
FeedWordPress / 2009.0613
FeedWordPress v2009.0613
trunk 0.8 0.9 0.91 0.95 0.96 0.97 0.98 0.981 0.99 0.991 0.992 0.993 2008.1030 2008.1101 2008.1105 2008.1214 2009.0612 2009.0613 2009.0618 2009.0707 2009.1111 2009.1112 2010.0127 2010.0528 All 65 releases
← All changes | readme.txt +108 -1973 trunk2009.0613 View file →
@@ -1,2024 +1,159 @@
1 1 === FeedWordPress ===
2 -Contributors: radgeek
3 -Donate link: https://fwpplugin.com/donate/
2 +Contributors: Charles Johnson
3 +Donate link: http://projects.radgeek.com/feedwordpress/
4 4 Tags: syndication, aggregation, feed, atom, rss
5 -Requires at least: 4.5
6 -Tested up to: 7.0
7 -Stable tag: 2026.0517
8 -License: GPLv2 or later
9 -License URI: https://www.gnu.org/licenses/gpl-2.0.html
5 +Requires at least: 1.5
6 +Tested up to: 2.8
7 +Stable tag: 2009.0613
10 8
11 -FeedWordPress syndicates content from feeds you choose into your WordPress weblog.
9 +FeedWordPress syndicates content from feeds you choose into your WordPress weblog.
12 10
13 11 == Description ==
14 12
15 -* Author: [C. Johnson](https://fwpplugin.com/contact/)
16 -* Project URI: <http://fwpplugin.com/>
13 +* Author: [Charles Johnson](http://radgeek.com/contact)
14 +* Project URI: <http://projects.radgeek.com/feedwordpress>
17 15 * License: GPL 2. See License below for copyright jots and tittles.
18 16
19 -FeedWordPress is an Atom/RSS aggregator for WordPress. It syndicates content from feeds that you choose into your WordPress weblog, and then the content it syndicates appears as a series of special posts in your WordPress posts database. If you syndicate several feeds then you can use WordPress's posts database and templating engine as the back-end of an aggregation ("planet") website. It was developed, originally, as a utility/hobby project, because I needed a more flexible replacement for [Planet][] for aggregator sites that I administered.
17 +FeedWordPress is an Atom/RSS aggregator for WordPress. It syndicates content
18 +from feeds that you choose into your WordPress weblog; if you syndicate several
19 +feeds then you can use WordPress's posts database and templating engine as the
20 +back-end of an aggregation ("planet") website. It was developed, originally,
21 +because I needed a more flexible replacement for [Planet](http://www.planetplanet.org/)
22 +to use at [Feminist Blogs](http://feministblogs.org/).
20 23
21 -[Planet]: https://web.archive.org/web/20051029095046/http://www.planetplanet.org/
24 +FeedWordPress is designed with flexibility, ease of use, and ease of
25 +configuration in mind. You'll need a working installation of WordPress or
26 +WordPress MU (versions [2.7][], [2.6][], [2.5][], [2.3][], [2.2][], [2.1][], [2.0][] or
27 +[1.5][]), and also FTP or SFTP access to your web host. The ability to create
28 +cron jobs on your web host is helpful but not absolutely necessary. You *don't*
29 +need to tweak any plain-text configuration files and you *don't* need shell
30 +access to your web host to make it work. (Although, I should point out, web
31 +hosts that *don't* offer shell access are *bad web hosts*.)
22 32
23 -FeedWordPress is designed with flexibility, ease of use, and ease of configuration in mind. You'll need a working installation of WordPress (version [4.5][] or later), and it helps to have SFTP or FTP access to your web host. The ability to create cron jobs on your web host is helpful but not required.
33 + [2.7]: http://codex.wordpress.org/Version_2.7
34 + [2.6]: http://codex.wordpress.org/Version_2.6
35 + [2.5]: http://codex.wordpress.org/Version_2.5
36 + [2.3]: http://codex.wordpress.org/Version_2.3
37 + [2.2]: http://codex.wordpress.org/Version_2.2
38 + [2.1]: http://codex.wordpress.org/Version_2.1
39 + [2.0]: http://codex.wordpress.org/Version_2.0
40 + [1.5]: http://codex.wordpress.org/Version_1.5
24 41
25 - [WordPress]: https://wordpress.org/
26 - [4.5]: http://codex.wordpress.org/Version_4.5
27 -
28 42 == Installation ==
29 43
30 44 To use FeedWordPress, you will need:
31 45
32 -* an installed and configured copy of [WordPress](https://wordpress.org/) (version 4.5 or later).
46 +* an installed and configured copy of WordPress version 2.6.x, 2.5.x,
47 + 2.3.x, 2.2.x, 2.1.x, 2.0.x, or 1.5.x. (FeedWordPress will also work with
48 + the equivalent versions of WordPress MU.)
33 49
34 -* the ability to install new plugins on your site using either WordPress's Plugins Repository, SFTP, FTP or shell access to your web host
50 +* FTP or SFTP access to your web host
35 51
36 52 = New Installations =
37 53
38 -1. Download the FeedWordPress installation package and extract the files on your computer.
54 +1. Download the FeedWordPress archive in zip or gzipped tar format and
55 + extract the files on your computer.
39 56
40 -2. Create a new directory named `feedwordpress` in the `wp-content/plugins` directory of your WordPress installation. Use an FTP or SFTP client to upload the contents of your FeedWordPress archive to the new directory that you just created on your web host.
57 +2. Create a new directory named `feedwordpress` in the `wp-content/plugins`
58 + directory of your WordPress installation. Use an FTP or SFTP client to
59 + upload the contents of your FeedWordPress archive to the new directory
60 + that you just created on your web host.
41 61
42 -3. Log in to the WordPress Dashboard and activate the FeedWordPress plugin.
62 +3. Upgrade the copy of MagpieRSS packaged with WordPress by installing the
63 + new copies of `rss.php` and `rss-functions.php` into the `wp-includes`
64 + directory of your FeedWordPress installation. These files are stored in
65 + the `MagpieRSS-upgrade` directory of your FeedWordPress archive. Strictly
66 + speaking, upgrading MagpieRSS is optional; FeedWordPress will run
67 + correctly without the upgrade. But if you hope to take advantage of
68 + numerous bug fixes, or support for Atom 1.0, multiple post categories,
69 + RSS enclosures, or multiple character encodings, then you need to
70 + install the upgrade.
43 71
44 -4. Once the plugin is activated, a new **Syndication** section should appear in your WordPress admin menu. Click here to add new syndicated feeds, set up configuration options, and determine how FeedWordPress will check for updates. For help, see the [FeedWordPress Quick Start][] page.
72 +4. Log in to the WordPress Dashboard and activate the FeedWordPress plugin.
45 73
46 -[FeedWordPress Quick Start]: http://feedwordpress.radgeek.com/wiki/quick-start
74 +5. Once the plugin is activated, you can go to **Syndication --> Options**
75 + and set (1) the link category that FeedWordPress will syndicate links
76 + from (by default, "Contributors"), and (2) whether FeedWordPress will
77 + use automatic updates or only manual updates.
47 78
79 +5. Go to the main **Syndication** page to set up the list of sites that
80 + you want FeedWordPress to syndicate onto your blog.
81 +
48 82 = Upgrades =
49 83
50 -To *upgrade* an existing installation of FeedWordPress to the most recent release:
84 +To *upgrade* an existing installation of FeedWordPress to version 2008.1030:
51 85
52 -1. Download the FeedWordPress installation package and extract the files on your computer.
86 +1. Download the FeedWordPress archive in zip or gzipped tar format and
87 + extract the files on your computer.
53 88
54 -2. Upload the new PHP files to `wp-content/plugins/feedwordpress`, overwriting any existing FeedWordPress files that are there.
89 +2. If you are upgrading from version 0.98 or earlier, then you need to
90 + create a new directory named `feedwordpress` in the `wp-content/plugins`
91 + directory of your WordPress installation, and you also need to *delete*
92 + your existing `wp-content/update-feeds.php` and
93 + `wp-content/plugins/feedwordpress.php` files. The file structure for
94 + FeedWordPress has changed and the files from your old version will not
95 + be overwritten, which could cause conflicts if you leave them in place.
55 96
56 -3. Log in to your WordPress administrative interface immediately in order to see whether there are any further tasks that you need to perform to complete the upgrade.
97 +3. Upload the new PHP files to `wp-content/plugins/feedwordpress`,
98 + overwriting any existing FeedWordPress files that are there. Also be
99 + sure to upgrade the MagpieRSS module by uploading `rss.php` and
100 + `rss-functions.php` from the `MagpieRSS-upgrade` directory in your
101 + archive to the `wp-includes` directory of your WordPress installation.
57 102
58 -4. Enjoy your newer and hotter installation of FeedWordPress!
103 +3. If you are upgrading from version 0.96 or earlier, **immediately** log
104 + in to the WordPress Dashboard, and go to **Options --> Syndicated**.
105 + Follow the directions to launch the database upgrade procedure. The new
106 + versions of FeedWordPress incorporate some long-needed improvements, but
107 + old meta-data needs to be updated to prevent duplicate posts and other
108 + possible maladies. If you're upgrading an existing installation, updates
109 + and FeedWordPress template functions *will not work* until you've done
110 + the upgrade. Then take a coffee break while the upgrade runs. It should,
111 + hopefully, finish within a few minutes even on relatively large
112 + databases.
59 113
60 -== Using and Customizing FeedWordPress ==
114 +4. If you are upgrading from version 0.98 or earlier, note that the old
115 + `update-feeds.php` has been eliminated in favor of a (hopefully) more
116 + humane method for automatic updating. If you used a cron job for
117 + scheduled updates, it will not work anymore, but there is another,
118 + simpler method which will. See [Setting Up Feed Updates](http://projects.radgeek.com/feedwordpress/install/#setting-up-feed-updates)
119 + to get scheduled updates back on track.
61 120
62 -FeedWordPress has many options which can be accessed through the WordPress Dashboard, and a lot of functionality accessible programmatically through WordPress templates or plugins. For further documentation of the ins and outs, see the documentation at the [FeedWordPress project homepage][].
121 +5. Enjoy your new installation of FeedWordPress.
63 122
64 - [FeedWordPress project homepage]: http://feedwordpress.radgeek.com/
123 +== Using and Customizing FeedWordPress ==
65 124
66 -== Screenshots ==
125 +FeedWordPress has many options which can be accessed through the WordPress
126 +Dashboard, and a lot of functionality accessible programmatically through
127 +WordPress templates or plugins. For further documentation of the ins and
128 +outs, see the documentation at the [FeedWordPress project homepage][].
67 129
68 -1. Syndicated Sites Settings
69 -2. Dashboard widget for Syndicated Sources
70 -3. Feed and Update Settings (single feed)
71 -4. Feed and Update Settings (defaults for all feeds)
130 + [FeedWordPress project homepage]: http://projects.radgeek.com/feedwordpress/
72 131
73 -== Changelog ==
74 -
75 -= 2026.0517 =
76 -
77 -* BUG FIX FOR Custom Post Settings AFTER WordPress/FeedWordPress UPGRADE: If you used "Custom Post Settings" fields in Syndication > Posts to set custom post fields on syndicated articles (either static text or dynamic values using the XPath-like syntax), these may have stopped creating custom settings fields as expected after upgrading FeedWordPress or after upgrading WordPress to the most recent version. This is due to a regression introduced by the SimplePie version compatibility fix in 2025.1209. That has been fixed thanks to a patch submitted by @fl0om on Github; if you noticed that posts were being syndicated but syndicated posts were not assigned, then the custom post setting fields that you expected, upgrading to this point release should hopefully resolve that issue for you.
78 -
79 -= 2025.1209 =
80 -
81 -* COMPATIBILITY FIXES FOR WORDPRESS 6.9 (Fixes "PHP Fatal error: Cannot make static method SimplePie\\Parser::declare_html_entities() non static in class FeedWordPie_Parser" error, "PHP Fatal error: Uncaught TypeError: Return value of SimplePie\\File::get_headers() must be of the type array, null returned" error, or "PHP Fatal error: Uncaught TypeError: Argument 1 passed to SimplePie\\File::SimplePie\\{closure}() must be of the type string, array given" error after WordPress 6.9 upgrade): This version includes fixes to critical compatibility issues with WordPress 6.9 and WP 6.9's upgrade to SimplePie 1.9.0+. If you recently upgraded to WordPress 6.9 and noticed problems with updating or accessing your site, or messages about a "Critical issue" or fatal PHP errors in the interface or your error logs then a quick upgrade to this point release should hopefully resolve that issue for you.
82 -
83 -= 2024.1119 =
84 -
85 -* COMPATIBILITY FIX FOR WORDPRESS 6.7 (Fixes "Uncaught TypeError: Argument 1 passed to SimplePie\Cache\BaseDataCache::__construct() must implement interface SimplePie\Cache\Base" error after WordPress 6.7 upgrade): This version includes a fix to a critical compatibility issue with SimplePie 1.8.0+'s new requirements for namespaced classes and interfaces. (Updating to WordPress 6.7 also means that you get an update to a more recent version of SimplePie included with the platform; unfortunately, the new version of SimplePie introduces code changes which are no doubt a good idea in the long run, but which broke backward compatibility with the technique that FeedWordPress uses to extend SimplePie classes.) If you recently upgraded to WordPress 6.7 and noticed that FeedWordPress suddenly stopped updating, or that you started seeing messages about a "Critical issue" or fatal PHP errors in the interface or your error logs -- especially when attempting to check feeds for updates within the FeedWordPress admin interface -- then a quick upgrade to this point release should hopefully resolve that issue for you.
86 -
87 -= 2024.0511 =
88 -
89 -* COMPATIBILITY FIX FOR "Uncaught TypeError: in_array()" ERROR: This version includes a fix to a fatal error that some users encountered with some versions of PHP 8. If after upgrading to a recent version of FeedWordPress, you encountered a message about a "critical error" or error messages indicating something like "Uncaught TypeError: in_array() Argument #2", then a couple of code changes in this version should hopefully resolve that error for you.
90 -
91 -= 2024.0428 =
92 -
93 -* IMPORTANT SECURITY FIX: This version includes an important fix for a security vulnerability reported to me through Wordfence and WordPress support channels.
94 -
95 - Vulnerability CVE-2024-0839 allowed for an insecure Direct Object Reference which could allow contents of Private, Pending, or otherwise non-Published post objects to be accessed by an attacker possessing or generating the internal guid URI of the post object. This vulnerability has been eliminated in the current version; to protect your site's security PLEASE BE SURE TO UPGRADE AS SOON AS POSSIBLE to version 2024.0428 or later, via the WordPress Plugin Repository or via Github.
96 -
97 -* ADDITIONAL COMPATIBILITY FIXES AND CODE CLEANUP: This version includes numerous fixes to improve compatibility fixes for ongoing new releases of PHP, and does some additional code clean-up to remove some obsolete methods of generating output, and to do a better job of sanitizing input and escaping output in the FeedWordPress administrative dashboard. It features numerous fixes and improvements contributed by user @GwynethLlewelyn and several new hooks allowing for translation of interface elements.
98 -
99 -= 2022.0222 =
100 -
101 -* ADDITIONAL CODE CLEANUP: This version does some additional code clean-up to remove some obsolete methods of generating output, and to do a better job of sanitizing input and escaping output in the FeedWordPress administrative dashboard.
102 -
103 -= 2022.0204 =
104 -
105 -* ADDITIONAL CODE CLEANUP: This version does some additional code clean-up to remove some obsolete methods of generating output, and to do a better job of sanitizing input and escaping output in the FeedWordPress administrative dashboard.
106 -
107 -= 2022.0123 =
108 -
109 -* IMPORTANT SECURITY FIX: This version includes an important fix for a security vulnerability reported to me through WPScan and WordPress support channels.
110 -
111 - Vulnerability CVE-2021-25055 allowed for an XSS (Cross-Site Scripting) attack using a specially crafted URL for a page within the FeedWordPress admin interface. (To be exploited, an existing user with login credentials that allow them to access the FeedWordPress dashboard would have to follow the malicious URL and log in.) This vulnerability has been corrected in the current version; to protect your site's security PLEASE BE SURE TO UPGRADE AS SOON AS POSSIBLE to version 2022.0123 or later, via the WordPress Plugin Repository or via Github.
112 -
113 -* BUG FIXES: Fixes a number of small possible bugs when creating new syndicated posts under unusual conditions -- a sanity check is built in to avoid infinite loops in case of certain unexpected error outcomes when creating new users; some more possible sources of PHP 8 "Countable" warnings are eliminated, etc.
114 -
115 -= 2021.0713 =
116 -
117 -* WORDPRESS 5.6, 5.7.x COMPATIBILITY FIXES. This release introduces fixes to annoying or worse warnings resulting from
118 - the deprecation of WordPress's built-in WP_Feed_Cache class. This should resolve the problem if you are encountering
119 - annoying, worrying, or breaking problems related to the PHP warnings: "Deprecated: class-wp-feed-cache.php is
120 - <strong>deprecated</strong> since version 5.6.0", and/or "Message: ./cache is not writable. Make sure you've set the
121 - correct relative or absolute path, and that the location is server-writable."
122 -
123 -* Fixes PHP warning for "count(): Parameter must be an array or an object that implements Countable in
124 - .../wp-content/plugins/feedwordpress/feedwordpress.php on line 1566"
125 -
126 -* Miscellaneous fixes for other missing variable and global warnings.
127 -
128 -* Code cleanup and reorganization to allow better modularization of error messages, warning dialogs, and extended text.
129 -
130 -= 2020.0818 =
131 -
132 -* WORDPRESS 5.5 COMPATIBILITY FIXES, RESOLVES WARNING NOTICES OR WP-ADMIN LOCKOUT. WordPress 5.5 incorporated a newer release of SimplePie, version 1.5.5, which is pretty rad, but FeedWordPress classes that relied on SimplePie 1.3.1's method signatures would then produce PHP warning notices. That should be pretty innocuous, but depending on web server configurations, some users could get locked out of their own wp-admin interface by the display of error notices in the browser at inopportune times. In any case, I have added code to switch between backward-compatible modules for SimplePie 1.3.1 or updated modules compatible with SimplePie 1.5.5, based on the version available in your WordPress installation; so these notices and their untoward effects should be eliminated.
133 -
134 -* PHP 7.4 COMPATIBILITY FIX: Magic quotes were deprecated and then removed back in PHP 5.x, and in PHP 7.4 the vestigial `get_magic_quotes_gpc()` function has been deprecated. We don't need to worry about it anymore for versions of PHP still supported by WordPress. The reference to the function in the MyPHP utility class caused PHP warnings in more recent versions of PHP; so it has now been removed.
135 -
136 -* DIVERS BUG FIXES AND PHP WARNING NOTICES RESOLVED, thanks to @oppiansteve's fixes and pull requests. (Thanks!)
137 -
138 -* JQUERY COMPATIBILITY FIXES, RESOLVES MYSTERIOUS VANISHING FEED SELECTOR IN WP-ADMIN. An upgrade to WordPress's packaged jQuery caused the drop-down box for feed settings (in Syndication > Feeds & Updates, Syndication > Posts & Links, etc.) to vanish shortly after pageload. That was awkward, so I disabled the now-incompatible interface chrome that was causing it to vanish.
139 -
140 -= 2020.0118 =
141 -
142 -* WORDPRESS COMPATIBILITY TESTING. It's been some time since a public release of FeedWordPress; so I have tested the plugin functionality with recent versions of WordPress and incorporated a number of PHP 7-compatibility related tweaks.
143 -
144 -* FEED PARSING FAULT TOLERANCE. If FeedWordPress fails to parse a feed using normal XML functions, it will attempt to convert any named entities that may be causing a problem, and then try to parse again. Props to @inanimatt for utility functions that help make the code go.
145 -
146 -* PAUSING UPDATES. In Syndication > Feeds & Updates, you can now instruct FeedWordPress to temporarily pause or resume updating feeds -- whatever update method you are using, you can put new updates on hold for a while so that you can fiddle with setings, run tests, or do whatever you need to do before allowing updates to resume.
147 -
148 -* CODE MODERNIZATION, PHP 7.x COMPATIBILITY AND CLEANUP AND REORGANIZATION. I have been dusting out nooks and crannies in the code and hiving more functionality off into discrete modules. A number of FeedWordPress users have also offered pull requests to eliminate bothersome PHP notices and warnings related to PHP 7.x compatibility -- in particular removing uses of deprecated `each()` functions, and avoiding use of `count()` on null values -- which I have rolled into the main branch release. Props to @manzoorwanijk, @tristanleboss, @martinburchell and @oppiansteve
149 -
150 -= 2017.1020 =
151 -
152 -* ADD BOILERPLATE / CREDITS FEATURE AVAILABLE IN POSTS & LINKS SETTINGS PANEL. I have added a new settings panel to the off-the-shelf features of FeedWordPress, under Syndication > Posts & Links (or under the Posts settings page for any individual feed), which allows you to define boilerplate text that should appear in connection with every syndicated post, or with every post syndicated from a particular feed. So, for example, if you want each syndicated post to include a byline reading "This is a syndicated post, reprinted from (LINK TO ORIGINAL SOURCE WEBSITE).", you could set up this byline from within the FeedWordPress settings interface, by going to the Boilerplate / Credits panel, and adding a line to appear BEFORE the CONTENT of each syndicated post, using the text and shortcode "This is a syndicated post, reprinted from [source]." For those of you who have corresponded with me about this feature before, you may be familiar with it from the long-standing "experimental" add-on, FWP+: Add Attribution; I've decided that it's been enough years, and I've had enough requests, that the Add Attribution feature may as well be included in the main FeedWordPress code.
153 -
154 - Back when FeedWordPress was first created, the assumption was that a well-behaved aggregator would include boilerplate text to indicate the source of syndicated posts, but that the best way to do this was to provide a set of syndication-specific template tags so that the administrator setting up the site could edit their Theme template files with constructs like:
155 -
156 - <?php if (is_syndicated()) : ?>
157 - <p class="byline">This post by <?php the_author(); ?> originally
158 - appeared at <a href="<?php the_syndication_source_link(); ?>"><?php
159 - the_syndication_source(); ?></a>.</p>
160 - <?php else : ?>
161 - <p class="byline">By <?php the_author(); ?>.</p>
162 - <?php endif; ?>
163 -
164 - You can still do this, of course, and for maximum expressive power and flexibility, it is certainly the best way to do it. Template Tags are documented here: <http://feedwordpress.radgeek.com/wiki/templates/> However, (1) it requires writing PHP code, which not everyone is comfortable doing; and (2) it requires altering template files within your Theme, which is not always possible, especially given the increasing role that prepackaged commercial themes have come to play in the WordPress ecosystem. So, now, you can get some basic features for adding boilerplate text and attribution credits even without touching your template files, and without having to add custom add-ons for FeedWordPress. Enjoy!
165 -
166 -* MINOR CODE MODERNIZATION, PHP 7.1 COMPATIBILITY AND BUG FIXES. This project is now 12+ years old (good lord), and there are still some places where code was written at a time when PHP was a very different language from what it is now. Props to @david-robinson-practiceweb for pointing out and sending a pull request to fix some instances where obsolete PHP reference notation (`&$q` on parameters and so on) created a compatibility problem for PHP 7.1. Props to an email correspondent for pointing out a place in SyndicatedPost where excerpts should be generated from post content using encoding-aware mb_substr(), instead of naively running them through substr(). I've begun making some efforts throughout to begin auditing some of the creakiest old code in the project, to update what needs updating and improve documentation throughout.
167 -
168 -= 2017.0913 =
169 -
170 -* PARTIAL FIX FOR 2X DUPLICATE POSTS APPEARING ON DUAL HTTP/HTTPS SITES: Some users reported an issue in which their FeedWordPress sites, which are over both insecure HTTP and over HTTPS, would pick up exactly 2 copies of every post or almost every post from certain feeds, and where the guids for each of the pair of duplicate posts would look exactly alike, except for a difference in the protocol, for example:
171 -
172 - http://www.example.com/?guid=c1cd28da39e8d7babcf6499983aca545
173 - https://www.example.com/?guid=c1cd28da39e8d7babcf6499983aca545
174 -
175 - ... where www.example.com is the server that your own copy of FeedWordPress is installed. This release of FeedWordPress normalizes post guid prefixes so as to avoid or limit the scope of this problem.
176 -
177 -* PHP 7 Compatibility: eliminate remaining sources of PHP 7 compatibility-check failures -- remove the use of depreciated mysql_error() function, and make sure all classes make use of __construct() convention for constructors.
178 -
179 -* AVOID "PHP Warning: shell_exec() has been disabled for security reasons in [...]/feedwordpress/feeds-page.php on line 197": FeedWordPress uses the PHP shell_exec() function in a very narrowly limited way for information gathering, trying to find the real path to curl or wget on your system, so that it can give as realistic as possible a recommendation for the sample crontab line displayed in Syndication > Feeds & Updates. Some web hosting environments disable shell_exec for security reasons (since it could in theory be used to do a lot more stuff than the very limited information gathering FWP uses it for); in which case, this part of the code in FeedWordPress could spit out a nasty-looking and potentially worrisome-looking error message. So, now this code is fenced with checks to make sure that shell_exec is available, before FWP attempts to make use of it.
180 -
181 -= 2016.1213 =
182 -
183 -* WORDPRESS BACKWARD COMPATIBILITY FOR VERSIONS [4.5, 4.7]: This change fixes a fatal PHP error (on some web server configurations you'd see the message "Fatal error: require_once(): Failed opening required '[...]/wp-includes/class-wp-feed-cache.php'" on others, you might just see an HTTP 500 Internal Server Error or a blank page) when using FeedWordPress with versions of WordPress before 4.7. A change that I introduced to avoid a code module that had been deprecated in version 4.7 ended up relying on code modules that were only introduced as of version 4.7; so now, instead, FeedWordPress attempts to detect which modules the current version of the WordPress core makes available, and load the right modules depending on your WordPress version.
184 -
185 - In theory, up to this point, FeedWordPress supported any version of WordPress from version 3.0 onward. In practice, version 3.0 was released over 6 years ago, and I can realistically commit only to testing out new releases of FeedWordPress with a few prior versions of WordPress; so I've updated the "Requires at least" field to version 4.5, the first major release issued in 2016. If you've really got to use FeedWordPress with older versions of WordPress, it will probably still work with any moderately modern release of WordPress, but I won't promise to keep it working with releases of WordPress that are more than about a year old.
186 -
187 -= 2016.1211 =
188 -
189 -* WORDPRESS COMPATIBILITY: Tested with new versions of WordPress up to 4.7.
190 -
191 -* PHP WARNINGS UNDER WP 4.7: Eliminated cause of a PHP warning under WP 4.7 "Parameter 1 to FeedWordPressHTTPAuthenticator::set_auth_options expected to be reference" Warnings were due to a change in how http_api_curl hook is sometimes called in WP 4.7; so I changed the signature of the event handling method to avoid the notice. Props to @cogdog, @froomkin, @gwynethllewelyn et al. for flagging the issue and @garymarkfuller for suggesting a preliminary fix to the issue that was fairly similar to the solution I ended up adopting.
192 -
193 -* PHP 7 and PHP Strict Standards compatibility changes: @alexiskulash @daidais and @zoul0813 all sent pull requests through Github to fix some issues from a very old code base that has made its way from PHP 3.x through 5.x to the roll-out of PHP 7. Class methods should now fare better under modern versions of PHP and generate fewer "Deprecated" notices.
194 -
195 -* IMPROVEMENTS TO SCHEDULED AND AUTOMATIC UPDATES: use wp_loaded hook to check for magic URL parameters and to execute updates, to do pageload-based automatic updates, etc. Ensures that anything plugins or themes need to do in init to set up custom post types, taxonomies, etc. will be done before the update_feedwordpress updates are attempted. If you saw posts not getting put into the correct custom post type or custom taxonomies or similar problems when performing scheduled updates, but the problem seemed to go away when you manually performed updates through the wp-admin interface, then you might be able to solve those problems with this update.
196 -
197 -= 2016.0420 =
198 -
199 -* WORDPRESS COMPATIBILITY: Tested with new versions of WordPress up to 4.5.
200 -
201 -* FILTERS AND ADD-ONS: Allow filters and add-ons to filter terms and taxonomy (categories, tags, custom taxonomies, etc.) more thoroughly and more fine-grainedly using syndicated_post_terms_match, syndicated_post_terms_match_{taxonomy}, syndicated_post_terms_unfamiliar, syndicated_post_terms_mapping, syndicated_item_feed_terms, and syndicated_item_preset_terms filters.
202 -
203 -* FILTERS AND ADD-ONS: Globals $fwp_channel and $fwp_feedmeta REMOVED. These global variables, originally introduced to allow filters access to information about the source feed in `syndicated_item` filters were deprecated 6+ years ago. If you have any filters or add-ons which still depend on these global variables, you've been using obsolete techniques and you should see about fixing them to access data about the source feed using the SyndicatedPost::link element instead. For documentation, see the FeedWordPress documentation wiki at <http://feedwordpress.radgeek.com/wiki/syndicatedpost> and <http://feedwordpress.radgeek.com/wiki/syndicatedlink>.
204 -
205 -* BUGFIX: Syndication > Diagnostics HTTP diagnostic test widget was broken due to a dumb error on my part. Now fixed.
206 -
207 -* SMALL CODING CHANGES: Lots of small changes to code organization, incorporation of some PHP 5.x coding conventions, etc.
208 -
209 -= 2015.0514 =
210 -
211 -* IMPORTANT SECURITY UPDATE: This version includes two important fixes for potential security vulnerabilities reported to me through support channels.
212 -
213 - The first is a common problem across several plugins due to an ambiguity in the WordPress documentation and a change in the behavior of WordPress's built-in add_query_arg() and remove_query_arg() functions which could, under certain low-probability conditions, allow for potential XSS attack vectors. This fixes issue # 39 reported at <https://github.com/radgeek/feedwordpress/issues/39> Thanks to github.com/quassy
214 -
215 - The second fixes a security vulnerability that was reported to me privately (thanks to Adrián M. F.) which, under other low-probability conditions, could allow for SQL insertion attacks by a malicious user with access to login credentials, which would compromise data security.
216 -
217 - It is *IMPORTANT* and worth your while to upgrade FeedWordPress as soon as possible in order to eliminate these vulnerabilities. If you have any questions or if there is something blocking you from making the upgrade which you need my help with, don't hesitate to get in touch.
218 -
219 -* ADMIN UI BUGFIX: "Update Now" button in feeds setting pages should now work once again instead of causing a PHP fatal error. See <https://github.com/radgeek/feedwordpress/issues/46>
220 -
221 -* SEVERAL OTHER SMALL BUG FIXES. See <https://github.com/radgeek/feedwordpress/issues/32> <https://github.com/radgeek/feedwordpress/issues/30> <https://github.com/radgeek/feedwordpress/issues/29> etc.
222 -
223 -= 2014.0805 =
224 -
225 -* FILTERS AND ADD-ONS: A number of new hooks for filters and add-ons to further customize the behavior of FWP have been added.
226 -
227 -* COMPATIBILITY/BUGFIX: Many users saw odd characters, especially "n," appearing in posts in versions of WordPress from 3.6 on, due to a change in when the API expects HTML data for posts to be slashed and when it does not. This has been fixed, so that the junk characters should no longer appear, regardless of your version of WordPress.
228 -
229 -* BUGFIX: A bug preventing FWP from saving categories assigned under Syndication > Categories & Tags has been fixed.
230 -
231 -* BUGFIX: Post-editing related metaboxes should now show up when you edit items of any post type, including custom types, not only normal WordPress posts.
232 -
233 -* BUGFIX: A bug in the admin UI that caused the "Alternative Feeds" / "Find Feeds" box to throw a permissions error has been fixed.
234 -
235 -* BUGFIX: A bug preventing proper mapping of categories and other terms in 2013.0504 has been fixed.
236 -
237 -* BUGFIX: A number of small fixes contributed through Github by Flynsarmy should eliminate PHP warnings for many users on several methods that are called as static methods within FeedWordPress.
238 -
239 -= 2013.0504 =
240 -
241 -* BUGFIX: PHP 5.4 compatibility -- includes some more extensive fixes to compatibility issues with PHP 5.4's handling of global variables
242 -
243 -* DIAGNOSTICS: New diagnostics settings added to help track behavior of terms (categories, post tags, etc.) for syndicated posts.
244 -
245 -= 2012.0504 =
246 -
247 -* MODULE REORGANIZATION: Should ensure that all needed submodules will be properly included regardless of whether you are installing from github, from SVN, or from the WordPress plugins page. If you've been getting fatal errors about required modules not being found, this release should hopefully resolve the issue.
248 -
249 -= 2012.0503 =
250 -
251 -* BUGFIX: Works properly again with WordPress installations that use a MySQL table name prefix other than the default `wp_` prefix.
252 -
253 -* BUGFIX: Includes a couple of significant PHP 5.4 compatibility fixes. Now that PHP 5.4 is more widely deployed, Diagnostics will now also show PHP version and some other potentially useful troubleshooting information.
254 -
255 -* ADMIN UI: Better indicates your options when deleting a syndicated post so as to let you know whether it will be Trashed (and thus not resyndicated) or Erased (and thus potentially resyndicated)
256 -
257 -* ADMIN UI: Adds an AJAXy Test Expression button to allow live testing of sample results from expressions in Custom Post Settings.
258 -
259 -= 2012.1218 =
260 -
261 -* WORDPRESS VISUAL EDITOR FIXED. There was an unlisted change in the 2012.1212 release which had the effect of disabling the WordPress Visual Editor for all posts syndicated by FeedWordPress. Many users reported this as a bug. It was actually a deliberate decision -- a crappy way to try to deal with a crappy situation. (Many users had previously reported a "bug" in which all the paragraph or line breaks seemed to be stripped out of their syndicated posts; the issue turned out to be that the Visual Editor was stripping out `<p>` and `<br/>` tags on the assumption that the resulting post would be sent through standard WordPress formatting filters. But under default settings, posts syndicated by FWP deliberately bypass WordPress formatting filters.) In any case, this version adopts a more flexible compromise. *If* FeedWordPress is set up to bypass WordPress formatting filters (as it is by default), *then* the Visual Editor will be disabled for syndicated posts (since using it would produce incorrect results). If on the other hand FeedWordPress is set up to expose syndicated posts to WordPress formatting filters (as it usually is for those using the Visual Editor to manually edit posts), then the Visual Editor tab will be re-enabled for syndicated posts.
262 -
263 -* BUG FIX: PERMALINKS REWRITTEN FOR CUSTOM POST TYPES AS WELL AS NORMAL
264 - WORDPRESS POSTS. If you had WordPress set up to syndicate incoming posts
265 - to a custom post type (under Syndication > Posts & Links), and asked
266 - FeedWordPress to make "permalinks point to the original site", then
267 - previous versions of FeedWordPress would fail to do the rewriting --
268 - permalinks would only be rewritten to point to the original source for
269 - normal WordPress posts, not for custom post types. In 2012.1218 this bug
270 - has been fixed: all post types will now have permalinks rewritten unless
271 - you request for permalinks to point to the local copy on your aggregator
272 - site.
273 -
274 -* BUG FIX: ELIMINATES "PHP Fatal error: Call to a member function
275 - setting() on a non-object...." Some changes to the in-memory caching of
276 - information about feed subscriptions could result in a fatal PHP error
277 - in cases where you have de-activated one of your subscriptions, but
278 - posts from that subscription were still in the archive. This would
279 - normally show up through half-completed feeds or half-completed pages
280 - that suddenly broke off in the middle, and displayed or logged an error
281 - message like: "PHP Fatal error: Call to a member function setting() on a
282 - non-object in {...}/wp-content/plugins/feedwordpress/feedwordpress.php
283 - on line 615". This bug has been eliminated, so affected feeds and pages
284 - should now render correctly, and the error message should no longer
285 - appear.
286 -
287 -* BUG FIX: CATEGORY BOXES IN SYNDICATION > CATEGORIES & TAGS. Some minor
288 - bugs in the appearance and animation of category checkboxes (for
289 - example, the checkbox used to select categories for syndicated posts on
290 - the Syndication > Categories & Tags settings page) have been fixed.
291 -
292 -= 2012.1212 =
293 -
294 -* WORDPRESS 3.5 COMPATIBILITY: This release has been tested for compatibility
295 - with new releases of WordPress, up to version 3.5, and any documented
296 - compatibility issues have been cleared -- in particular, if you were seeing
297 - error pages stating that you don't have permission to access the
298 - FeedWordPress Syndication page within the WordPress admin interface, then
299 - upgrading to this release should fix the problem.
300 -
301 - As always, if you encounter any compatibility problems after upgrading your
302 - version of WordPress and your version of FeedWordPress to the most recent
303 - versions, please contact me with as detailed a description as possible of
304 - the issue you are encountering, the circumstances you're encountering it
305 - under, what you expect to see happening, and what is happening instead.
306 -
307 -* PHP 5.4 COMPATIBILITY: This release has been audited to fix potential
308 - problems with deprecation notices or fatal errors under recent versions
309 - of PHP. In particular, all uses of run-time pass-by-reference have been
310 - eliminated from the code; if you were seeing a fatal error reading
311 - "Call-time pass-by-reference has been removed ..." then upgrading to
312 - this release should fix the problem.
313 -
314 -* CUSTOMIZATION FRAMEWORK: A great deal of work has been done to make the
315 - underlying framework more flexible, so that PHP add-ons can be written
316 - to adapt FeedWordPress to handle custom XML vocabularies, expiration of
317 - posts under specified conditions, and other custom behavior.
318 -
319 -* BUGFIX: MANUALLY EDITED POST SLUGS NOT OVERWRITTEN. Thanks to a report
320 - by Chris Fritz, I've identified some code that causes post slugs for the
321 - posts generated by FWP to be rewritten with every update, even if the
322 - user has manually updated the slug from within the WordPress editing
323 - interface. This has been fixed: FWP will continue to generate new slugs
324 - for syndicated posts, but when syndicated posts are updated, they will
325 - retain the slug that they had at the time of the update; any manual
326 - changes to the post slug should be preserved.
327 -
328 -* USER-AGENT STRING: FeedWordPress now sends a distinctive User-Agent
329 - string identifying itself, and noting that it is a feed aggregator.
330 -
331 -* MISCELLANEOUS PERFORMANCE IMPROVEMENTS: A number of changes have been
332 - made to try to reduce the intensity and expense in terms of both
333 - database performance and web server memory consumption.
334 -
335 -* DIAGNOSTICS IMPROVEMENTS: A number of new and improved diagnostics have
336 - been added which should aid in understanding and troubleshooting issues
337 - that may arise.
338 -
339 -= 2011.1019 =
340 -
341 -* BUGFIX: "THERE ARE NO HTTP TRANSPORTS AVAILABLE" ERROR FIXED: The initial
342 - support for HTTP Basic and Digest authentication in version 2011.1018
343 - contained a bug that could cause HTTP requests for feeds or for other
344 - WordPress resources to break down if you do not have the PHP curl module
345 - installed. This bug has been fixed, and these errors should no longer
346 - appear.
347 -
348 -* IMPROVED HTTP AUTHENTICATION SUPPORT: In addition, the HTTP Authentication
349 - support in FeedWordPress has been extended, to ensure that Basic
350 - authentication is available in many web host configurations, and to allow
351 - you to add a username and password for a feed immediately when you
352 - subscribe to it.
353 -
354 -= 2011.1018 =
355 -
356 -* HTTP BASIC AND DIGEST AUTHENTICATION SUPPORT: FeedWordPress now offers
357 - improved support for syndicating feeds that make use of HTTP Basic or HTTP
358 - Digest authentication methods. In order to set up authentication on one of
359 - your feeds, just go to its Settings > Feed page, and click on the "Uses
360 - Username/Password" link underneath the Feed URL. Enter the username and
361 - password for accessing the feed, then select the authentication method. (If
362 - you're not sure which method your feed provider uses, try Basic first.)
363 - Save Changes, and syndicate away.
364 -
365 - NOTE: HTTP Digest support requires the curl module for PHP. If you are not
366 - sure whether this module has been installed, contact your web hosting
367 - provider to check.
368 -
369 -* WP 3.3 (BETA) COMPATIBILITY: This version fixes an init-sequence bug that
370 - could cause intrusive warning messages or fatal errors in WP 3.3 beta
371 - versions.
372 -
373 -* BUGFIX: FIXES LONG DELAYS IN UPDATES SCHEDULES IN LARGE INSTALLATIONS. A
374 - performance feature introduced in version 2011.0721 had some flaws in its
375 - implementation, which tended to create serious delays (on the order of
376 - several hours) in FeedWordPress's attempts to schedule updates for feeds,
377 - when users had a very large number of feeds (several dozen or more) in their
378 - FeedWordPress installation. This feature has been reconfigured to adjust
379 - dynamically to the number of feeds in Syndicated Sources and the frequency
380 - with which they are updated. If you've seen a lot of ready-to-update feeds
381 - piling up, several hours after they were supposed to get updated, then this
382 - upgrade should better ensure that your feeds get updated in a timely fashion.
383 -
384 -* BUGFIX: syndicated_item_guid FILTERS FIXED. Previous versions of
385 - FeedWordPress theoretically allowed for filters on the syndicated_item_guid
386 - hook, which was intended to filter the globally-unique identifier element
387 - (rss:guid or atom:id) -- useful if you need to convince FeedWordPress to use
388 - different guids, or to recognize two or more incoming posts as versions of
389 - the same post rather than as distinct items. However, while the hook
390 - affected the guid stored in the WordPress database, it did not affect the
391 - guid used to check whether an incoming feed item had already been syndicated
392 - or was a new item -- which greatly limited the practical usefulness of the
393 - filter. This bug has been fixed: syndicated_item_guid filters should now
394 - properly control not only the final database record, but also the initial
395 - uniqueness test applied to posts.
396 -
397 -= 2011.0721 =
398 -
399 -* BUGFIX: SERIOUS BUG CAUSING RARE UNEXPECTED DELETION OF PAGES AND OTHER
400 - CONTENT. A bug in the guid-checking code for some rare kinds of guids could
401 - cause content in the wp_posts table to seemingly disappear at random after
402 - FeedWordPress updates.This most frequently but not exclusively affected
403 - static pages. What actually happened is that in these rare cases the
404 - existing static page was mistaken for an older version of the new incoming
405 - syndicated post, which was then stored as a new revision of the original
406 - page. The bug that caused these mistaken identities has been fixed.
407 -
408 -* BUGFIX: UNWANTED AUTOMATIC PAGE-LOAD-BASED UPDATES NO LONGER A NUISANCE.
409 - Some users encountered a bug in which FeedWordPress would adopt an automatic
410 - page-load-based update method, even if they had requested that it not do
411 - so, and that it use a manual or cron job update method instead. The bug
412 - causing this has been fixed, and page-load-based updates should no longer
413 - trigger unless explicitly turned on.
414 -
415 -* WP 3.2 USER INTERFACE COMPATIBILITY: POST TAGS BOX NOW WORKS AGAIN. The
416 - release of WordPress 3.2 caused a breakage in the tags box which prevented
417 - you from adding or removing tags under Syndication --> Categories & Tags.
418 - (The breakage was the result of an incompatibility introduced by the new
419 - release of jQuery.) This breakage has now been fixed, and the tags box
420 - should work correctly again.
421 -
422 -* FEED UPDATE SCHEDULING IMPROVEMENTS: UI. The Syndicated Sources table now
423 - provides considerably more data to understand update scheduling, when
424 - specific scheduling decisions are made because of, e.g., requests from the
425 - feed producer.
426 -
427 -* FEED UPDATE SCHEDULING IMPROVEMENTS: ENFORCEABLE "MINIMUM INTERVAL" SETTING
428 - TO SPACE OUT UPDATES. Some feeds request specific update schedules, using
429 - standard elements such as sy:updateFrequency and rss:ttl. Normally,
430 - FeedWordPress respects any scheduling requests that a feed makes -- if it
431 - requests a longer gap between polls than what FWP would normally adopt, then
432 - FWP slows down to meet the request. If it indicates a shorter gap than what
433 - FWP would normally adopt, FWP speeds up and checks that feed for updates
434 - more often than it normally would. Now, there should not be any way for user
435 - settings to override an explicit slow-down request from the feed producer --
436 - if producers indicate a particular update schedule, then polling the feed
437 - more frequently than they request is considered abusive behavior. But
438 - there's no reason why users should not be able -- if they so desire -- to
439 - override speed-up requests, and poll a feed *less* frequently than the
440 - indicated update schedule, if the FWP user wants to space update checkins
441 - over a longer interval of time. Before, they could not do this: FWP always
442 - sped up to meet the indicated update schedule. Now, they can do this, by
443 - using the new "Minimum Interval" setting in Syndication --> Feeds &
444 - Updates..
445 -
446 -= 2011.0706 =
447 -
448 -* WP 3.2 COMPATIBILITY: ELIMINATES FATAL ERROR "Call to undefined method
449 - WP_SimplePie_File::WP_SimplePie_File() in
450 - [...]/wp-content/plugins/feedwordpress/feedwordpress.php on line 1841." The
451 - latest release of WordPress, version 3.2, has shifted the minimum
452 - requirements up to PHP 5.2, and in line with the shift to PHP5 they have
453 - rewritten a number of code segments that made use of now-obsolete PHP4
454 - idioms. Unfortunately, this caused a fatal error whenever FeedWordPress
455 - attempted to make use of the cache, since FWP's caching plugin was written
456 - to match the older idiom. FeedWordPress has been updated to follow the new,
457 - PHP5 idiom when possible, thus eliminating the fatal error.
458 -
459 -* PERFORMANCE: The handling of queries to determine whether posts had been
460 - previously syndicated produced some very slow queries (usually, but not
461 - always, involving a scan over the MD5(post_guid) column of the table). The
462 - code that prepares MySQL queries for previously-syndicated checks has been
463 - revised to eliminate the MD5(post_guid) scan entirely, and to significantly
464 - improve performance by eliminating other unnecessary clauses.
465 -
466 -* BUGFIX: NO LONGER DESTROYS STICKY POSTS. Previous versions could destroy
467 - (or, more precisely, replace the content of) sticky posts due to some
468 - queries mashed together in unexpected ways by WordPress. Version 2011.0706
469 - accounts for and eliminates the problem; your sticky posts should be safe
470 - once again.
471 -
472 -* BUGFIX: GUIDS CONTAINING MYSQL-ESCAPED CHARACTERS NO LONGER CAUSE DUPLICATE
473 - POSTS TO APPEAR. One remaining source of duplicate post issues in 2011.0602
474 - was guids that contained characters that needed to be escaped for MySQL,
475 - such as single quotes and double quotes. The work-around for handling
476 - filtered URIs has now been corrected to ensure that these do not cause
477 - duplicate posts.
478 -
479 -= 2011.0602 =
480 -
481 -* WP 3.1.3 COMPAT / BUGFIX: WHITESPACE IN GUIDS NO LONGER PRODUCES DUPLICATE
482 - POSTS. The work-around for handling filtered URIs in guid elements has now
483 - been extended to handle URIs that were filtered because of leading or
484 - trailing whitespace, in addition to URIs that were filtered because of
485 - unapproved schemes.
486 -
487 -* WP 3.1.3 COMPAT / BUGFIX: RELATIVE URLS IN GUIDS NO LONGER PRODUCE DUPLICATE
488 - POSTS. The work-around for handling filtered URIs in guid elements has now
489 - been extended to handle URIs that were altered without being filtered out
490 - entirely (most commonly because a scheme was added to a relative URL).
491 -
492 -* BUGFIX: UPDATES TO POST NO LONGER CAUSE DUPLICATE DRAFT VERSION TO APPEAR.
493 - Under certain conditions in 2011.0531, an update to an existing post would
494 - not be properly applied to the post itself, but rather would appear as a
495 - duplicate post with Draft status. This bug has been eliminated, and updates
496 - will now be properly inserted as revisions to the existing post.
497 -
498 -= 2011.0531 =
499 -
500 -* WORDPRESS 3.1.3 COMPATIBILITY: DUPLICATE POSTS ISSUE FIXED. Due to
501 - internal changes in the way that WordPress handles post guids in the
502 - most recent release (3.1.3), many users experienced problems with many
503 - duplicate posts appearing in rapid succession. (Specifically, this would
504 - happen with any posts using tag: URL guids -- such as all the posts
505 - coming from Blogger feeds or feeds from other Google services.) This
506 - compatibility release of FeedWordPress eliminates the issue by working
507 - around the new restrictions on tag: URLs.
508 -
509 -* NEW AND IMPROVED DIAGNOSTICS: Syndication --> Diagnostics now contains some
510 - new diagnostics settings useful for debugging problems with duplicate posts
511 - (allowing you to easily view the guid of posts in the WordPress posts
512 - database and allowing you to track the SQL used to check for existing
513 - versions of a syndicated post).
514 -
515 -= 2011.0512 =
516 -
517 -* DIAGNOSTICS IMPROVEMENTS; "THERE MAY BE A BUG IN FEEDWORDPRESS" CRITICAL
518 - ERROR NOTICES ELIMINATED: This version includes some major improvements
519 - to the Syndication --> Diagnostics section, which should aid in
520 - troubleshooting difficulties with items failing to be imported, posts
521 - failing to be properly inserted into the database, or updates failing to
522 - be recorded. If you have been encountering critical error / bug notices
523 - with a white screen and the message "THERE MAY BE A BUG IN
524 - FEEDWORDPRESS," followed by an extraordinarily long dump of mostly
525 - incomprehensible diagnostic information, you'll be happy to know that
526 - the condition causing these notices has been eliminated. In the few
527 - cases where errors may still crop up with database insertions,
528 - FeedWordPress will now produce a significantly more manageable and more
529 - useful diagnostic message.
530 -
531 -* BUGFIX: NEW POSTS FAILING TO APPEAR IN A CLEANLY-INSTALLED FEEDWORDPRESS
532 - SYSTEM. If you encountered a recurring problem with FeedWordPress
533 - failing to import new posts, after a clean install of FeedWordPress
534 - (i.e., not an upgrade from a previous version), this problem may have
535 - been the result of a bug with author-handling which has now been fixed
536 - in the 2011.0512 release. (If the problem does *not* go away with the
537 - upgrade, this version also includes significant improvements to the
538 - Diagnostics system, which will help track down what *is* causing it
539 - in your particular case.)
540 -
541 -* PERFORMANCE: New handling of update hashes allows FeedWordPress to avoid
542 - a certain kind of infinite loop, caused when two more more different
543 - syndicated feeds each carried a version of the same item (for example,
544 - because it appeared on two different aggregator feeds that you're
545 - syndicating). In previous versions, when this kind of loop cropped up,
546 - syndicated posts could pile up an indefinitely large number of revisions
547 - -- each revision alternating between the version from each of the two
548 - feeds where it appeared -- which would, over time, dramatically inflate
549 - the size of the database, and kill the performance of queries on the
550 - post table. This issue has been resolved: revisions of the post that
551 - have been syndicated once will not be re-syndicated over and over again.
552 -
553 -* AUTHOR LISTS: Lists of authors presented on the Author settings pages
554 - should now be easier to scan through, with author names arranged in
555 - alphabetical order.
556 -
557 -* FEED ITEM DATE PARSING: More tweaks to make date-time handling more
558 - resilient when feeds provide broken or weird values for the timestamps
559 - on syndicated items. FWP will now attempt to work around unparseable
560 - timezone values.
561 -
562 -* AUTHOR MATCHING: Now attempts to match author names against the WP login
563 - name in addition to display_name; when creating user record, also fills
564 - in some best-guess values for nickname, firstname and lastname. Also
565 - properly picks up Atom 1.0 author/uri data from feed.
566 -
567 -* COMPATIBILITY: FeedWordPress has been successfully tested for
568 - compatibility with recent releases of WordPress, up to version 3.1.2.
569 -
570 -= 2011.0211 =
571 -
572 -* BUGFIX: DUPLICATE POSTS WHEN GUIDS ARE TOO LONG: When feeds included
573 - exceptionally long GUIDs, FeedWordPress could occasionally get into
574 - a situation where posts with the long GUIDs would be duplicated over
575 - and over again with each update (because FWP failed to store the full
576 - GUID, due to length constraints in the relevant database tables).
577 - Without the full GUID, FWP would not know that the post had already
578 - been syndicated once. This bug has been fixed, and should no longer
579 - produce duplicate posts.
580 -
581 -* HTTP TIMEOUT SETTING: If you are frequently running into timeout
582 - problems with one or more of the feeds you syndicate, FWP now allows you
583 - to adjust the timeout for HTTP requests using a global or feed-by-feed
584 - setting.
585 -
586 -* HTTP GET PARAMETERS: You can now temporarily or permanently add HTTP
587 - GET parameters to a subscription using an interface in Syndication -->
588 - Feeds & Updates. This is especially helpful for making quick, short-term
589 - changes to a subscription (for example, to pull in all the previous
590 - items from a web service, before settling down to pulling in only newly
591 - updated items).
592 -
593 -* DIAGNOSTICS SYSTEM: Added several new diagnostics which are useful in
594 - troubleshooting, and established a framework for add-on modules to hook
595 - in with their own diagnostic messages.
596 -
597 -* UI: Adjusted some internal coding, which should allow for settings
598 - pages and add-ons to properly display multiple category pickers on a
599 - single settings page.
600 -
601 -* PHP4 COMPATIBILITY TWEAKS: This version makes some tweaks to the handling
602 - of object references which should improve compatibility with older
603 - versions of PHP. (Although, I should note, web hosts that still force
604 - you to run under PHP 4 -- in 2011! -- are *bad web hosts*.)
605 -
606 -* IMPROVED PERFORMANCE: This version eliminates a *major* performance drag
607 - that shows up on sites with large numbers of users (due to some poor
608 - decisions about where to place a user query, which caused the user table
609 - to be scanned frequently when it did not need to be). If you experienced
610 - serious problems with CPU load or slow database performance under
611 - 2010.0905, which kicked in immediately when FWP was loaded and tended
612 - to disappear immediately if FWP was de-activated, it is likely that
613 - upgrading away from 2010.0905 to the most recent version will resolve
614 - your problem.
615 -
616 -
617 -= 2010.0905 =
618 -
619 -* BUGFIX: CATEGORIES AND TAGS CORRECTLY ASSIGNED IN AUTOMATIC UPDATES.
620 - Version 2010.0903 switched over to a new way of assigning categories and
621 - tags as part of its support for handling custom taxonomies.
622 - Unfortunately, the method that it uses is subjected to some checks of
623 - the current user's capabilities, which creates problems for posts that
624 - are being inserted into the WordPress database when there *is* no
625 - current user logged in (as, for example, when an update is being carried
626 - out from a cron job or automatic update). The result was that posts
627 - from cron jobs and automatic updates ended up with no Categories and no
628 - Tags being assigned. This bug has now been fixed: in 2010.0905, Tags and
629 - Categories should be correctly assigned to all posts, regardless of
630 - whether they were added from manual updates, cron jobs, or automatic
631 - updates.
632 -
633 -= 2010.0903 =
634 -
635 -* WORDPRESS 3 REQUIRED: Please note that this release of FeedWordPress
636 - *requires* WordPress 3.0 or later. If you are currently using a 2.x
637 - branch of WordPress, you will need to upgrade to WordPress 3 before you
638 - can successfully upgrade FeedWordPress.
639 -
640 -* BUGFIX: NO MORE DISAPPEARING "SYNDICATED SOURCES" PANEL; INTERNET
641 - EXPLORER UI GLITCH APPARENTLY FIXED: Several users independently
642 - reported a problem with FWP 2010.0623 and various versions of IE. A
643 - problem with the HTML markup caused IE (but not Firefox or
644 - Chrome) to completely hide the Syndicated Sources administration panel
645 - (the main list of currently-syndicated sources, and the main location
646 - for adding new sources, under the Syndication menu item) when a user
647 - added their first syndicated feed. Maddeningly, the glitch seemed to
648 - affect some IE users and not others: I was never able to reproduce the
649 - problem for myself on my own machines. However, the markup of Syndicated
650 - Sources has undergone significant changes and corrections since
651 - 2010.0623, and two independent sources who had been having this problem
652 - confirm that they no longer encounter it with the updated version. For
653 - the time being, I am going to declare this bug squashed.
654 -
655 -* BUGFIX: MORE PROTECTION AGAINST FATAL ERRORS FROM PLUGGABLE VERSIONS OF
656 - SimplePie: FeedWordPress now takes some precautions that should help to
657 - better avoid conflicts for users who have installed pluggable versions
658 - of SimplePie for another plugin or theme. (You may not know that you have
659 - done this; but if you've been encountering fatal errors indicating that
660 - you cannot redeclare class SimplePie, or something along those lines,
661 - there is now a better chance that those fatal errors will be eliminated.
662 -
663 -* PERFORMANCE: SIGNIFICANTLY REDUCED MEMORY CONSUMPTION FOR LARGE UPDATES:
664 - FeedWordPress is still a memory-hungry little module, especially when
665 - you are dealing with very large feeds. However, users should notice a
666 - significant reduction in memory overloads, especially if they update a
667 - large number of feeds at once.
668 -
669 -* USER INTERFACE IMPROVEMENTS: Nothing is radically different, but there's
670 - been a fair amount of extra spit and polish added, including a convenient
671 - new Dashboard widget that may save you a trip to the Syndication menu,
672 - a lot of effort to make the relationship between global and feed-by-feed
673 - settings more obvious to the user and more easily controllable, to make
674 - navigation between settings pages easier, to sand off a few rough edges,
675 - and to make other improvements on the margins. I hope you'll like how
676 - it looks.
677 -
678 -* ADDING MULTIPLE FEEDS: FeedWordPress now provides a convenient mode for
679 - adding multiple feeds at once, using either a copy-and-pasted list, or
680 - else an OPML file. Go to Syndication --> Syndicated Sources and check
681 - out the two new buttons underneath the New Source input box. When you
682 - have to add a number of feeds at once, this can save you considerable
683 - time and trouble.
684 -
685 -* IMPROVED HANDLING OF AUTHORS WITH DUPLICATE E-MAIL ADDRESS AND AUTHORS
686 - WITH NAMES WRITTEN IN FOREIGN SCRIPTS: WordPress 3 is increasingly picky
687 - about what it will accept for new author accounts, and some of the
688 - conditions it imposes can cause error conditions that prevent posts from
689 - being properly syndicated, or properly attributed, if authors happen to
690 - have identical e-mail addresses, or if users are given usernames that are
691 - written in non-Western scripts. FeedWordPress now handles these much
692 - better, and systematically works to avoid clashes between syndicated
693 - authors' account names or in their e-mail addresses, which should result
694 - in significantly better results in mapping author names to WordPress
695 - user accounts.
696 -
697 -* MAPPING CATEGORIES ON SYNDICATED POSTS TO TAGS NOW BETTER SUPPORTED:
698 - In previous versions, the only way for the Categories provided by a
699 - syndicated feed to be mapped into Post Tags was to instruct FWP to
700 - create new tags, rather than new categories, for unfamiliar categories
701 - from the feed. This works fine if you want tags to be the default; but
702 - if you want only a *specific* set of tags, there was no way to get them
703 - without getting most or all other categories imported as tags. You can
704 - now do this by creating a tag (under Posts ==> Post Tags) before
705 - importing the post; when the syndicated category matches a pre-existing
706 - tag, the incoming post will be tagged with that tag, without creating
707 - a local Post Category.
708 -
709 -* REL-TAG MICROFORMAT SUPPORT FOR INLINE TAGS: Syndicated posts that
710 - contain inline tags, marked up using the Rel-Tag microformat
711 - <http://microformats.org/wiki/rel-tag>, are now tagged with the tags
712 - provided by Rel-Tag format links.
713 -
714 -* MUCH GREATER CONTROL OVER CATEGORY AND TAG MAPPING: This is partly the
715 - result of building in support for a potentially endless set of custom
716 - taxonomies (see below), but in general there has been a great deal of
717 - effort towards giving you more control over how categories and tags
718 - provided by the feed are mapped into terms on the local blog. In
719 - particular, you can now force FeedWordPress to create only categories
720 - from categories and tags provided by the feed; or to create only tags;
721 - or to search both categories and tags for a match; or you can simply
722 - force it to drop all of the categories provided by the feed and use
723 - only categories or tags that you explicitly provide. In addition, you
724 - can now also choose whether to override global categories settings with
725 - a local, feed-specific setting; or whether to *add together* *both* the
726 - global categories and the local feed-specific categories -- depending
727 - on whatever your use-case may demand.
728 -
729 -* CUSTOM POST TYPES AND TAXONOMY SUPPORTS: This is mainly for the
730 - super-geeky, but if you use other plugins or themes that make
731 - significant use of WordPress's support for custom post types and custom
732 - taxonomies, you may be pleased to find that FeedWordPress now allows you
733 - to feed incoming posts into any custom feed type that you wish, and to
734 - map categories and tags from the feed to custom taxonomies as well as
735 - to the standard Category and Tag taxonomies.
736 -
737 -* STORING NAMESPACED CUSTOM FEED ELEMENTS IN POST CUSTOM FIELDS: If you
738 - would like to use FeedWordPress's support for storing custom meta-data
739 - from feed elements in the custom fields for a post (for example, to
740 - store geolocation data or iTunes media meta-data), you'll find that it's
741 - now much easier for you to access these namespaced elements. You always
742 - could access them, but in previous versions you might have to write
743 - something ugly like $(/{http://www.w3.org/2003/01/geo/wgs84_pos#}lat)
744 - just to get at the value of a `<geo:lat>` tag. Now, as long as you use
745 - the same mnemonic codes that the feed producer used, you should always
746 - be able to write a nice, simple expression like $(/geo:lat) to get the
747 - value of a <geo:lat> tag.
748 -
749 -* CUSTOM DIRECTORY STRUCTURE SUPPORT: if you poke at it enough, WordPress
750 - is relatively flexible about where it should store admin interface code,
751 - uploaded content, plugins, and a number of other things that occupy an
752 - important place in the WordPress directory structure. Previous versions
753 - of FeedWordPress encountered serious errors or broke entirely when used
754 - with directory structures other than the default. This should now be
755 - fixed: FWP now supports custom directory structures wherever WordPress
756 - allows them to be customized, rather than depending on the default
757 - locations. Enjoy your freedom!
758 -
759 -* MANY NEW FILTERS AND API UTILITY FUNCTIONS FOR ADD-ON PROGRAMMERS: There
760 - have been too many improvements to list them all in this ChangeLog, but
761 - it means that much more power and ease for folks who are customizing
762 - FeedWordPress through PHP filters or add-on modules. Fuller
763 - documentation will be put up at the Wiki at feedwordpress.radgeek.org
764 - soon.
765 -
766 -= 2010.0623 =
767 -
768 -* WORDPRESS 3.0 COMPATIBILITY / AUTHOR MAPPING INTERFACE ISSUES: I
769 - resolved a couple of outstanding issues with the author mapping
770 - interface (Syndication --> Authors), which were preventing new users
771 - from being created correctly and author mapping rules from being set up
772 - correctly. These partly had to do with new restrictions on user account
773 - creation introduced in WordPress 3.0; anyway, they should now be fixed.
774 -
775 -* MORE EFFICIENT SYNDICATED URL LOOKUPS: Several users noticed that the
776 - bug fix introduced in 2010.0528 for compatibility with post-listing
777 - plugins caused a lot more queries to the database in order to look up
778 - numerical post IDs from the URL provided to the filter. This shouldn't
779 - cause any major problems, but it is not as efficient as it could be; the
780 - code now takes advantage of a more efficient way of doing things,
781 - which usually will not require any additional database queries.
782 -
783 -* SIMPLEPIE FEED UPDATE ISSUES: If you have been having significant
784 - problems with getting feeds to update correctly, this may be the result
785 - of some bugs in the implementation of SimplePie caching that ships with
786 - WordPress (as of version 3.0). (You would most commonly experience this
787 - error if you continually saw errors such as "No feed found at <...>" in
788 - your updates.) Fortunately, SimplePie allows for a great deal of
789 - extensibility and this allows me to work around the problem; these
790 - error conditions should now be mostly eliminated when the underlying
791 - feed is valid.
792 -
793 -* UI: SHOW INACTIVE SOURCES: When you use the default unsubscribe option
794 - -- which turns off the subscription to a feed while preserving the posts
795 - from it and the syndication-related meta-data for the feed -- the
796 - unsubscribed feed can now easily be viewed in a special "Inactive"
797 - section of the Syndicated Sources page. (As a side benefit, if you've
798 - accidentally, or only temporarily, turned off the subscription to a
799 - feed, it is now much easier to restore the feed to being active, or to
800 - delete it permanently, if you prefer.
801 -
802 -* UI: FEED FINDER / SWITCH FEED INTERFACE IMPROVEMENTS: changes to styling
803 - and options for the feed finder / switch feed, which should now make it
804 - easier, in some cases, to find alternative feeds, and make interface
805 - options more clearly visible.
806 -
807 -* FILTERS: `syndicated_item_published` and `syndicated_item_updated` NOW
808 - PROPERLY AFFECT THE DATING OF POSTS. These filters used to affect some
809 - date-related settings, but not others -- and, most importantly, not the
810 - final date that is set for a post's publication or last-modified date
811 - in the WordPress database. Now, they do affect that, as they should.
812 - (Filters should receive, and return, a long integer, representing a Unix
813 - epoch relative timestamp.)
814 -
815 -* MAGIC URL TO CLEAR THE CACHE: Suppose that you need to clear the feed
816 - cache, for whatever reason; suppose, even, that you need to clear it on
817 - a regular basis. One way you might do this is by logging into the
818 - FeedWordPress administrative interface and going to Syndication -->
819 - Performance. Another way you might do it, now, is to simply send an
820 - HTTP request to a magic URL provided by FeedWordPress: if your blog is
821 - at example.com, the URL would be <http://example.com/?clear_cache=1>
822 -
823 -= 2010.0602 =
824 -
825 -* CATEGORY BOX INTERFACE ELEMENT FIXED FOR WP 3.0: Stylesheet changes
826 - between WordPress 2.9.x and the WordPress 3.0 RC caused the Categories
827 - box under **Syndication --> Categories & Tags** to malfunction. This
828 - has been fixed.
829 -
830 -* LINK CATEGORY SELECTION BOX IN SYNDICATION ==> FEEDS FIXED FOR WP 2.8
831 - AND 2.9: A WP 3.0 compatibility change introduced in 2010.0531
832 - inadvertently broke the Syndicated Link Category selector under
833 - Syndication --> Feeds & Updates in WP 2.8 and WP 2.9, causing the post
834 - categories to be displayed in the selector rather than the link
835 - categories. This should now be fixed so that the selector will work
836 - correctly under both the current versions of WordPress and the 3.0 RC.
837 -
838 -* MORE PERMISSIVE HANDLING OF FEEDS WITH BAD CONTENT-TYPE HEADERS: One of
839 - the small advantages that MagpieRSS had over SimplePie is that it was
840 - more tolerant about parsing well-formed feeds that the remote web server
841 - happened to deliver with weird or incorrect HTTP Content-type headers.
842 - In feeds affected by this problem, the new SimplePie parser would simply
843 - fail to find a feed, due to its being led astray by the contents of the
844 - Content-type header. This version includes an extension to SimplePie's
845 - content-type sniffer that offers more permissive handling of the HTTP
846 - headers.
847 -
848 -* MORE FULL-TEXT "EXCERPTS" NOW PROPERLY SHORTENED. Version 2010.0528
849 - introduced code to control for cases in which elements intended for
850 - item summaries are (ill-advisedly) used to carry the full text of posts;
851 - past versions of FeedWordPress would simply include the full text of the
852 - post in the excerpt field, but newer versions now attempt to detect
853 - this condition when it arises and to head it off, by blanking out the
854 - excerpt field and filling it with an automatically generated short,
855 - plain text excerpt from the full content. This release broadens the
856 - test conditions that indicate when an excerpt field is treated as
857 - identical to the full text of the post, and should therefore improve
858 - the handling of some feeds (such as Google Reader feeds) where the full
859 - text of each post was still appearing in the excerpt field.
860 -
861 -* FILTERS: `syndicated_item_published` AND `syndicated_item_updated`
862 - FILTERS NOW ALLOW FILTER AUTHORS TO CHANGE POST TIMESTAMPS. You can now
863 - use the `syndicated_item_published` and `syndicated_item_updated` filter
864 - hooks to write filters or add-ons which directly change the post date
865 - and most-recently-updated timestamps on incoming syndicated posts. Props
866 - to niska for pointing out where the filters needed to be applied in
867 - order to change WordPress's internal timestamps for incoming posts.
868 -
869 -= 2010.0531 =
870 -
871 -* PERMALINK / CUSTOM FIELDS PROBLEM RESOLVED: An issue in 2010.0528 caused
872 - some posts to be imported without the proper syndication-related
873 - meta-data being attached (thus causing permalinks to point back to the
874 - aggregator website rather than to the source website, among other
875 - problems). This problem has been resolved (and a fix has been applied
876 - which will resolve the problem for any posts affected by this problem,
877 - if the original post is recent enough to still be available on the feed).
878 -
879 -* UI: The "Back End" section has been split into two separate sections --
880 - "Performance" (dealing with caching, database index, and other
881 - performance tweaks), and "Diagnostics" (dealing with debug mode,
882 - update logging, and a number of new diagnostic tests which I will be
883 - rolling out over the next few releases).
884 -
885 -* Several minor interface bug fixes and PHP warning notices eliminated.
886 -
887 -= 2010.0528 =
888 -
889 -#### Compatibility ####
890 -
891 -* SIMPLEPIE IS NOW USED TO PARSE FEEDS; NO MORE MAGPIERSS UPGRADES NEEDED:
892 - One of the biggest changes in this release is that FeedWordPress no
893 - longer depends on MagpieRSS to parse feeds, and has switched to the much
894 - more up-to-date and flexible SimplePie feed parser, which is included as
895 - a standard part of WordPress versions 2.8 and later. Using SimplePie will
896 - hopefully allow for better handling of feeds going further, and will
897 - allow me greater flexibility in determining how exactly the feed parser
898 - will operate. It also means that FeedWordPress no longer requires
899 - special upgrades to the WordPress core MagpieRSS files, and should
900 - eliminate quite a bit of complexity.
901 -
902 -* MAGPIERSS COMPATIBILITY LAYER FOR EXISTING FILTERS AND ADD-ONS: However,
903 - I have also implemented a compatibility layer to ensure that existing
904 - filters and add-ons for FeedWordPress which depended on the MagpieRSS
905 - data format *should not be broken* by the switch to SimplePie. Going
906 - forward, I recommend that new filters and add-ons be written to take
907 - advantage of the SimplePie object representations of items, feeds, etc.,
908 - rather than the MagpieRSS arrays, but the MagpieRSS arrays will still
909 - be available and older filters should continue to work as they have in
910 - the past.
911 -
912 -* COMPATIBILITY WITH WORDPRESS 2.9.x and 3.0: This release has been tested
913 - for the existing WordPress 2.9.x branch and with the upcoming release of
914 - WordPress 3.0. Changes in the user interface JavaScript between WordPress
915 - 2.8.x and WordPress 2.9 caused the tag box interface element to break in
916 - the Syndication --> Categories & Tags settings page; changes in the API
917 - functions for adding new authors caused fatal errors under certain
918 - conditions in WordPress 3.0. These breakages have been fixed.
919 -
920 -* DROPPED LEGACY SUPPORT FOR WORDPRESS PRIOR TO 2.8: Because SimplePie is
921 - not included with versions of WordPress prior to 2.8, I have chosen to
922 - drop legacy support for WordPress versions 1.5 through 2.7. If you are
923 - using FeedWordPress with a version of WordPress before 2.8, you will
924 - have to upgrade your installation of WordPress in order to take
925 - advantage of this release.
926 -
927 -* PHP 5.3 COMPATIBILITY: A couple of compatibility issues, which were
928 - causing fatal errors amd ugly warnings for users of PHP 5.3,
929 - have been eliminated.
930 -
931 -#### Features and Processing ####
932 -
933 -* INTERFACE REORGANIZATION: The interface restructuring, began with
934 - Version 2009.0612, has been completed. Catch-all settings pages have
935 - been eliminated entirely for pages that cover each aspect of handling
936 - a feed: Feeds & Updates, Posts & Links, Authors, Categories & Tags,
937 - and Back End handling of the database and diagnostic information.
938 - Extensive new interface hooks allow add-on modules to significantly
939 - change or extend the FeedWordPress admin interface and workflow.
940 -
941 -* STORING INFORMATION FROM THE FEED IN CUSTOM FIELDS: Many users
942 - have written to request the ability to store information from elements
943 - in the feed in a custom field on each post. (So that, for example, if
944 - post includes a `itunes:duration` element, you could store the contents
945 - in a Custom Field called `duration` on the post (for a Theme to access
946 - later). The Custom Post Settings under Syndication --> Posts & Links now
947 - allow you to access any item or feed tag, using a syntax similar to
948 - a much-simplified version of XPath. See Posts & Links settings for
949 - details.
950 -
951 -* UPDATE-FREEZING ON MANUALLY EDITED POSTS: FeedWordPress now allows you
952 - to mark posts that have been manually edited, so that the changes you
953 - make will not be overwritten by later updates from the feed. If you make
954 - manual edits to a particular post, just check the "Manual editing"
955 - checkbox in order to protect your changes from being overwritten. If you
956 - want to block *all* posts from being updated after they are imported
957 - for the first time, a new "Updated Posts" setting in Posts & Links
958 - allows you to freeze all posts from a particular feed, or all syndicated
959 - posts.
960 -
961 -* SETTING: FEED-BY-FEED SETTINGS FOR WHERE PERMALINKS POINT TO: You've
962 - always been able to tell FeedWordPress whether permalinks for posts
963 - should point to the original source of the story or the local copy. Now
964 - you can choose different policies for different feeds, instead of one
965 - global policy for all feeds. (Of course, you can still use a global
966 - default if you prefer.)
967 -
968 -* SETTING: USER CONTROL OVER TIMING BASIS. You can now determine the
969 - schedule on which feeds are considered ready to poll for updates --
970 - by default feeds become ready for polling after about 1 hour. You can
971 - now increase or decrease the time window under Syndication --> Feeds &
972 - Updates. (However, please pay *CAREFUL ATTENTION* to the recommendations
973 - and DO NOT set the scheduling lower than 60 minutes unless you are
974 - ABSOLUTELY SURE that you have specific permission from webmaster who
975 - provides that specific feed to poll more frequently than that. If you
976 - set this too low (and about 60 minutes is the polite minimum if you
977 - haven't been given a different figure), most webmasters will consider
978 - the frequent hits on their server as rude, or even downright abusive.
979 -
980 -* OTHER SETTINGS: New settings also include the ability to stop FWP from
981 - resolving relative URLs within syndicated content, and the ability to
982 - choose whether FeedWordPress should indicate the comment feed from the
983 - original source, or the local comment feed, when providing the comment
984 - feed URL for a syndicated post.
985 -
986 -#### Parsing ####
987 -
988 -* BETTER DATE HANDLING -- FEWER FLASHBACKS TO 1969 and 1970: FeedWordPress
989 - has made some bugfixes and some improvements in the logic for parsing
990 - dates. This should allow FeedWordPress to correctly parse more dates in
991 - more feeds; and, in the last resort, when FeedWordPress fails to
992 - correctly parse a date, to fall back to a more intelligent default. This
993 - should hopefully avoid most or all error conditions that have resulted
994 - in articles being erroneously dated to the dawn of the Unix epoch
995 - (31 December 1969 or 1 January 1970).
996 -
997 -* FULL-TEXT "EXCERPTS" NOW PROPERLY SHORTENED. Based on a straightforward
998 - reading of the existing RSS specs, it's reasonable for the
999 - rss:description element to be read as a plaintext summary or excerpt for
1000 - the item containing the description -- with the full text of the item,
1001 - if available, in another, better-suited element, such as the de facto
1002 - standard content:encoded extension element. The problem is that uses of
1003 - RSS rarely have much to do with anything like a straightforward reading
1004 - of the specs. As a result, many actual RSS producers in the wild put the
1005 - full text of the article in a description element. But since
1006 - FeedWordPress has treated this text as a summary, this produces
1007 - aggregated posts with lengthy "excerpts" containing the full text of the
1008 - article. This release of FeedWordPress fixes the problem by doing a
1009 - little digging before treating rss:description as a summary: if the
1010 - description element is used properly as a plain text summary, then
1011 - FeedWordPress will take the summary provided by the feed, rather than
1012 - recreating its own excerpt from the full text; but if an RSS item has no
1013 - full-text element other than description, FeedWordPress will treat the
1014 - description element as the full text of the article, and generate a
1015 - shortened excerpt automatically from that text.
1016 -
1017 -#### API ####
1018 -
1019 -* TEMPLATE API: new template tags `get_local_permalink()` and
1020 - `the_local_permalink()` allow you to access the permalink for a post on
1021 - your aggregator site, even when FeedWordPress is rewriting permalinks to
1022 - point to the original source site.
1023 -
1024 -* NEW HOOKS FOR ADD-ONS AND FILTERS: I have added a number of new hooks
1025 - which allow add-on modules to filter more precisely, gather information
1026 - at more points, and to enhance the FeedWordPress admin interface. For
1027 - a list of new hooks and documentation, see the FeedWordPress
1028 - documentation wiki at
1029 - <http://feedwordpress.radgeek.com/wiki/add-ons-and-filters>
1030 -
1031 -* FILTER API: A number of new utility methods have been added to the
1032 - SyndicatedPost class to make it easier for filters and add-ons to
1033 -
1034 -* FILTER API: Globals $fwp_channel and $fwp_feedmeta DEPRECATED. These
1035 - global variables, originally introduced to allow filters access to
1036 - information about the source feed in `syndicated_item` filters (which
1037 - were passed in through global variables rather than as parameters
1038 - because of a bug in WP 1.5 which was then fixed in 1.5.1) have been
1039 - DEPRECATED. If you have any filters or add-ons which still depend on
1040 - these global variables, you should see about fixing them to access data
1041 - about the source feed using the SyndicatedPost::link element instead.
1042 - For documentation, see the FeedWordPress documentation wiki at
1043 - <http://feedwordpress.radgeek.com/wiki/syndicatedpost> and
1044 - <http://feedwordpress.radgeek.com/wiki/syndicatedlink>.
1045 -
1046 -* DIAGNOSTICS: I've included a number of new diagnostic options and
1047 - messages, which should allow an experienced user to better investigate
1048 - any problems that may crop up.
1049 -
1050 -#### Bug Fixes ####
1051 -
1052 -* BUGFIX: & IN PERMALINKS NO LONGER CAUSING ATOM OR HTML VALIDATION
1053 - EFFORTS: Many users reported an issue in which syndicating a feed with
1054 - special XML characters in the URLs (& was the most common, since it is
1055 - used to separate HTTP GET parameters) would cause the aggregator's
1056 - feeds to produce invalid (malformed) XML. This update addresses the
1057 - issue in Atom feeds. Unfortunately, it has not been technically possible
1058 - to address the problem in RSS 2.0 feeds, due to limitations on
1059 - WordPress's internal templates for RSS feeds.
1060 -
1061 -* BUGFIX: BROKEN URLS IN "POPULAR POSTS" AND SIMILAR PLUGINS SHOULD NO
1062 - LONGER BE BROKEN. A number of users noticed an issue where plugins and
1063 - templates that listed posts in locations outside of the post loop
1064 - (for example, "Popular Posts"-style plugins that listed posts in the
1065 - sidebar), often produced the wrong URL for post links. (Typically, all
1066 - the posts listed would get the same wrong URL.) This should now be
1067 - fixed. Thanks to Björn for sending in a quick fix!
1068 -
1069 -* MINOR BUGFIXES: This release includes a number of fixes to minor bugs
1070 - and compatibility issues, including: silent failures of the "Syndicate"
1071 - button, "Illegal Offset Type" error messages from MagpieRSS, and others.
1072 -
1073 -= 2009.0707 =
1074 -
1075 -* BUGFIX: WORDPRESS 2.8 AJAX COMPATIBILITY ISSUES RESOLVED (blank or
1076 - truncated "Syndicated Sites" administration page): Due to changes in the
1077 - AJAX interface elements between WordPress 2.7 and WordPress 2.8, several
1078 - FeedWordPress users encountered an issue where the front "Syndication"
1079 - page in the FeedWordPress administrative interface would come up blank,
1080 - without the normal "Syndicated Sites" list and "Update" control, or
1081 - sometimes wth the boxes visible but one or both of them truncated, with
1082 - only the title bar. This issue should now be resolved: with the new
1083 - version of FeedWordPress, the compatibility issue that caused the
1084 - disappearance should be eliminated, and if boxes are shown with only
1085 - their handle visible, you should once again be able to drop down the
1086 - rest of the box by clicking once on its title bar.
1087 -
1088 -* BUGFIX: TAG SETTING WIDGET FIXED. Due to changes in interface elements
1089 - between WordPress 2.7 and WordPress 2.8, people using FeedWordPress with
1090 - WordPress 2.8 found that the widget for setting tags to be applied to
1091 - all syndicated posts, or all syndicated posts from a particular feed,
1092 - no longer displayed "Add" and "Remove" buttons for individual tags. This
1093 - issue has now been fixed, and the tagging widget should once again work
1094 - more or less exactly like the tagging widget for individual posts in the
1095 - normal WordPress admin interface.
1096 -
1097 -= 2009.0618 =
1098 -
1099 -* BUGFIX: MYSTERY ERRORS WITH WITH WP_Http_Fsockopen HTTP TRANSPORT
1100 - ELIMINATED: Thanks to a combination of a subtle bug in FeedWordPress,
1101 - and changes to the HTTP transport code in WordPress, a number of users
1102 - encountered an error in which any time they attempted to add a new feed
1103 - through the FeedFinder interface, FeedWordPress would fail and display
1104 - an HTTP request failure diagnostic message. The subtle bug has been
1105 - fixed, and with it, most of these errors should now be eliminated.
1106 -
1107 - Be sure to upgrade your MagpieRSS to the most recent MagpieRSS version
1108 - after you have insalled FeedWordPress 2009.0618, or this bug fix will
1109 - not take effect.
1110 -
1111 -= 2009.0613 =
1112 -
1113 -* INTERFACE/BUGFIX: WORDPRESS 2.8 CATEGORY BOX FIX. Thanks to a subtle
1114 - change in class names between the WordPress 2.7 and 2.8 stylesheets,
1115 - category boxes in the FeedWordPress settings interface tended to overflow
1116 - and have a lot of messy-looking overlapping text under WordPress 2.8.
1117 - This has now been fixed.
1118 -
1119 -* FeedFinder FAILURE DIAGNOSTICS: When FWP's FeedFinder fails to find any
1120 - feeds at a given URL (for example, when you are trying to add a
1121 - subscription through the administrative interface and you run into an
1122 - error message), FeedWordPress now provides more diagnostic information
1123 - for the reasons behind the failure. If that helps you, great; if not,
1124 - it should help me respond more intelligently to your support request..
1125 -
1126 -= 2009.0612 =
1127 -
1128 -* WORDPRESS 2.8 COMPATIBILITY: FeedWordPress 2009.0612 has been tested for
1129 - compatibility with the recent version 2.8 release of WordPress.
1130 -
1131 -* INTERFACE RESTRUCTURING: In order to avoid settings posts from becoming
1132 - too crowded, and to modularize and better organize the user interface,
1133 - new "Posts" and "Categories & Tags" subpages have been created under the
1134 - "Syndication" menu. "Posts" controls settings for individal syndicated
1135 - posts (such as publication status, comment and ping status, whether or
1136 - not to use the original location of the post as the permalink, whether
1137 - or not to expose posts to formatting filters, and so on). "Categories &
1138 - Tags" controls settings for assigning new syndicated posts to categories
1139 - and tags, such as categories or tags to apply to all syndicated posts,
1140 - and how to handle categories that do not yet exist in the WordPress
1141 - database. These subpages, like the Authors subpage, handle settings for
1142 - the global default level and for individual syndicated feeds.
1143 -
1144 - Corresponding to these new subpages, the old Syndication Settings and
1145 - Feed Settings subpages have been cleaned up and simplified, and now only
1146 - link to the appropriate subpages for options that can be set in the
1147 - Posts, Authors, or Categories & Tags subpages.
1148 -
1149 -* FEATURE: ADD CUSTOM SETTINGS TO EACH SYNDICATED POST: FeedWordPress has
1150 - long had an interface for creating custom settings for each syndicated
1151 - *feed* which could be retrieved in templates using the `get_feed_meta()`
1152 - template function. But it had no feature for adding custom fields to
1153 - each individual syndicated *post*. In response to requests from users, I
1154 - have added the ability to apply custom fields to each individual
1155 - syndicated post, using the new Syndication --> Posts subpage. You can
1156 - set up custom fields to be applied to every syndicated post, or custom
1157 - fields to be applied to syndicated posts from a particular feed.
1158 -
1159 -* FEATURE: MAGPIERSS VERSION CHECK AND UPGRADE: FeedWordPress will attempt
1160 - to determine whether or not you are using the upgraded version of
1161 - MagpieRSS that comes packaged with FeedWordPress. If not, it will throw
1162 - an error on admin pages, and, if you are a site administrator, it will
1163 - give you the option to ignore the error message, or to attempt an
1164 - automatic upgrade (using a native file copy). If the file copy fails,
1165 - FeedWordPress will offer some guidance on how to perform the upgrade
1166 - manually.
1167 -
1168 -* BLANK POSTS PROBLEM NO LONGER OCCURS WITH OLD & BUSTED MAGPIERSS: Due
1169 - to the fact that I relied on a content normalization that occurs in my
1170 - upgraded version of MagpieRSS, but not in the old & busted version of
1171 - MagpieRSS that ships with WordPress, until this version, if you tried to
1172 - syndicate an Atom feed without having performed the (*strongly
1173 - recommended*) MagpieRSS upgrade, all of the posts would come up with
1174 - completely blank contents. That's not because MagpieRSS couldn't read
1175 - the data, but rather because the new Magpie version puts that data in a
1176 - location where the old version doesn't, and I was only looking in that
1177 - newer location. Now it checks for both, meaning that posts will continue
1178 - to display their contents even if you don't upgrade MagpieRSS. (But you
1179 - **really should** upgrade it, anyway.)
1180 -
1181 -* BUGFIX: RELATIVE URI RESOLUTION FOR POST CONTENT RESTORED. Some time
1182 - back, I added support for resolving relative URIs against xml:base on
1183 - feeds that support it to the MagpieRSS upgrade in FeedWordPress. Then I
1184 - took out code that did the same thing from the main FeedWordPress code.
1185 - Of course, the problem is that some people, even though it is clearly
1186 - stupid or evil to do so, still include relative URIs for images or links
1187 - in posts on feed formats that do *not* adequately support xml:base
1188 - (notably, RSS 2.0 feeds). In response to a user request, I have added
1189 - this functionality back in, so that MagpieRSS will resolve any relative
1190 - URIs that it knows how to resolve using xml:base, and then FeedWordPress
1191 - will attempt to resolve any relative URIs that are left over afterwards.
1192 -
1193 -* BUGFIX: INTERFACE OPTION FOR SETTING SYNDICATED POST PUBLICATION STATUS
1194 - ON A FEED-BY-FEED BASIS HAS BEEN RESTORED: Due to a version-checking
1195 - bug, users of WordPress 2.7.x lost an option from the "Edit a syndicated
1196 - feed" interface which allowed them to determine whether newly syndicated
1197 - posts should be published immediately, held as "Pending Review," saved
1198 - as drafts, or saved as private posts. (The option to change this
1199 - setting globally remained in place, but users could no longer set it on
1200 - a feed-by-feed basis.) The version-checking bug has been fixed, and the
1201 - option has been restored.
1202 -
1203 -* BUGFIX: "ARE YOU SURE?" FATAL ERROR ELIMINATED AND SECURITY IMPROVED:
1204 - Under certain circumstances (for example, when users have configured
1205 - their browser or proxy not to send HTTP Referer headers, for privacy or
1206 - other reasons), many features in the FeedWordPress administrative
1207 - interface (such as adding new feeds or changing settings) would hit a
1208 - fatal error, displaying only a cryptic message reading "Are you sure?"
1209 - and a blank page following it. This problem has been eliminated by
1210 - taking advantage of WordPress's nonce functions, which allow the
1211 - security check which ran into this error to work properly even without
1212 - receiving an HTTP Referer header. (N.B.: WordPress's nonce functions
1213 - were first introduced in WordPress 2.0.3. If you're using FeedWordPress
1214 - with an older version of WordPress, there's no fix for this problem:
1215 - you'll just need to turn Referer headers back on. Sorry.)
1216 -
1217 -* BUGFIX: MANUALLY-ALTERED POST STATUS, COMMENT STATUS, AND PING STATUS NO
1218 - LONGER REVERTED BY POST UPDATES: If you manually altered the post status,
1219 - comment status, or ping status of a syndicated post from what it was set
1220 - to when first syndicated -- for example, if you had a feed that was set
1221 - to bring in new posts as "Pending Review," and you then marked some of
1222 - the pending posts as "Published" and others as "Unpublished" -- then
1223 - in previous versions of FeedWordPress, these manual changes to the
1224 - status would be lost -- so that, for example, your Published or Unpublished
1225 - articles would revert to Pending Review -- if the source feed made any
1226 - upates to the item. This could make the Pending Review feature both
1227 - unreliable and also extremely frustrating to work with. The good news is
1228 - that this bug has since been fixed: if you manually update the status
1229 - of a post, it will no longer be reverted if or when the post is updated.
1230 -
1231 -* BUGFIX: OCCASIONAL FATAL ERROR ON UPDATE ELIMINATED: Under certain
1232 - limited conditions (specifically, when both the title and the content of
1233 - a post to be updated are empty), an attempt to update the post would
1234 - result in a fatal error. This has been fixed.
1235 -
1236 -* INTERFACE: "CONFIGURE SETTINGS" CONVENIENCE LINK ADDED TO CONFIRMATION
1237 - MESSAGE WHEN A NEW FEED IS ADDED: When you add a new subscription to
1238 - FeedWordPress, the message box that appears to confirm it now includes a
1239 - handy link to the feed's settings subpage, so that you can quickly set
1240 - up any special settings you may want to set up for the new feed, without
1241 - having to hunt through the list of all your other subscriptions to pick
1242 - out the new one.
1243 -
1244 -* INTERFACE: SIMPLIFYING AND CLARIFYING AUTOMATIC UPDATES SETTINGS. I have
1245 - removed an interval setting for the cronless automatic updates which has
1246 - confused many FeedWordPress users. In past versions of FWP, when you
1247 - turned on automatic updates, you would be presented with a time interval
1248 - setting which controlled how often FeedWordPress would check for feeds
1249 - ready to be polled for updates. (That is, it DID NOT control how often
1250 - feeds *would be polled*; it controlled how often FeedWordPress would
1251 - *check* for feeds that *had become ready to poll*. The schedule on which
1252 - feeds became ready for polling was still controlled either by requests
1253 - encoded in elements within the feed itself, or else according to an
1254 - internal calculation within FeedWordPress, averaging out to about 1 hour,
1255 - if the feed did not include any scheduling request elements.) Since many
1256 - users very often (and understandably) confused the purpose of this
1257 - setting, and since the setting is for a feature that's actually very
1258 - unlikely to require any manual control by the user, I have removed the
1259 - setting; FeedWordPress now simply uses the default value of checking for
1260 - feeds to poll every 10 minutes.
1261 -
1262 -* FEEDFINDER PERFORMANCE IMPROVEMENT: FeedWordPress's FeedFinder class
1263 - now uses `array_unique()` to make sure that it doesn't waste time
1264 - repeatedly iterating over and polling the same URI. Props to Camilo
1265 - (<http://projects.radgeek.com/2008/12/14/feedwordpress-20081214/#comment-20090122160414>).
1266 -
1267 -= 2008.1214 =
1268 -
1269 -* WORDPRESS 2.7 COMPATIBILITY: FeedWordPress has been tested for
1270 - compatibility with the newly released WordPress 2.7. WordPress 2.7 has
1271 - deprecated the Snoopy library for HTTP requests, which caused a fatal
1272 - error for users who had not installed the MagpieRSS upgrade (or whose
1273 - installation of the MagpieRSS upgrade was overwritten by a recent update
1274 - of WordPress). FeedWordPress now handles things gracefully when Snoopy
1275 - is not immediately available.
1276 -
1277 -* INTERFACE SPIFFED UP: Interface elements have been updated so that
1278 - FeedWordPress's management interface fits in more naturally with the
1279 - WordPress 2.7 interface (including a new logo and a number of small
1280 - interface tweaks).
1281 -
1282 -* BUG WITH TAGS FOR SYNDICATED ARTICLES FIXED: Several users encountered a
1283 - bug with the option to add tags to all syndicated posts under
1284 - Syndication --> Settings -- if you told FeedWordPress to add more than
1285 - one tag to all syndicated posts, instead of doing so correctly, it would
1286 - add a *single* tag instead, whose name was composed of the names of all
1287 - the tags you asked it to add. This bug was the result of nothing more
1288 - dignified than a typographical error on my part. It has now been fixed.
1289 -
1290 -* MORE INFORMATION AVAILABLE WHEN FEEDWORDPRESS CAN'T FIND A FEED: When
1291 - you enter a URL for a new syndication source, FeedWordPress uses a
1292 - simple feed-finding algorithm (originally based on Mark Pilgrim's
1293 - Universal Feed Finder) to try to determine whether the URL is the URL
1294 - for a feed, or, if the URL points to an ordinary website rather than to
1295 - a feed, whether there is a feed for that website. All well and good, but
1296 - if FeedWordPress failed to find a feed, for whatever reason, it would
1297 - typically return nothing more than a nasty little note to the effect of
1298 - "no feed found," without any explanation of what went wrong.
1299 - FeedWordPress now keeps track of error conditions from the HTTP
1300 - requests that it uses in the course of looking for the feed, and so may
1301 - be able to give you a bit more information about the nature of the
1302 - problem if something goes wrong.
1303 -
1304 -
1305 -= 2008.1105 =
1306 -
1307 -* INTERFACE RESTRUCTURING AND SYNDICATION --> AUTHORS PAGE: As a first
1308 - step towards modularizing and better organizing the user interface, a
1309 - new "Authors" subpage has been created under the Syndication menu, which
1310 - controls settings for syndicated authors, both at the global default
1311 - level and at level of individual syndicated feeds.
1312 -
1313 -* BUG RELATED TO THE ATTRIBUTION OF POSTS TO THE WRONG AUTHOR FIXED: Some
1314 - users encountered an issue in which posts by different authors on
1315 - different blogs -- especially blogs generated by Blogger -- were
1316 - mistakenly attributed to a single author. The problem was caused by the
1317 - way in which FeedWordPress matches syndicated authors to user accounts
1318 - in the WordPress database: normally, if two feeds each list an author
1319 - with the same e-mail address, they are counted as being the same person.
1320 - Normally this works well, but it creates an issue in cases where
1321 - blogging software assigns a single anonymous e-mail address to users who
1322 - do not want their real e-mail address published. This is, for example,
1323 - what Blogger does (by giving all users a default e-mail address of
1324 - <noreply@blogger.com> if they don't want their own e-mail address
1325 - listed). FeedWordPress now allows the user to correct for this problem
1326 - with a couple of new settings under **Syndication --> Authors**, which
1327 - allow users to turn off e-mail based author matching for particular
1328 - addresses, or, if desired, to turn it off entirely. By default, e-mail
1329 - based author matching is still turned on, but disabled for a list of
1330 - known generic e-mail addresses. Right now, the "list" consists entirely
1331 - of <noreply@blogger.com>; if you know other addresses that should be
1332 - added, please [contact me](http://radgeek.com/contact) to let me know.
1333 -
1334 - Please note that if you have already encountered this issue on your
1335 - blog, upgrading FeedWordPress will prevent it from re-occurring in the
1336 - future, but you still need to do two other things to fix the existing
1337 - problem on your blog.
1338 -
1339 - First, for each feed where posts have been mis-attributed, you need to
1340 - change the existing author mapping rules to re-map a a syndicated
1341 - author's name to the proper target account. Go to **Syndication -->
1342 - Authors**, select the feed you want to change from the drop-down list,
1343 - and then change the settings under the "Syndicated Authors" section.
1344 - (You will probably need to select "will be assigned to a new user..." to
1345 - create a new user account with the appropriate name.)
1346 -
1347 - Second, for each feed where posts have been mis-attributed, you need to
1348 - re-assign already-syndicated posts that were mis-attributed to the
1349 - correct author. You can do that from **Syndication --> Authors** by
1350 - using the author re-assignment feature, described below.
1351 -
1352 -* AUTHOR RE-ASSIGNMENT FOR A PARTICULAR FEED: The author settings page
1353 - for each syndicated feed, under **Syndication --> Authors**, now
1354 - includes an section titled "Fixing mis-matched authors," which provides
1355 - an interface for re-assigning or deleting all posts attributed to a
1356 - particular author on a particular feed.
1357 -
1358 -* SUPPORT FOR `<atom:source>` ELEMENT IN SYNDICATED FEEDS: Some feeds
1359 - (for example, those produced by FeedWordPress) aggregate content from
1360 - several different sources, and include information about the original
1361 - source of the post in an `<atom:source>` element. A new setting under
1362 - **Syndication --> Options** allows you to control what FeedWordPress
1363 - will report as the source of posts syndicated from aggregator feeds in
1364 - your templates and feeds: you can have FeedWordPress report that the
1365 - source of a post is the aggregator feed itself, or you can have it
1366 - report that the source of a post is the original source that the
1367 - aggregator originally syndicated the post from.
1368 -
1369 - By default, FeedWordPress will report the aggregator, not the original
1370 - source, as the source of a syndicated item.
1371 -
1372 -* LOAD BALANCING AND TIME LIMITING FEATURES FOR UPDATES: Some users have
1373 - encountered issues due to running up against PHP execution time limits
1374 - during the process of updating large syndicated feeds, or a very large
1375 - set of syndicated feeds. FeedWordPress now has a feature that allows you
1376 - to limit the total amount of time spent updating a feed, through the
1377 - "Time limit on updates" setting under **Syndication --> Options**. By
1378 - turning on this setting and adjusting the time limit to a low enough
1379 - figure to avoid your PHP installation's time-out setting. (PHP execution
1380 - time limits are usually in the vicinity of 30 seconds, so an update
1381 - time limit of 25 seconds or so should provide plenty of time for updates
1382 - while allowing a cushion of time for other, non-update-related functions
1383 - to do their work.)
1384 -
1385 - If feed updates are interrupted by the time limit, FeedWordPress uses
1386 - some simple load balancing features to make sure that updates to other
1387 - feeds will not be blocked by the time-hogging feed, and will also make
1388 - sure that when the interrupted update is resumed, FeedWordPress will
1389 - skip ahead to resume processing items at the point at which it was
1390 - interrupted last time, so that posts further down in the feed will
1391 - eventually get processed, and not get blocked by the amount of time it
1392 - takes to process the items higher up in the feed.
1393 -
1394 -* `guid` INDEX CREATION BUTTON: FeedWordPress frequently issues queries on
1395 - the `guid` column of the WordPress posts database (since it uses post
1396 - guid URIs to keep track of which posts it has syndicated). In very large
1397 - FeedWordPress installations, you can often significantly improve
1398 - performance by creating a database index on the `guid` column, but
1399 - normally you would need to poke around with MySQL or a tool like
1400 - phpMyAdmin to do this. FeedWordPress can now save you the trouble: to
1401 - create an index on the `guid` column, just go to
1402 - **Syndication --> Options**, and mash the button at the bottom of the
1403 - "Back End" section.
1404 -
1405 -= 2008.1101 =
1406 -
1407 -* INTERFACE BUG THAT PREVENTED ADDING NEW SITES FIXED: The UI reforms in
1408 - FWP 2008.1030 unintentionally introduced a bug that prevents clean
1409 - installations of FeedWordPress from providing an input box for adding
1410 - new feeds to the list of syndicated feeds. This bug has been fixed.
1411 -
1412 -= 2008.1030 =
1413 -
1414 -* WORDPRESS 2.6 COMPATIBILITY: FeedWordPress should now be compatible with
1415 - WordPress 2.6, and should work more or less seamlessly with the new post
1416 - revision system. A bug which caused multiple new revisions to be created
1417 - for posts on certain feeds, regardless of whether or not the item had
1418 - been updated, has been fixed.
1419 -
1420 -* INTERFACE IMPROVEMENTS: The user interface has been substantially
1421 - restyled to fit in better with the visual style of WordPress 2.5 and
1422 - 2.6.
1423 -
1424 -* YOUTUBE BUG FIXED: POSTS SYNDICATED THROUGH AN AUTOMATIC UPDATE ARE NO
1425 - LONGER STRIPPED OF `<OBJECT>` TAGS AND CERTAIN OTHER HTML ELEMENTS: Due
1426 - to the way that some versions of WordPress process posts that are
1427 - inserted into the database when no user is logged in, many users
1428 - experienced an issue where YouTube videos and other content using the
1429 - HTML `<object>` tag would be stripped out of posts that were syndicated
1430 - during an automatic update. (Posts that were syndicated through manual
1431 - updates from within the WordPress Dashboard were not affected, because
1432 - the issue does not arise when an update is executed under a logged-in
1433 - administrator's credentials.) This bug has now been fixed; YouTube
1434 - videos and other content using `<object>` tags should now appear
1435 - properly in syndicated posts, regardless of the way in which the post
1436 - was syndicated.
1437 -
1438 -* AJAX BUGS FIXED: Bugs which blocked the normal operation of WordPress
1439 - 2.5's AJAX interface elements when FeedWordPress was activated have been
1440 - fixed.
1441 -
1442 -* TAG SUPPORT: A couple of features have been introduced to take advantage
1443 - of the tagging features in WordPress 2.3.x, 2.5.x, and 2.6.x. Now, when
1444 - unfamiliar categories are encountered for posts on a feed, you can
1445 - choose for FeedWordPress (1) to drop the category; (2) to drop the
1446 - category and to filter out any post that does not match at least one
1447 - familiar category; (3) to create a new category with that name, or,
1448 - now, you can also have FeedWordPress (4) create a new *tag* with that
1449 - name. This option can be set site-wide under Syndication --> Options,
1450 - or it can be set on a feed-by-feed basis in a feed's Edit screen.
1451 -
1452 - In addition, you can now set particular tags to apply to all incoming
1453 - syndicated posts, under Syndication --> Options, or you can set tags
1454 - to apply to all incoming syndicated posts from a particular feed in that
1455 - feed's Edit screen.
1456 -
1457 -* FORMATTING FILTERS: There is a new option available under Syndication ->
1458 - Options which allows users to choose whether or not to expose syndicated
1459 - posts to being altered by formatting filters. By default, FeedWordPress
1460 - has always protected syndicated posts (which are already in display-ready
1461 - HTML when they are syndicated) from being reformatted by formatting
1462 - filters. However, this approach means that certain plugins which depend
1463 - on formatting filters (for example, to add "Share This" bars or relevant
1464 - links to the end of a post) are blocked from working on any syndicated
1465 - posts. If you want to use one of these plugins together with
1466 - FeedWordPress, you can now do so by changing the "Formatting Filters"
1467 - setting from "Protect" to "Expose."
1468 -
1469 -* `<atom:source>` ELEMENTS NOW INCLUDED IN ATOM FEED: Atom 1.0 provides
1470 - a standard method for aggregators to indicate information about the original source of
1471 - a syndicated post, using the `<atom:source>` element. FeedWordPress now
1472 - introduces standard `<atom:source>` elements including the title, homepage, and
1473 - feed URI of the source from which a syndicated post was syndicated. Cf.
1474 - <http://www.atomenabled.org/developers/syndication/atom-format-spec.php#element.source>
1475 -
1476 -* MODULARIZATION OF CODE: The code for different elements of FeedWordPress
1477 - has been broken out into several modules for easier inspection,
1478 - documentation, and maintenance of the code.
1479 -
1480 -* VERSIONING SCHEME CHANGED: FeedWordPress's feature set has proven stable
1481 - enough that it can now be removed from beta status; a good thing, since
1482 - I was very quickly running out of version numbers to use. New releases
1483 - of FeedWordPress will have version numbers based on the date of their
1484 - release.
1485 -
1486 -= 0.993 =
1487 -
1488 -* WORDPRESS 2.5.1 COMPATIBILITY: FeedWordPress should now be compatible
1489 - with WordPress 2.5.1.
1490 -
1491 -* WORDPRESS 2.5 INTERFACE IMPROVEMENTS: FeedWordPress's Dashboard
1492 - interface has undergone several cosmetic changes that should help it
1493 - integrate better with the WordPress Dashboard interface in WordPress
1494 - version 2.5.x.
1495 -
1496 -* SYNDICATED POSTS CAN BE MARKED AS "PENDING REVIEW": WordPress 2.3 users
1497 - can now take advantage of WordPress's new "Pending Review" features for
1498 - incoming syndicated posts. Posts marked as "Pending Review" are not
1499 - published immediately, but are marked as ready to be reviewed by an
1500 - Administrator or Editor, who can then choose to publish the post or
1501 - hold it back. If you want to review syndicated posts from a particular
1502 - feed, or from all feeds, before they are posted, then use
1503 - Syndication --> Syndicated Sites --> Edit or Syndication --> Options to
1504 - change the settings for handling new posts.
1505 -
1506 -* AWARE OF NEW URI FOR del.icio.us FEEDS: Previous releases of
1507 - FeedWordPress already automatically split del.icio.us tags up
1508 - appropriately appropriately when generating categories. (del.icio.us
1509 - feeds smoosh all the tags into a single `<dc:subject>` element,
1510 - separated by spaces; FeedWordPress un-smooshes them into multiple
1511 - categories by separating them at whitespace.) Unfortunately, del.icio.us
1512 - recently broke the existing behavior by changing host names for their
1513 - feeds from del.icio.us to feeds.delicious.com. Version 0.993 accounts
1514 - for the new host name and un-breaks the tag splitting.
1515 -
1516 -= 0.992 =
1517 -
1518 -* AUTHOR RE-MAPPING: FeedWordPress now offers considerable control over
1519 - how author names on a feed are translated into usernames within the
1520 - WordPress database. When a post by an unrecognized author comes in,
1521 - Administrators can now specify any username as the default username to
1522 - assign the post to by setting the option in Syndication --> Options
1523 - (formerly FeedWordPress only allowed you to assign such posts to user
1524 - #1, the site administrator). Administrators can also create re-mapping
1525 - rules for particular feeds (under Syndication --> Syndicated Sites -->
1526 - Edit), so that (for example) any posts attributed to "Administrator"
1527 - on the feed <http://praxeology.net/blog/feed/> will be assigned to
1528 - a user named "Roderick T. Long," rather than a user named
1529 - "Administrator." These settings also allow administrators to filter out
1530 - posts by particular users, and to control what will happen when
1531 - FeedWordPress encounters a post by an unrecognized user on that
1532 - particular feed.
1533 -
1534 -* BUG RELATED TO URIS CONTAINING AMPERSAND CHARACTERS FIXED: A bug in
1535 - WordPress 2.x's handling of URIs in Blogroll links created problems for
1536 - updating any feeds whose URIs included an ampersand character, such as
1537 - Google News RSS feeds and other feeds that have multiple parameters
1538 - passed through HTTP GET. If you experienced this bug, the most likely
1539 - effect was that FeedWordPress simply would not import new posts from a
1540 - feed when instructred to do so, returning a "0 new posts" response. In
1541 - other cases, it might lead to unpredictable results from feed updates,
1542 - such as importing posts which were not contained in the feed being
1543 - syndicated, but which did appear elsewhere on the same website. This bug
1544 - has, hopefully, been resolved, by correcting for the bug in WordPress.
1545 -
1546 -= 0.991 =
1547 -
1548 -* WORDPRESS MU COMPATIBILITY: FeedWordPress should now be compatible with
1549 - recent releases of WordPress MU. Once FeedWordPress is made available
1550 - as a plugin, each individual blog can choose to activate FeedWordPress
1551 - and syndicate content from its own set of contributors.
1552 -
1553 -* DISPLAY OF MAGPIE WARNINGS: A number of MagpieRSS warnings or error
1554 - messages that were displayed when performing an automatic update are
1555 - no longer displayed, unless debugging parameters have been explicitly
1556 - enabled.
1557 -
1558 -* BUG RELATED TO INTERNATIONAL CHARACTERS IN AUTHOR NAMES FIXED: Due to a
1559 - subtle incompatability between the way that FeedWordPress generated new
1560 - user information, and the way that WordPress 2.0 and later added new
1561 - authors to the database, FeedWordPress might end up creating duplicate
1562 - authors, or throwing a critical error message, when it encountered
1563 - authors whose names included international characters. This
1564 - incompatability has now been fixed; hopefully, authors with
1565 - international characters in their names should now be handled properly.
1566 -
1567 -* `<media:content>` BUG IN MAGPIERSS FIXED: A bug in MagpieRSS's handling
1568 - of namespaced elements has been fixed. Among other things, this bug
1569 - caused items containing a Yahoo MediaRSS `<media:content>` element (such
1570 - as many of the feeds produced by wordpress.com) to be represented
1571 - incorrectly, with only a capital "A" where the content of the post
1572 - should have been. Feeds containing `<media:content>` elements should now
1573 - be syndicated correctly.
1574 -
1575 -* update_feedwordpress PARAMETER: You can now use an HTTP GET parameter
1576 - (`update_feedwordpress=1`) to request that FeedWordPress poll its feeds
1577 - for updates. When used together with a crontab or other means of
1578 - scheduling tasks, this means that you can keep your blog automatically
1579 - updated on a regular schedule, even if you do not choose to use the
1580 - cron-less automatic updates option.
1581 -
1582 -* Some minor interface-related bugs were also fixed.
1583 -
1584 -
1585 -= 0.99 =
1586 -
1587 -Version 0.99 adds several significant new features, fixes some bugs, and
1588 -provides compatability with WordPress 2.2.x and 2.3.x.
1589 -
1590 -* WORDPRESS 2.2 AND 2.3 COMPATIBILITY: FeedWordPress should now be
1591 - compatible with WordPress version 2.2 and the upcoming WordPress
1592 - version 2.3. In particular, it has been tested extensively against
1593 - WordPress 2.2.3 and WordPress 2.3 Release Candidate 1.
1594 -
1595 -* AUTOMATIC UPDATES WITHOUT CRON: FeedWordPress now allows you to
1596 - automatically schedule checks for new posts without using external task
1597 - scheduling tools such as cron. In order to enable automatic updates, go
1598 - to **Syndication --> Options** and set "Check for new posts" to
1599 - "automatically." For details, see "Automatic Feed Updates" in
1600 - README.text.
1601 -
1602 - An important side-effect of the changes to the update system is that if
1603 - you were previously using the cron job and the `update-feeds.php` script
1604 - to schedule updates, you need to change your cron set-up. The old
1605 - `update-feeds.php` script no longer exists. Instead, if you wish to use
1606 - a cron job to guarantee updates on a particular schedule, you should
1607 - have the cron job fetch the front page of your blog (for example, by
1608 - using `curl http://www.zyx.com/blog/ > /dev/null`) instead of activating
1609 - the `update-feeds.php` script. If automatic updates have been enabled,
1610 - fetching the front page will automatically trigger the update process.
1611 -
1612 -* INTERFACE REORGANIZATION: All FeedWordPress functions are now located
1613 - under a top-level "Syndication" menu in the WordPress Dashboard. To
1614 - manage the list of syndicated sites, manually check for new posts on
1615 - one or more feeds, or syndicate a new site, you should use the main page
1616 - under **Syndication**. To change global settings for FeedWordPress,
1617 - you should use **Syndication --> Options**.
1618 -
1619 -* FILE STRUCTURE REORGANIZATION: Due to a combination of changing styles
1620 - for FeedWordPress plugins and lingering bugs in the FeedWordPress admin
1621 - menu code, the code for FeedWordPress is now contained in two different
1622 - PHP files, which should be installed together in a subdirectory of your
1623 - plugins directory named `feedwordpress`. (See README.text for
1624 - installation and upgrade instructions relating to the change.)
1625 -
1626 -* MULTIPLE CATEGORIES SETTING: Some feeds use non-standard methods to
1627 - indicate multiple categories within a single category element. (The most
1628 - popular site to do this is del.icio.us, which separates tags with a
1629 - space.) FeedWordPress now allows you to set an optional setting, for any
1630 - feed which does this, indicating the character or characters used to
1631 - divide multiple categories, using a Perl-compatible regular expression.
1632 - (In the case of del.icio.us feeds, FeedWordPress will automatically use
1633 - \s for the pattern without your having to do any further configuration.)
1634 - To turn this setting on, simply use the "Edit" link for the feed that
1635 - you want to turn it on for.
1636 -
1637 -* REGULAR EXPRESSION BUG FIXED: Eliminated a minor bug in the regular
1638 - expressions for e-mail addresses (used in parsing RSS `author`
1639 - elements), which could produce unsightly error messages for some users
1640 - parsing RSS 2.0 feeds.
1641 -
1642 -* DATE / UPDATE BUG FIXED: A bug in date handling was eliminated that may
1643 - have caused problems if any of (1) WordPress, or (2) PHP, or (3) your
1644 - web server, or (4) your MySQL server, has been set to use a different
1645 - time zone from the one that any of the others is set to use. If
1646 - FeedWordPress has not been properly updating updated posts, or has been
1647 - updating posts when there shouldn't be any changes for the update, this
1648 - release may solve that problem.
1649 -
1650 -* GOOGLE READER BUGS FIXED: A couple of bugs that made it difficult for
1651 - FeedWordPress to interact with Google Reader public feeds have been
1652 - fixed. Firstly, if you encountered an error message reading "There was a
1653 - problem adding the newsfeed. [SQL: ]" when you tried to add the feed,
1654 - the cause of this error has been fixed. Secondly, if you succeeded in
1655 - getting FeedWordPress to check a Google Reader feed, only to find that
1656 - the title of posts had junk squashed on to the end of them, that bug
1657 - has been fixed too. To fix this bug, you must install the newest version
1658 - of the optional MagpieRSS upgrade.
1659 -
1660 -* FILTER PARAMETERS: Due to an old, old bug in WordPress 1.5.0 (which was
1661 - what was available back when I first wrote the filter interface),
1662 - FeedWordPress has traditionally only passed one parameter to
1663 - syndicated_item and syndicated_post filters functions -- an array
1664 - containing either the Magpie representation of a syndicated item from
1665 - the feed, or the database representation of a post about to be inserted
1666 - into the WordPress database. If you needed information about the feed
1667 - that the item came from, this was accessible only through a pair of
1668 - global variables, $fwp_channel and $fwp_feedmeta.
1669 -
1670 - Since it's been a pretty long time since WordPress 1.5.0 was in
1671 - widespread usage, I have gone ahead and added an optional second
1672 - parameter to the invocation of the syndicated_item and syndicated_post
1673 - filters. If you have written a filter for FeedWordPress that uses either
1674 - of these hooks, you can now register that filter to accept 2 parameters.
1675 - If you do so, the second parameter will be a SyndicatedPost object,
1676 - which, among other things, allows you to access information about the
1677 - feed from which an item is syndicated using the $post->feed and the
1678 - $post->feedmeta elements (where $post is the name of the second
1679 - parameter).
1680 -
1681 - NOTE THAT THE OLD GLOBAL VARIABLES ARE STILL AVAILABLE, for the time
1682 - being at least, so existing filters will not break with the upgrade.
1683 - They should be considered deprecated, however, and may be eliminated in
1684 - the future.
1685 -
1686 -* FILTER CHANGE / BUGFIX: the array that is passed as the first argument
1687 - syndicated_post filters no longer is no longer backslash-escaped for
1688 - MySQL when filters are called. This was originally a bug, or an
1689 - oversight; the contents of the array should only be escaped for the
1690 - database *after* they have gone through all filters. IF YOU HAVE WRITTEN
1691 - ANY syndicated_post FILTERS THAT PRESUME THE OLD BEHAVIOR OF PASSING IN
1692 - STRINGS THAT ARE ALREADY BACKSLASH-ESCAPED, UPDATE YOUR FILTERS
1693 - ACCORDINGLY.
1694 -
1695 -* OTHER MINOR BUGFIXES AND INTERNAL CHANGES: The internal architecture of
1696 - FeedWordPress has been significantly changed to make the code more
1697 - modular and clean; hopefully this should help reduce the number of
1698 - compatibility updates that are needed, and make them easier and quicker
1699 - when they are needed.
1700 -
1701 -= 0.981 =
1702 -
1703 -Version 0.981 is a narrowly targeted bugfix and compatibility release, whose
1704 -main purpose is to resolve a major outstanding problem: the incompatibility
1705 -between version 0.98 of WordPress and the recently released WordPress 2.1.
1706 -
1707 -* WORDPRESS 2.1 COMPATIBILITY: FeedWordPress is now compatible with
1708 - WordPress 2.1, as well as retaining its existing support for WordPress
1709 - 2.0 and 1.5. Incompatibilities that resulted in database warnings, fatal
1710 - errors, and which prevented FeedWordPress from syndicating new posts,
1711 - have been eliminated.
1712 -
1713 -* RSS-FUNCTIONS.PHP RENAMED TO RSS.PHP: if you use the upgraded MagpieRSS
1714 - replacement that's included with FeedWordPress, be sure to note that
1715 - there are now *two* files to upload from the `OPTIONAL/wp-includes`
1716 - subdirectory in order to carry out the upgrade: rss-functions.php and
1717 - rss.php. **It is necessary to upload both files**, due to a change in
1718 - the file naming scheme in WordPress 2.1, and it is necessary to do so
1719 - whether you are using WordPress 2.1 or not. If you only upload the
1720 - `rss-functions.php` file as in previous installations you will not have
1721 - a working copy of MagpieRSS; the rss.php file contains the actual code.
1722 -
1723 -* DATE BUG AFFECTING SOME PHP INSTALLATIONS RESOLVED: due to a subtle bug
1724 - in parse_w3cdtf(), some installations of PHP encountered problems with
1725 - FeedWordPress's attempt to date posts, which would cause some new posts
1726 - on Atom feeds to be dated as if they had apppeared in 1969 or 1970
1727 - (thus, effectively, never appearing on front page at all). This bug in
1728 - the date handling should now be fixed.
1729 -
1730 -* PHP <?=...?> SHORT FORM ELIMINATED: some installations of PHP do not
1731 - allow the <?=...?> short form for printing PHP values, which was used
1732 - extensively in the FeedWordPress interface code. Since this could cause
1733 - fatal errors for users with the wrong installation of PHP, the short
1734 - form has been replaced with full PHP echo statements, and is no longer
1735 - used in FeedWordPress.
1736 -
1737 -* BETTER USER INTERFACE INTEGRATION WITH WORDPRESS 2.x: Some minor changes
1738 - have been made to help the FeedWordPress interface pages blend in better
1739 - with the user interface when running under WordPress 2.x.
1740 -
1741 -* GLOBAL CATEGORIES BUG RESOLVED: a bug that prevented some users from
1742 - setting one or more categories to apply to syndicated posts from all
1743 - feeds (using the checkbox interface under Options --> Syndication) has
1744 - been resolved.
1745 -
1746 -= 0.98 =
1747 -
1748 -* WORDPRESS 2.0 COMPATIBILITY: This is a narrowly-targeted release to
1749 - solve a major outstanding problem. FeedWordPress is now compatible with
1750 - both WordPress 1.5 and WordPress 2.0. Incompatibilities that caused
1751 - fatal SQL errors, and a more subtle bug with off-kilter counts of posts
1752 - under a given category, have been resolved. FeedWordPress tests for
1753 - database schema using the global $wp_db_version variable (if null, then
1754 - we presume that we're dealing with WordPress 1.5).
1755 -
1756 - NOTE: I have **not** fully tested FeedWordPress with WordPress 2.0.
1757 - Further testing may reveal more bugs. However, you should now be able
1758 - to get at least basic FeedWordPress functionality up and running.
1759 -
1760 -* AUTHOR MATCHING: FeedWordPress tests several fields to see if it can
1761 - identify the author of the post as a user already in the WordPress user
1762 - database. In previous versions, it tested the user login, the nickname,
1763 - and tested for "aliases" listed in the Profile (see documentation). FWP
1764 - now also matches authors on the basis of e-mail address (*if* an e-mail
1765 - address is present). This is particularly helpful for formats such as
1766 - RSS 2.0, in which authors are primarily identified by e-mail addresses.
1767 -
1768 -= 0.97 =
1769 -
1770 -* INSTALLATION PROCEDURE: Some of the changes between 0.96 and 0.97
1771 - require upgrades to the meta-data stored by FeedWordPress to work
1772 - properly. Thus, if you are upgrading from 0.96 or earlier to 0.97, most
1773 - FeedWordPress operations (including updates and template functions)
1774 - WILL BE DISABLED until you run the upgrade procedure. Fortunately,
1775 - running the upgrade procedure is easy: just go to either Options -->
1776 - Syndication or Links --> Syndicated in the WordPress Dashboard and press
1777 - the button.
1778 -
1779 -* FEED FORMAT SUPPORT: Support has been added for the Atom 1.0 IETF
1780 - standard. Several other elements are also newly supported
1781 - (dcterms:created, dcterms:issued, dcterms:modified, dc:identifier,
1782 - proper support for the RSS 2.0 guid element, the RSS 2.0 author element,
1783 - the use of Atom author or Dublin Core dc:creator constructs at the feed
1784 - level to identify the author of individual items, etc.)
1785 -
1786 - N.B.: full support of several Atom 1.0 features, such as categories
1787 - and enclosures, requires you to install the optional rss-functions.php
1788 - upgrade in your wp-includes directory.
1789 -
1790 -* BUG FIX: Running `update-feeds.php` from command line or crontab
1791 - returned "I don't syndicate..." errors. It turns out that WordPress
1792 - sometimes tramples on the internal PHP superglobals that I depended on
1793 - to determine whether or not the script was being invoked from the
1794 - command line. This has been fixed (the variables are now checked
1795 - *before* WordPress can trample them). Note that `update-feeds.php` has
1796 - been thoroughly overhauled anyway; see below for details.
1797 -
1798 -* BUG FIX: Duplicate categories or author names. Fixed two bugs that could
1799 - create duplicate author and/or category names when the name contained
1800 - either (a) certain international characters (causing a mismatch between
1801 - MySQL and PHP's handling of lowercasing text), or (b) characters that
1802 - have a special meaning in regular expressions (causing MySQL errors when
1803 - looking for the author or category due to regexp syntax errors). These
1804 - should now be fixed thanks to careful escaping of names that go into
1805 - regular expressions and careful matching of lowercasing functions
1806 - (comparing results from PHP only to other results from PHP, and results
1807 - from MySQL only to other results from MySQL).
1808 -
1809 -* BUG FIX: Items dated December 31, 1969 should appear less often. The
1810 - function for parsing W3C date-time format dates that ships with
1811 - MagpieRSS can only correctly parse fully-specified dates with a
1812 - fully-specified time, but valid W3C date-time format dates may omit the
1813 - time, the day of the month, or even the month. Some feeds in the wild
1814 - date their items with coarse-grained dates, so the optional
1815 - `rss-functions.php` upgrade now includes a more flexible parse_w3cdtf()
1816 - function that will work with both coarse-grained and fully-specified
1817 - dates. (If parts of the date or the time are omitted, they are filled in
1818 - with values based on the current time, so '2005-09-10' will be dated to
1819 - the current time on that day; '2004' will be dated to this day and time
1820 - one year ago.
1821 -
1822 - N.B.: This fix is only available in the optional `rss-functions.php`
1823 - upgrade.
1824 -
1825 -* BUG FIX: Evil use of HTTP GET has been undone. The WordPress interface
1826 - is riddled with inappropriate (non-idempotent) uses of HTTP GET queries
1827 - (ordinary links that make the server do something with significant
1828 - side-effects, such as deleting a post or a link from the database).
1829 - FeedWordPress did some of this too, especially in places where it aped
1830 - the WordPress interface (e.g. the "Delete" links in Links -->
1831 - Syndicated). That's bad business, though. I've changed the interface so
1832 - that all the examples of improper side-effects that I can find now
1833 - require an HTTP POST to take effect. I think I got pretty much
1834 - everything; if there's anything that I missed, let me know.
1835 -
1836 - Further reading: [Sam Ruby 2005-05-06: This Stuff Matters](http://www.intertwingly.net/blog/2005/05/06/This-Stuff-Matters)
1837 -
1838 -* BUG FIX: Categories applied by `cats` setting should no longer prevent
1839 - category-based filtering from working. In FeedWordPress, you can (1)
1840 - apply certain categories to all syndicated posts, or all posts from
1841 - a particular feed; and (2) filter out all posts that don't match one
1842 - of the categories that are already in the WordPress database (allowing
1843 - for simple category-based filtering; just load up WordPress with the
1844 - categories you want to accept, and then tell FeedWordPress not to create
1845 - new ones). However, the way that (1) and (2) were implemented meant that
1846 - you couldn't effectively use them together; once you applied a known
1847 - category to all syndicated posts from a particular feed, it meant that
1848 - they'd have at least one familiar category (the category or categories
1849 - you were applying), and that would get all posts past the filter no
1850 - matter what categories they were originally from.
1851 -
1852 - Well, no longer. You can still apply categories to all syndicated posts
1853 - (using either Syndication --> Options, or the feed-level settings under
1854 - Links --> Syndicated). But these categories are not applied to the post
1855 - until *after* it has already passed by the "familiar categories" filter.
1856 - So now, if you want, you can do category filtering and *then* apply as
1857 - many categories as you please to all and only posts that pass the filter.
1858 -
1859 -* BUG FIX: Other minor typos and HTML gaffes were fixed along the way.
1860 -
1861 -* PERFORMANCE: get_feed_meta() no longer hits the database for information
1862 - on every call; it now caches link data in memory, so FeedWordPress only
1863 - goes to the database once for each syndicated link. This may
1864 - substantially improve performance if your database server resources
1865 - are tight and your templates make a lot of use of custom settings from
1866 - get_feed_meta().
1867 -
1868 -* API CHANGE: Link ID numbers, rather than RSS URIs, are now used to
1869 - identify the feed from which a post is syndicated when you use template
1870 - functions such as get_feed_meta(). The practical upshot of this is you
1871 - can switch feeds, or change the feed address for a particular syndicated
1872 - site, without breaking your templates for all the posts that were
1873 - syndicated from the earlier URI.
1874 -
1875 -* API CHANGE: if you have plugins or templates that make use of the
1876 - get_feed_meta() function or the $fwp_feedmeta global, note that the
1877 - data formerly located under the `uri` and `name` fields is now located
1878 - under the `link/uri` field and the `link/name` field, respectively. Note
1879 - also that you can access the link ID number for any given feed under the
1880 - global $fwp_feedmeta['link/id'] (in plugins) or
1881 - get_feed_meta('link/id') (in a template in post contexts).
1882 -
1883 -* FEATURE: the settings for individual feeds can now be edited using a
1884 - humane interface (where formerly you had to tweak key-value pairs in the
1885 - Link Notes section). To edit settings for a feed, pick the feed that you
1886 - want under Links --> Syndicated and click the Edit link.
1887 -
1888 -* FEATURE: The "Unsubscribe" button (formerly "Delete") in Links -->
1889 - Syndicated now offers three options for unsubscribing from a feed: (1)
1890 - turning off the subscription without deleting the feed data or affecting
1891 - posts that were syndicated from the feed (this works by setting the Link
1892 - for the feed as "invisible"); (2) deleting the feed data and all of the
1893 - posts that were syndicated from the feed; or (3) deleting the feed data
1894 - and *keeping* the posts that were syndicated from the feed
1895 - setting the Link to "Invisible" (meaning that it will not be displayed
1896 - in lists of the site links on the front page, and it won't be checked
1897 - for updates; (2) deleting the Link and all of the posts that were
1898 - syndicated from its feed; or (3) deleting the feed data but keeping the
1899 - posts that were syndicated (which will henceforward be treated as if
1900 - they were local rather than syndicated posts). (Note that (1) is usually
1901 - the best option for aggregator sites, unless you want to clean up the
1902 - results of an error or a test.)
1903 -
1904 -* FEATURE / BUG FIX: If you have been receiving mysterious "I don't
1905 - syndicate...", or "(local) HTTP status code was not 200", or "(local)
1906 - transport error - could not open socket", or "parse error - not well
1907 - formed" errors, then this update may solve your problems, and if it does
1908 - *not* solve them, it will at least make the reasons for the problems
1909 - easier to understand. That's because I've overhauled the way that
1910 - FeedWordPress goes about updating feeds.
1911 -
1912 - If you use the command-line PHP scripting method to run scheduled
1913 - updates, then not much should change for you, except for fewer
1914 - mysterious errors. If you have done updates by sending periodic HTTP
1915 - requests to <http://your-blog.com/path/wp-content/update-feeds.php>,
1916 - then the details have changed somewhat; mostly in such a way as to make
1917 - things easier on you. See the README file or online documentation on
1918 - Staying Current for the details.
1919 -
1920 -* FEATURE: FeedWordPress now features a more sophisticated system for
1921 - timed updates. Instead of polling *every* subscribed feed for updates
1922 - *each* time `update-feeds.php` is run, FeedWordPress now keeps track of
1923 - the last time it polled each feed, and only polls them again after a
1924 - certain period of time has passed. The amount of time is normally set
1925 - randomly for each feed, in a period between 30 minutes and 2 hours (so
1926 - as to stagger updates over time rather than polling all of the feeds at once. However, the length of time between updates can also be set
1927 - directly by the feed, which brings us to ...
1928 -
1929 -* FEATURE: FeedWordPress now respects the settings in the `ttl` and
1930 - Syndication Module RSS elements. Feeds with these elements set will not
1931 - be polled any more frequently than they indicate with these feeds unless
1932 - the user manually forces FeedWordPress to poll the feed (see Links -->
1933 - Syndicated --> Edit settings).
1934 -
1935 -= 0.96 =
1936 -
1937 -* FEATURE: support has been added for enclosures in RSS 2.0 and Atom
1938 - 0.6+ newsfeeds. WordPress already supports adding enclosures to an
1939 - item; FeedWordPress merely gets the information on the enclosure
1940 - from the feed it is syndicating and plugs that information directly
1941 - into the WordPress database so that (among other things) that post
1942 - will have its enclosure listed in your blog's RSS 2 newsfeed.
1943 -
1944 - Note that enclosure support requires using the optional MagpieRSS
1945 - upgrade (i.e., replacing your `wp-includes/rss-functions.php` with
1946 - `OPTIONAL/wp-includes/rss-functions.php` from the FWP archive)
1947 -
1948 -* FEATURE: for completeness's sake, there is now a feed setting,
1949 - `hardcode url`, that allows you to set the URI for the front page
1950 - of a contributor's website manually (that is, prevent it from being
1951 - automatically updated from the feed channel link on each update). To
1952 - set the URI manually, put a line like this in the Link Notes section
1953 - of a feed:
1954 -
1955 - hardcode url: yes
1956 -
1957 - You can also instruct FeedWordPress to use hardcoded URIs by default
1958 - on all feeds using Options --> Syndication
1959 -
1960 -* FEATURE: by default, when FeedWordPress finds new syndicated posts,
1961 - it (1) publishes them immediately, (2) turns comments off, and (3)
1962 - turns trackback / pingback pings off. You can now alter all three
1963 - default behaviors (e.g., to allow pings on syndicated posts, or to
1964 - send newly-syndicated posts to the draft pile for moderation) using
1965 - Options --> Syndication
1966 -
1967 -
1968 -= From 0.91 to 0.95 =
1969 -
1970 -* BUG FIX: Fixed an obscure bug in the handling of categories: categories with trailing whitespace could cause categories with duplicate names to be created. This no longer happens. While I was at it I tightened up the operation of FeedWordPress::lookup_categories() a bit in general.
1971 -
1972 -* FEATURE DEPRECATED: the feed setting `hardcode categories` is now deprecated in favor of `unknown categories` (see below), which allows you to strip off any syndication categories not already in your database using `unknown categories: default` or `unknown categories: filter`. If you have `hardcode categories: yes` set on a feed, this will be treated as `unknown categories: default` (i.e., no new categories will be added, but if a post doesn't match any of the categories it will be added in the default category--usually "Uncategorized" or "General").
1973 -
1974 -* FEATURE: You can now set global defaults as to whether or not FeedWordPress will update the Link Name and Link Description settings for feeds automatically from the feed title and feed tagline. (By default, it does, as it has in past versions.) Whether this behavior is turned on or off, you can still override the default behavior using feed settings of `hardcode name: yes`, `hardcode name: no`, `hardcode description: yes`, or `hardcode description: no`.
1975 -
1976 -* FEATURE: Users can now provide one or several "aliases" for an author, just as they can for a category. For example, to make FeedWordPress treat posts by "Joseph Cardinal Ratzinger" and "Pope Benedict XVI" as by the same author, edit the user profile for Pope Benedict XVI and add a line like this to the "User profile" field:
1977 -
1978 - a.k.a.: Joseph Cardinal Ratzinger
1979 -
1980 - You can add several aliases, each on a line by itself. You can also add any other text you like to the Profile without interfering with the aliases.
1981 -
1982 -* FEATURE: Users can now choose how to handle syndicated posts that are in unfamiliar categories or by unfamiliar authors (i.e., categories or authors whose names are not yet in the WordPress database). By default, FeedWordPress will (as before) create a new category (or new author) and use it for the current post and any future posts. This behavior can be changed, either for all feeds or for one or another particular feed.
1983 -
1984 - There are now three different options for an unfamiliar author: (1) FeedWordPress can create a new author account and attribute the syndicated post to the new account; (2) FeedWordPress can attribute the post to an author if the author's name is familiar, and to a default author (currently, this means the Site Administrator account) if it is not; (3) FeedWordPress can drop posts by unfamiliar authors and syndicate only posts by authors who are already in the database.
1985 -
1986 - There are, similarly, two different options for an unfamiliar category: (1) FeedWordPress can create new categories and place the syndicated post in them; (2) FeedWordPress can drop the unfamiliar categories and place syndicated posts only in categories that it is already familiar with. In addition, FeedWordPress 0.95 lets you choose whether posts that are in *no* familiar categories should be syndicated (and placed in the default category for the blog) or simply dropped.
1987 -
1988 - You can set the default behavior for both authors and categories using the settings in Options --> Syndication. You can also set different behavior for specific feeds by adding the `unfamiliar author` and / or `unfamiliar categories` settings to the Link Notes section of a feed:
1989 -
1990 - unfamiliar author: (create|default|filter)
1991 - unfamiliar categories: (create|default|filter)
1992 -
1993 - A setting of `unfamiliar author: create` will make FeedWordPress create new authors to match unfamiliar author names *for this feed alone*. A setting of `unfamiliar author: default` will make it assign posts from unfamiliar authors to the default user account. A setting of `unfamiliar author: filter` will cause all posts (from this feed alone) to be dropped unless they are by an author already listed in the database. Similiarly, `unfamiliar categories: create` will make FeedWordPress create new categories to match unfamiliar category names *for this feed alone*; `unfamiliar categories: default` will cause it to drop any unfamiliar category names; and `unfamiliar categories: filter` will cause it to *both* drop any unfamiliar category names *and* to only syndicate posts that are placed in one or more familiar categories.
1994 -
1995 - These two new features allow users to do some coarse-grained filtering without having to write a PHP filter. Specifically, they offer an easy way for you to filter feeds by category or by author. Suppose, for example, that you only wanted to syndicate posts that your contributors place in the "Llamas" category. You could do so by setting up your installation of WordPress so that the only category in the database is "Llamas," and then use Options --> Syndication to set "Unfamiliar categories" to "don't create new categories and don't syndicate posts unless they match at least one familiar category". Now, when you update, only posts in the "Llamas" category will be syndicated by FeedWordPress.
1996 -
1997 - Similarly, if you wanted to filter one particular feed so that only posts by (for example) the author "Earl J. Llama" were syndicated to your site, you could do so by creating a user account for Earl J. Llama, then adding the following line to the settings for the feed in Link Notes:
1998 -
1999 - unfamiliar author: filter
2000 -
2001 - This will cause any posts from this feed that are not authored by Earl J. Llama to be discarded, and only the posts by Earl J. Llama will be syndicated. (If the setting is used on one specific feed, it will not affect how posts from other feeds are syndicated.)
2002 -
2003 132 == License ==
2004 133
2005 -The FeedWordPress plugin is copyright © 2005-2021 by Charles Johnson. It uses code derived or translated from:
134 +The FeedWordPress plugin is copyright © 2005-2007 by Charles Johnson. It uses
135 +code derived or translated from:
2006 136
2007 137 - [wp-rss-aggregate.php][] by [Kellan Elliot-McCrea](kellan@protest.net)
2008 -- [SimplePie][] feed parser by Ryan Parman, Geoffrey Sneddon, Ryan McCue, et al.
2009 -- [MagpieRSS][] feed parser by [Kellan Elliot-McCrea](kellan@protest.net)
138 +- [MagpieRSS][] by [Kellan Elliot-McCrea](kellan@protest.net)
139 +- [HTTP Navigator 2][] by [Keyvan Minoukadeh](keyvan@k1m.com)
2010 140 - [Ultra-Liberal Feed Finder][] by [Mark Pilgrim](mark@diveintomark.org)
2011 -- [WordPress Blog Tool and Publishing Platform](http://wordpress.org/)
2012 141
2013 142 according to the terms of the [GNU General Public License][].
2014 143
2015 -This program is free software; you can redistribute it and/or modify it under the terms of the [GNU General Public License][] as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
144 +This program is free software; you can redistribute it and/or modify it under
145 +the terms of the [GNU General Public License][] as published by the Free
146 +Software Foundation; either version 2 of the License, or (at your option) any
147 +later version.
2016 148
2017 -This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
149 +This program is distributed in the hope that it will be useful, but WITHOUT ANY
150 +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
151 +PARTICULAR PURPOSE. See the GNU General Public License for more details.
2018 152
2019 153 [wp-rss-aggregate.php]: http://laughingmeme.org/archives/002203.html
2020 - [SimplePie]: http://www.simplepie.org/
2021 154 [MagpieRSS]: http://magpierss.sourceforge.net/
155 + [HTTP Navigator 2]: http://www.keyvan.net/2004/11/16/http-navigator/
2022 156 [Ultra-Liberal Feed Finder]: http://diveintomark.org/projects/feed_finder/
157 +
2023 158 [GNU General Public License]: http://www.gnu.org/copyleft/gpl.html
2024 159