What Others Are Saying

Latest Version: 1.7
Works on: Version 2.07 – 3.2.1
Last Update: 21st July 2011

This plugin allows you to display the most recent post of your favourite blogs somewhere on your site. It utilises the RSS link field from the blogroll for each of your links. If the RSS link exists it attempts to get the last post from it. It then displays the most recent X number of posts depending on your settings. Each blog can have one post in the list.

See Update Information

Requirements

I’ve checked this down to WordPress version 2.0.7 without problem and this works up to the latest version 3.2.1.

Instructions

  1. Download the Plugin and unzip it.
  2. Upload the file to your plugins folder then activate it via the WordPress admin panel.
  3. Go to Options – What Others Say and make changes to the defaults if you wish See Figure 1
  4. Add RSS feed links to the links in your Blogroll that you want to display in the list (The RSS link goes in the Advanced section on the Add/Edit link page) See Figure 2
  5. Add the code below to wherever you want the list to display (non-widget sidebar) or go into your Widgets admin page and add the widget version.
PHP Code Excerpt
  1. <?php if (function_exists(‘what_others_are_saying’)) {
  2. what_others_are_saying();
  3. } ?>
Figure 1: The Options page in the Admin
What Others Are Saying Plugin Options
Figure 2: Adding an RSS Feed in Manage – Links
Manage Link Screenshot

The plugin simply outputs the post and site name wrapped in a list item, so you would need to insert the above code into either an unordered or ordered list, and also give it a header. I’ve done it this way so that people don’t need to edit the plugin file to change their markup.

Suggested markup would be:
  1. <h3>What Others Are Saying</h3>
  2. <ul>
  3. <?php if (function_exists(‘what_others_are_saying’)) what_others_are_saying(); ?>
  4. </ul>

If you have any comments or problems with installation let me know 🙂

Download the plugin.

Updates (Newest First)

  • 21/07/2011: Discovered the widget was missing an opening and closing ul. Also updated a few standard WordPress functions
  • 02/03/2009: Fixed the widget title problem, plus updated a couple of WordPress functions that are being deprecated.
  • 02/11/2008: Added the option to set the external links to have rel=”nofollow” added. Also added code to make this version work as both a function and a widget.
  • 08/05/2008: Updated the admin page to fit in with the new WordPress 2.5 look.
  • 17/03/2008: Cleaned up the code to use WordPress API code entirely, removed the need for a cachetime.txt file and set up the cache timing in the options table instead. Added a readme.txt file and screenshot in the zip file.
  • 19/10/2007: Cleaned up the code, fixed invalid ampisands in titles and added the option to display either most recent posts or a randomised list of all the latest posts.
  • 14/10/2007: The admin page has landed! You can now update the options via an admin page under your Options menu, rather than editing the file directly.
  • 08/10/2007: After finding people having problems with modifying the output I realised that perhaps I should just output the list and nothing more, allowing people to write their own header and markup. So I’ve removed this.
  • 03/10/2007: The script now checks for a database connection and reconnects if it needs to. Added support for another type of RSS feed. Option to have the site name linked as well as the post title.
  • 27/09/2007: Added in extra variable to allow people to set the header title above the list. Defaults to ‘What Others Are Saying’
  • 25/09/2007: Found a database table without the prefix on correctly, plus added in code to prevent duplicates being displayed. I think it occurs if two visitors hit during the update at the same time.
  • 25/09/2007: The code now pulls in the table prefix from WordPress settings so this will avoid errors where someone has changed the table prefix from the standard wp_ and not updated the file. Also one less thing to set!
  • 25/09/2007: Added in a couple of error print outs for if/when errors do occur as it’s easier to determine the cause then.

189 Responses

  1. John F says:

    Hey Sarah–

    I love the plug in and it is working wonderfully except for one pesky URL.

    the feed I get from their site is :
    http://greatergreaterwashington.org/rss.xml

    None of my other feeds are XML. Is this the issue? I have had them listed for several days and they have updated several times, but not showing up.

    ANy suggestions?

    Thanks
    Jon

  2. Sarah says:

    Hi Jon, it appears that the feed you’re trying to use isn’t recognised as a feed by the WordPress tag that’s used to read it. I’ve tested it myself and using the WP function it doesn’t get any data from it which means it’s most likely not formed correctly. It looks fine at a glance but WP doesn’t seem to like it.

    I’m currently working on updating the plugin and I have to get the function that reads the feed in changed anyway, as the current one is now deprecated, so maybe the new one will work with it. I’ll update here once it’s done so keep an eye out for a new version at some point (can’t say when, got a wedding to plan first!) and see if that works for you instead 🙂

  3. Hi Sarah,

    I’m sorry for your loss and congratz on your moving.

    See, I recently changed my hosting company and moved my blog database to the new place. I installed a few plugins in the new hosting (yours was one of the first to be installed!).

    But off the sudden, I can’t make What Other Are Saying to work. My blogroll is the same I had in my former hosting company. The plug in does nothing but presenting the Heading.

    Is there some way to delete/recreate/rebuild the cache file, or somehow reset the plug in to work?

    Have any ideas to try? I’m kind of puzzled…

    Check it at 40limones.com
    (in Spanish, but WOAS is located at the bottom of the sidebar)

  4. Sarah says:

    Hi Dario, if you copied your whole database over then, if nothing else, the plugin would be pulling out the old cached data.

    To give it a kick into action you can go into phpMyAdmin and empty the _linkposts table. If there’s nothing in there the plugin will always run and try and update.

    If that doesn’t do anything or the table is already empty, then check on your server to see if you have an ‘error_log’ file and if you do, see if you can find a PHP error relating to the plugin as that may give a better idea as to why it’s not running for you.

  5. Thanks for the fast reply, Sarah!

    I checked the database and it has the data I would expect the plugin to show on the sidebar. I truncated the table and give the plugin another try. It populates the table back again, but still nothing shows up.

    I have an error_log file on my site root, but it does not appear to have anything related to WOAS.

    This is the content of the file:

    #####################
    [27-Sep-2009 22:32:11] mismatched tag at line 426, column 80
    [27-Sep-2009 22:32:11] not well-formed (invalid token) at line 92, column 41
    [27-Sep-2009 22:32:14] not well-formed (invalid token) at line 10, column 252
    [27-Sep-2009 23:41:19] mismatched tag at line 424, column 80
    [27-Sep-2009 23:41:20] not well-formed (invalid token) at line 92, column 41
    [28-Sep-2009 00:46:21] mismatched tag at line 420, column 80
    [28-Sep-2009 00:46:22] not well-formed (invalid token) at line 92, column 41
    [28-Sep-2009 00:46:27] not well-formed (invalid token) at line 10, column 252
    #####################

    Unless those “not well-formed (invalid token)” references are to something on WOAS, I have no clue on what’s going on, but I checked the php file for WOAS and I don’t think lines 92 or 10 have anything to do, and the script doesn’t go up to line 420…

    I’m really puzzled…

  6. Sarah says:

    Hi Dario, Looking at the source code of your site the page dies right after the closing h2 of the plugin title. From what I can see you’re using the widget version of the plugin?

    The only solution I can suggest here is if you want to use my contact form (link at the top) and send me a temporary admin account login for your site, I can take a look, do a couple of checks in the plugin code and hopefully work out why it’s not displaying the content. It’s clearly doing the hard bit (getting the feed data), so it must be a bug with the plugin widget or a conflict with something.

  7. Hi again, Sarah,

    Thanks for your assistance. I’ve sent a message with the requested info. Thanks for so much willingness to help!

    🙂

  8. jamie says:

    I love this plugin. It means that I dont really use BLOGLINES anymore. There are one or two blogs that do NOT show up though and I cannot figure out why.

    here is an example of one of the feeds that wont show on my page:

    http://rhodemontijo.com/blog/?feed=rss2

    (the blog should be called CUENTOS) and it is a WORDPRESS blog. Thanks for any tips!

  9. A Johnson says:

    I’m trying to figure out where the rest of the configuration is. Your figure 1 shows the options pane, figure 2 shows advanced options which I don’t seem to have.

    Am I not loking in the right place or is it missing?

    This is in WP 2.8.5

  10. A Johnson says:

    Oh OK, Thank you Sarah, it’s formated differently in WP 2.8.5 and I’m noobish. 😛

  11. Sarah says:

    Yeah, the screenshots are a little out of date. I’ve not had time to update them 🙂

  12. Emma says:

    Hi Sarah,
    I get an error when I try to activate the plugin.

    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Cannot redeclare woas_adminmenu() (previously declared in /xxx/wp-content/plugins/what-others-are-saying/other-posts.php:22) in /xxx/wp-content/plugins/what-others-are-saying/other-posts.php on line 23

    My blog is on a server with safe-mode on, but I’ve had no problem activating other plugins, if that has anything to do with it.

    I’m using wordpress 2.8.6.

    /Emma

    • Sarah says:

      Hi Emma, you’re getting the error because either you have two instances of the plugin on your site, one is activated and one isn’t, or the plugin file has corrupted, as the error is stating that it’s trying to declare the function woas_adminmenu twice, and the file doesn’t do that so somewhere along the line something is incorrect with your setup or file. It states line 22 and 23, and the function is declared on line 21 so I think your file needs checking.

  13. KeeMan says:

    Hi, love this plugin very much.

    Just curious, is it possible to add in “image thumbnail” or snapshot for each link?

  14. Sarah says:

    Hi KeeMan, it’s not something I’ve thought of doing but it could be possible as you can add an image to the link in the Add/Edit link page. I’ll add it to the list for you 🙂

  1. Wed, 3 February, 2010

    […] Download: What Others Are Saying WordPress Plugin […]

  2. Thu, 25 February, 2010

    […] optimiert werden, damit es zum Rest der Sidebar passt, aber ansonsten ist es gut. Das Plugin heisst “What Others Are Saying” und ist von “Sarah”. var addthis_language = 'en'; Filed under Uncategorized […]

  3. Tue, 25 May, 2010

    […] When I first tried it out I thought it was an improved version of my friend Sarahs plugin ‘What Others are Saying‘. Sarahs plugin allows you to add a widget to your blog which displays the latest articles […]

  4. Tue, 3 January, 2012

    […] just updated it – so feast on the wealth of news, thoughts, and art! I finally found a great plugin to replace Google Reader for the job, which will make it easier to keep the feed list up to date […]

Leave a Reply

%d bloggers like this: