These files are intended for WordPressMU (WPMU) admins.
I only tested subdomain installation. If you have subdirectory installation, and Ada WPMU Sitewide Feeds are not produced, I can debug with you to help.
Only subdomain installation will be able to have feeds like “yourdomain.com/full-feed/”. When you install WPMU, if you selected “Sub directory” installation, then your feed url will be something like “yourdomain.com/yourdirectory?wpmu-feed=full-feed”.
Current version: 0.5.0
- I have coloured the modifications I did from previous version 0.4.0. – Last Updated: 2010/05/22
- Live examples: Adadaa, Kadais
Previous version: 0.4.0
- First released by I.T. Damager. I optimized, fixed the WP Object Cache bug and implemented an additional feed. The version I started to work on was 0.3.2.
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:
Unzip and upload to mu-plugins directory.
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 now 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.
- Untitled Post Title
- Set this to the title to display when there is none. This is VERY useful when using your sitewide feed in the Dashboard, otherwise you just have empty gray boxes. I removed this. Post without title will not be included in the global feed. Why? If the author did not even bother to put a title, then why should that post be given importance?
- Set this to the title to display when there is none. This is VERY useful when using your sitewide feed in the Dashboard, otherwise you just have empty gray boxes. I removed this. Post without title will not be included in the global feed. Why? If the author did not even bother to put a title, then why should that post be given importance?
- 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.
This seems to have corrected some known issues — thank you!
but whenever I try to change any of the settings, I get this error:
Invalid trigger URL. Must be a relative path beginning with and ending with a “/”. Default: /full-feed/
Invalid posts URL. Must be a relative path ending with a “/”. Default: posts/
Invalid comments URL. Must be a relative path ending with a “/”. Default: comments/
Invalid pages URL. Must be a relative path ending with a “/”. Default: pages/
What does this mean? Is there any way to fix this so we can change and save the settings?
Thanks!
Make sure the following, when you are changing the URLs
trigger URL ==> must have slashes at the beginning and at the end.
if your site is
http://moxiedesignstudios.com/
and you want the sitewide feed to be moxiedesignstudios.com/wholesitefeed/
then in the trigger URL, only enter “/wholesitefeed/”
do NOT enter your domain name. Also do not enter any slug that is already in use. Let’s say you already have http://moxiedesignstudios.com/contact/, then don’t enter “/contact/” in the trigger URL.
And for the other URLs, don’t enter the beginning slash, but make sure there is a slash at the end for the slug.
See this is how it builds the URLS.
your domain: http://moxiedesignstudios.com
for whole site feed it adds the trigger URL ["/wholesitefeed/"] to the domain so it becomes
moxiedesignstudios.com/wholesitefeed/
and for other URLs, let’s say Comments URL ["comments"], it adds on top of the whole site feed URL
moxiedesignstudios.com/wholesitefeed/comments/
Now you see why there is a need for slashes.
Some things to fix:
1) Link from the plugin config page to the “plugin homepage” is incorrect (currently is 1uthavi.adadaa.com/wordpressmu-wpmu-ada-sitewide-feed/)
2) Posts to the main blog are not include in the full-feed
How long does it usually take for the feeds to be made after plugin is “installed”?
Right now, the feed’s urls aren’t working.
Oh and, great plugin by the way. =D
It should be very short. It shouldn’t take hours.
What’s your feed url?
Thanks Florian,
I’ll fix them.
I don’t remember whether I’m excluding the posts from the main blog or not.
Hmm… I just set everything back to the default and it works…
It seems the URLs that I got didn’t work. Oh well, thanks anyway.
But my current feed url is at:
weaponsofstupidity.com/community?wpmu-feed=full-feed
If I want to change it to say…
weaponsofstupidity.com/community/full-feed/
It doesn’t work.
Andrew,
Since the plugin gives you the feed url as “?wpmu-feed=full-feed”, I think you have the WPMU in a subdirectory installation [you have WPMU installed in the directory "/community/"?]. So the “/full-feed/” url syntax is only for subdomain installation of WPMU.
May be this is what others also having trouble with. Only subdomain installation will be able to have feeds like “weaponsofstupidity.com/full-feed/”. When you install WPMU, if you selected “Sub directory” installation, then your feed url will be something like “urdirectory?wpmu-feed=full-feed”.
Florin,
I fixed it.
It seems like the old DB entries were causing problem.
I updated the zip file with the fix. If anyone else not seeing any posts for this feed, please download a fresh copy, or delete the db entry in wp_sitemeta table the row called “wpmu_sitefeed_settings”
Hi I’ve just installed version 0.5.0 and I get this error message when testing the master feed
Fatal error: Call to a member function containsTamil() on a non-object in /htdocs/wp-content/mu-plugins/wpmufeed.php on line 414
Could you advise? Thank you
Oops… sorry. My mistake.
Now updated.
Please download again. Let me know if its working well.
My RSS shows no entries when I installed the plugin.
When I try to edit the settings, I am getting the same error as Joelle.
I use the subdirectories instillation, and I do not have WP MU installed in the main directory, but in the blogs directory.
Whenever I test the link, it goes to myurl.com/blogs/?wpmu-feed=full-feed
Any help would be most appreciated
Raith,
As I said in earlier reply, if u have a WPMU installation in a directory, your site wide feed url will be in that format.
Does this work in Wordpress 3.0?
Andrew,
This plugin is for WordPressMU, NOT for standalone WordPress.
There is no 3.0 in WordPressMU released as of now.
As of Wordpress 3.0, MU and Standalone have been merged into one package. And from what I have seen it doesn’t work.
Please visit the following links and see what is the official release version.
http://mu.wordpress.org/download/
http://wordpress.org/
Its 2.9.2 [as of 2010/06/06]
If you are working with development version, sorry I use only official release versions for production environment.
Hey,
I like your plugin except for the fact that I can’t get it to work. Pardon me for my noob questions but here they are.
I have a domain – talkviews.com.
And then I have subdirectories talkviews.com/food, talkviews.com/travel and so on.
i want the posts from my subdirectories to be displayed on talkviews.com but am unable to do so.
I read ur replies to the comments above but keep getting the problem which Jolie mentioned
.
Read your reply to the sub-directory issue but again cannot find the solution!
Hi Nishant,
I’m not sure how is ur setup. This only works for WordPressMU [not standalone WordPress]. If you have installed WordPressMU [WPMU] in talkviews.com [inside the directory 'public_html' or 'wwwroot' - not any subdirectories under them], then this plugin will work out of the box. This plugin will display all posts from a WPMU installation.
If u have blogs like food.talkviews.com or travel.talkviews.com , then this plugin will retrieve their posts too. As I said, in the my post, I have NOT tested this for subdirectory installation.
Hi!
I’m having issues with the subdirectory installation of this plugin. Seems like your URL-validation does not take note that in subdirectory installation one does not have slashes “/” at the beginning and the end. Thus saving the setting gets blocked by error messages like ‘Invalid trigger URL. Must be a relative path beginning with and ending with a “/”. Default: /full-feed/’
I tried to override these validators by commenting the lines which validate URL’s from your source code, but still the plugin isn’t updating the settings; they are reverted to default values every time I try to save different values.
My WPMU-site utilizing this plugin is http://oppimateriaalit.jamk.fi and the default feed is working at http://oppimateriaalit.jamk.fi/?wpmu-feed=full-feed . Unfortunately I can’t make any adjustments to the feeds. (BTW: “Test link” URLs contain “full-feed” before the actual feed, check it out)
Maybe you should install a test-environment with subdirectory installation? I’d love to get this plugin to work properly!
Hi !
I have a little bit modified your plugin in order to correct some issues on WP 3.0 and others for subdirectory installation.
I also modified the first post to show (now icludes the first one, just to fit to my needs).
You can find it here :
http://www.jheberg.com/download-389EB43AE1FE-wpmufeed-0-5-1.html
(for non-french ones, just click on “Télécharger”
)
Thanks DaryL,
I’ll incorporate these changes when I get a chance.
I can’t download DaryL’s version :-/ There is no “download” button in the page
Sorry for the previous comment. The “Télécharger” link was between the two ad banners. It was hard to spot! :-]
Well… I installed the original version (0.5.0), but the mega feed consisted of two lines describing the feed:
“SciΒlogs|ΝΕΤ Master Site Feed Posts & Pages. Shows all posts, comments, and pages from all blogs on this WPMU powered site http://wordpress.org/?v=3.0 en SciΒlogs|ΝΕΤ Master Site Feed Posts & Pages”
In other words, the feed was empty :-/
I tried DaryL’s version (0.5.1) as well, but the result was the same. Am I doing something wrong?
I am using WPMU 3.0
This plugin is not determinig the table prefix correctly. Instead of $wpmuBaseTablePrefix you should be using $wpdb->base_prefix. To fix this issue add this line of code on line 255 just below global $wpdb, $wpmuBaseTablePrefix;
$wpmuBaseTablePrefix = $wpdb->base_prefix;
After applying that fix I was able to get this plugin working perfectly in WordPress 3.0
Thank you Brad
I have figured it after looking at DaryL’s code.
I’ll soon release the version compatible with WordPress 3.0
Wordpress 3.0
no items shows after active the plugin.
http://p.wangjueju.cn/full-feed/
Hi Nathan,
First of all thx for writing this code.
Ay news on the upcomming version compatible with WordPress 3.0???
We can’t wait!!!
Thx again for the work.
Jura
hey there. I also realized the plugin is broken after the upgrade to wp 3.0.1 can I please get the fixed version too? I can also send you my edited version, I introduced some small changes but I am not good enough to restore compatibility. You can email me and I’ll reply with my modified version.
Brad’s fix worked for me
Cheers Brad.
any news on this plugin? any updates?
Sorry guys.
I have a working version. I just need a final testing.
I couldn’t get a time to post and explain the changes.