Only if you install WPMU/ WP 3.0 as subdomain installation when you installed WordPress, you will be able to have feeds like “yourdomain.com/full-feed/”. When you install WPMU/ WP 3.0 into a subdirectory installation, your feed url will be something like “yourdomain.com/subdirectory?wpmu-feed=full-feed”.
wp-config.php should have either of the below constants defined and set, in order for the plugin to detect its a subdomain installation.
define(‘SUBDOMAIN_INSTALL’, true);
define(‘VHOST’, ‘yes’);
If your feed is working and it validates, including it in RSS Widget to show on your site does not actually show the entries, then follow this:
You must disable your cache plugin to cache the feed as a static page.
If you are using W3-Total-Cache plugin, add your Feed URL (relative path): to the Never cache the following pages: section under Page Cache Settings. Ex. “/full-feed/” and make sure to clear empty all caches.
The reason is your cache plugin makes the cache of the feed [which has a Content-Type: application/xml]. But after it is cached, when the browser requests, your cache plugin deliver the already cached static file, which now is delivered with Content-Type: text/html]. This causes the RSS Widget to not recognize the feed.
Current version: 0.5.2
- Both Subdirectory and VHOST installations are now supported. Thanks to DaryL.
- Works on both WP 3.0 as well as WPMU 2.9.2
- Compatible with WP Multi-Network plugin . You can have different blog ID than 1 to trigger the full feed. [This was fixed in previous version, but forgot to mention.]
- Last Updated: 2010/07/07
- Live example: Adadaa
- Thanks DaryL, and Jura for testing.
Previous versions: 0.5.0 , 0.4.0
Description:
This plugin creates four (4) seperate RSS 2.0 feeds from posts, comments, pages, and one combined [posts & pages] across all blogs on your WPMU powered site. This will skip the first post, comment, and page of a blog; also will not include spam and deleted blogs.
Instruction:
WPMU:
Unzip and upload to mu-plugins directory.
WP 3.0:
You can either create a directory called “mu-plugins” inside the /wp-content/ folder and put it inside, which in turn, will automatically activate the plugin.
Or you can put it inside the plugin directory and activate it yourself.
Upgrade: Just replace the old file with this.
Download current version
If you think I deserve some donations, please make a donation through PayPal at the form on the right.
Both Subdirectory and VHOST installations are supported.
Features:
Generates sitewide combined [posts & pages] feed
Generates sitewide posts feed
Generates sitewide comments feed
Generates sitewide pages feed
Server-side caching via WP Object Cache
Client-side caching via ETag headers
Admin screen to configure options
Compliance with xhtml and xml standards
& many more
This is the options help page:
- Trigger Blog
- Set this to the numeric blog ID that the feed will latch to.
- You can find the blog ID by looking under the ‘Blogs’ submenu in the ‘Site Admin’ menu.
- Feed URL
- Set this to a URL (relative path only!) that will trigger the feed output. Be careful to avoid names used by pages, categories, or other permalinks existing on your site.
- This feed outputs the combined feeds of Posts and Pages.
- Posts Trigger URL
- Set this to a URL to be appended to Feed URL (relative path only!) that will trigger the posts feed output. Be careful to avoid names used by pages, categories, or other permalinks existing on your site.
- Comments Feed URL
- Set this to a URL to be appended to Feed URL (relative path only!) that will trigger the comment feed output. Be careful to avoid names used by pages, categories, or other permalinks existing on your site.
- Pages Trigger URL
- Set this to a URL to be appended to Feed URL (relative path only!) that will trigger the pages feed output. Be careful to avoid names used by pages, categories, or other permalinks existing on your site.
- Feed Title
- The title of your sitewide feed.
- Feed Description
- The description of your sitewide feed.
- Show Most Recent
- Set this to the number of items to show in the feed.
- Full Text or Summary
- Choose your preference of full text articles or summaries only.
- Minimum number of chars in content
- What is minimum number of chars a content should have before it is included in the global feed. This will remove specific pages created just with wp shortcodes – [wp-short-code].
- URL of site image
- Full URL for an image to be shown as site image in the feed.
- Show avatar
- Show author’s avatar of the post.
- Append Stats to Feed
- Appends query count, execution time, and cache notification (if feed was cached by WP Object Cache) to the end of the feed output.
- Etag Header
- Setting this enables ETag header support for RSS Reader/Browser caching. Requires that you use ctrl+F5 to force a refresh in your browser. Huge bandwidth saver.
- Object Cache
- Stores feed output in WP Object Cache, if available, to dramatically reduce site load and increase performance.
- Expire feed from cache
- Set this to zero if you have no problems with future dated posts showing at maturity (wordpress build 3514 and later) or set the number of minutes to determine how long the feed is held in cache before being regenerated (to include maturing posts).
- Your wordpress version was auto-detected and appropriate defaults were chosen accordingly.
- Reset all settings to default
- Sets all settings back to original values.
I’ve installed Ada WPMU Sitewide Feed Plugin Version 0.5.2 under WP3.2.
When I go to the main blogs full feed url (http://blogs-berlingske.wpkitchen.com/full-feed) I get a 404 not found page..
Any idea what could be causing this, and is there an alternative url I could use? I’ve tried http://blogs-berlingske.wpkitchen.com/?wpmu-feed=full-feed but it also doesn’t work. The parameters are just ignored.
How do I get it to show authors avatars, what avatar plugin is is compatible with (or will it just get the gravatar if one exists)? I’d like to use it with WPMU Avatars for Multisite, is that possible?
I want to ask if you could consider changing the function ada_get_avatar_url() to use the proper core hooks such as get_avatar(). In it’s current version the plugin is only compatible wth gravatar, but it would be nice if it would use get_avatar() so that it could also work with plugins such as WPMUDEV’s Avatars for Multisite.
See: http://premium.wpmudev.org/forums/topic/avatars-for-multisite-ada-wpmu-sitewide-feed-plugin?replies=2#post-159997
@Mike,
I’m not sure why this plugin does not work for you out of the box.
Just make sure there is no definition like this in your WP config or somewhere.
define(‘WP_HOME’, ‘http://’.$_SERVER[‘HTTP_HOST’] );
This seems to cause some problem with this plugin
You read whatever I put in red text above right?
About the Avatars. Thanks for this info, I didn’t know. Yes, I’ll try to change the function name so the plugin is more WordPress standards. But, I won’t be releasing any update anytime soon, as I have tons of stuff to do on all my sites upgrade.
Ok, thanks, I’ll be working on making your plug-in work with the standars get_avatar function from the WordPress core, I’ll keep you posted, mybe you can use it for an upcoming release.. Thank you also for your sugegstion regarding the feed url. I’ll look into that. If I do not get the plain url (site.tld/full-feed) to work, is there another url I could use to force access to the rss feed created by the plugin?
I have got an improvement suggestion, please implement it. Meanwhile I will mod my own copy of your plugin but it would be great if you could implement it.
I am using two plugins by Automattic called “WordPress.com Custom CSS” and “Grunion Contact Form” which both create a custom post type, one for saving custom CSS and the other one for users to submit feedback.
Unfortunately both of them show up in my site-wide feed so I would need your plugin to exclude the following post types: “safecss” and “feedback”
Sure, I’ll try that.
Thanks
Finally, I uploaded this plugin to WP Plugin repository. Its at Ada WPMS Sitewide Feed
Hi! In many situations it would be handy to have the posts ordered for the update date timestamp instead of creation timestamp,
you can add this useful choice?
Thakn you.
@Staipa,
I did not want to OrderBy last update date as this RSS intended for your site users. Once one of your blogger finds this out, they can simply update their post often, and their post will remain in the top ten all the time.
please fix your index errors, wpmu-feed isn’t always in _GET. pretty easy…
if( !isset($_GET[‘wpmu-feed’]) ) return false;
else if ($type == ‘fullfeed’ && $_GET[‘wpmu-feed’] == ‘full-feed’) return true;
Is there a way to exclude blog ids from the feed so they are not visible?
Open the php file and search for $excl_blogs
just put comma separated blog ids.
I’m currently redirecting the root url to a different landing page on another url via .htaccess. The problem is that the feed /blog?wpmu-feed=full-feed also gets redirected. Would it be possible to specify a directory for the feeds? For example /blog/feed?wpmu-feed=full-feed? That would be awesome. Any help would be appreciated!
Ah.. nevermind. I entered a folder name in the feed URL field. Works like a charm.
I’m glad it worked out for you. Have fun