KB Plugins

The best Wordpress plugins are free

Print this post

Released today: KB Advanced RSS 2.1

The newest version of the my RSS widget for WordPress integrates several suggestions made by commenters on this post. Among the changes:

  • A checkbox to reverse the order of the feed’s contents
  • An option to hide that annoying “the feed is down” error message when the feed is empty
  • Options to bypass the script stripping, so you can allow javascript in feeds you trust.

Download now

63 comments »

1
Detrom proclaims
at 3:57 am on January 31, 2008 #

Hi, thanks for the plugin. I have one question, can i use KB Advanced plugin out of my sidebar? i dont know what code i need to do it.

Thanks.

2
Thus saith Adam
at 8:48 am on January 31, 2008 #

Yes, but it’s more complicated that way. Look in the FAQ under “What code do I place in my sidebar?”

3
Alessandro exclaims
at 10:50 am on February 1, 2008 #

Hi, i installed also version 2.1 and i’ve same problem…

This is what i wrote on vers 2.0:

Hi, ive a problem, when i show my (rss title) it convert the ‘ or ” with ? why this??

Please help me , its important.

4
at 8:29 am on February 2, 2008 #

How can I (if ever) add the RSS data to my frontpage, which is not blog and no WP?! How do include it? It’s php. Thanks in advance, great tool.

5
Thus saith Adam
at 9:36 am on February 2, 2008 #

@Marcis: Google for “magpie rss”.

6
Alessandro opines
at 4:13 pm on February 2, 2008 #

Adam for me thereisnt a solution?? u can help me??

7
Thus saith Adam
at 7:11 pm on February 2, 2008 #

Alessandro:

That probably means that the feed contains an HTML entity that magpie RSS (WordPress’s parsing engine) cannot understand. Check the FAQ under “I need to debug the feed.” If you see the error when in debug mode, then there’s nothing I can do for you.

Remember, this plugin doesn’t parse the feed–it uses WP’s built-in parses (Magpie). This feed just adjusts how WP displays the feed.

8
Dan R thinks
at 12:48 pm on February 5, 2008 #

I have been trying to emulate your RSS setup on your site under the header “KB Advanced RSS” ..I am using rss feed “http://rss.news.yahoo.com/rss/health” can you give me the layout so I can try and set it up that way???

Thank you for a GREAT plugin :)

9
Thus saith Adam
at 1:40 pm on February 5, 2008 #

I use this, with <ul> and </ul> before and after:

<li><a href="^link$" title="^description$">^title$</a><ul><li>^description[opts:trim=60]$...</li></ul></li>
10
Thanh remarks
at 1:46 pm on February 5, 2008 #

can this plugin can add more than 1 RSS feed? I would like to add another feed to my front page, is it possible? If not, maybe a feature for your next release?

11
Thus saith Adam
at 1:49 pm on February 5, 2008 #

Thanh, just scroll down in your widgets admin screen to increase the number of widgets available.

12
Thanh exclaims
at 11:20 am on February 6, 2008 #

Awesome. That works great, I didnt notice that the settings were all the way at the bottom. Thanks for this plugin!

13
jack exclaims
at 2:50 pm on February 19, 2008 #

hi adam!
love your plugin! had a question. i wanted to insert the entire rss post into the sidebar. I plan to have short tips and wanted them separate from the rest of my site… can I do this with your plugin?

14
Thus saith Adam
at 7:36 pm on February 19, 2008 #

jack: If it’s in the feed, you can display it. Check the documentation. In particular, look in the FAQ under “what fields are available in the feed?”

15
jack adds
at 7:23 am on February 20, 2008 #

thanks. do you knwo how to include the whole post into the feed? I think it is but not sure?

16
jack writes
at 7:27 am on February 20, 2008 #

ok, i’m a little new to this, thank you for oyur time…
in the faq you say something about “?kbrss=http://path.to.feed/” where do I put this? in your plugin? in the sidebar? in the address line of my browser?

17
jack says
at 7:51 am on February 20, 2008 #

one more question…
i’m reading the “other notes” category. and i think i’m missing an essential point. where do i do these edits? in the plugins editor? the theme editor or a file on my server… thanks in advance!

18
jack comments
at 8:12 am on February 20, 2008 #

ok, this is embarrassing… i think i’m getting it now. i just did not understand at first. thanks!

19
Ash exclaims
at 3:48 pm on February 24, 2008 #

The feed I am using is from a gallery and has images with it, but only the titles and link is showing. I was hoping this plugin would allow the images and descriptions. I’m not sure what I need to add to achieve this. Any help would be appreciated!
Thanks!

20
Thus saith Adam
at 8:28 am on February 25, 2008 #

Ash:

By default, only the titles show. You need to fiddle with the options to display other stuff from the feed. How you do that depends on the specific feed in question.

Check the FAQ under “which fields are available in the feed.”

21
Ash thinks
at 11:18 am on February 25, 2008 #

Thanks Adam, I don’t know about the feed to figure out what to do to get the images. Thanks for answering anyway!

22
at 6:14 am on March 4, 2008 #

Hi Adam,

I wonder if it’s possible to specify only the first “link” in an RSS feed. My problem is the RSS Google reader gives me to work with (see here: [link]).

Your Plugin reads the feed just fine, however it combines both links (^^ plus ^^) so the link gets invalid.

23
at 6:16 am on March 4, 2008 #

edit:
<link rel="alternate" href="http://on10.net/blogs/sarahintampa/21369/" type="text/html" /> plus <link rel="alternate" href="http://on10.net/" type="text/html" />)

24
G opines
at 11:16 pm on March 7, 2008 #

Great plugin! exactly what I was looking for now that feeddigest.com is no longer reliable. Unfortunately I am using google rss reader and I am having the same problem as Christoph Voigt. Google uses the same element ids for various elements. How crazy is that! Escpecially the element. Any help with this is greatly appreciated. Thank you.

Regards,

G

25
Thus saith Adam
at 8:39 am on March 10, 2008 #

I’m a bit swamped at the moment. But I wouldn’t be able to look at this anyway without a link to an RSS feed.

In the meantime, have you checked the bit in the FAQ under “I need to debug the feed?”

26
G proclaims
at 11:06 am on March 10, 2008 #

Hey, thanks for the reply! Here is an example of a google reader broadcast rss. As you will quickly surmise, google uses the “link” field to denote the url of the source blog and the url of the individual source post. This leads to two links being displayed in each item of the rss widget. If we could somehow limit to the first “link” field we would probably resolve the situation.

Yes, I did read the faq section and that is why I think it is possible to resolve but I think it would require “modifying the feed” which is something I am not technically capable of achieving. And since this affects the widely used google rss broadcast feeds I thought everyone would benefit. I was not surprised to see I am not the only one affected by this. Thank for your feedback!

Regards,

G

27
Thus saith Adam
at 12:23 pm on March 10, 2008 #

Ahh, thanks for the example. Now I see what you mean.

Google’s use of the link tag twice for each entry is confusing Magpie. Magpie is the PHP class that parses feeds. It shows up in wordpress as wp-includes/rss.php or something like that.

My widget doesn’t parse the feed–it sends the feed to WP’s built-in version of Magpie. So there’s not an easy fix for me to implement within the plugin.

However, here’s a suggestion. For some reason, WP comes with an outdated version of Magpie (unless they’ve changed that with a recent update, I haven’t checked). Another user of this widget made this suggestion (comment #1) for an unrelated problem; it may help here too.

28
Dan remarks
at 11:15 am on March 11, 2008 #

When I select “Link title to feed URL” it works fine; however…the title is blending into the background color I have set on my theme….is there a way to customize that link so it shows as White text? I have tried to adjust my theme css but i have been unable to figure out a way to set it so it doesn’t mess up other links in my theme. Sorry if this is a n00b question, it’s drivin me crazy!

29
Thus saith Adam
at 11:19 am on March 11, 2008 #

Yes, adjusting your theme’s CSS is the way to go. That’s really all I can tell you, though–every theme is different.

If you really can’t figure it out, you’ll need to give your URL so I can look.

30
Dan adds
at 12:02 pm on March 11, 2008 #

is it possible to add a custom color into the widget properties so I can change only that one parameter?

31
Thus saith Adam
at 12:53 pm on March 11, 2008 #

The widget will have a custom CSS class that you can fiddle with in your theme’s stylesheet, but that class might have a slightly different name from theme to theme. In my theme, that class is widget_kbrss.

But if you ask any more questions along these lines, you’ll need to give your URL or I won’t be able to answer. Sorry.

32
judas exclaims
at 10:05 am on March 12, 2008 #

This is a really great plugin and I’m using it in several ways. I consider my blog as mi face on the Net, so I use your plugin to track my notes on FaceBook and to display links to sites I comment on by using del.icio.us feeds and tags. The result is a complete map of my Web presence. Thanks a lot.

Yo can see it working at mi home: a very important part of my sidebar is made using 5 times your plugin, calling 5 times the function kb_rss_template. But I have a little issue: I can’t control how many items in RSS are displayed. In code, I placed this, for example:

kb_rss_template($url = 'http://del.icio.us/rss/ishkarioth/comentado', $format = '^title$‘, $numItems=7, $utf=false, $echo=true)

But I’e getting 10 elements instead of 7 no matter what I change. I guess it could happen because in kb_advanced_rss.php…:

function kb_rss_template($url, $format, $numItems=10, $utf=false, $echo=true){
global $kb_advRss;
return $kb_advRss->display_template( $url, $format, $numItems, $utf, $echo );

and maybe that 10 is overwriting my preferences when calling the function on sidebar. And there is a 10 too in the arguments of the display_template function.

¿Can I fix this by simply changing «$numItems=10» with «$numItems»? New with php… Thanks in advance.

Sorry about my english: I’m spanish.

33
Thus saith Adam
at 10:17 am on March 12, 2008 #

This isn’t how you call a PHP function:

kb_rss_template($url = 'http://del.icio.us/rss/ishkarioth/comentado', $format = '^title$‘, $numItems=7, $utf=false, $echo=true)

You call it like this:

kb_rss_template('http://del.icio.us/rss/ishkarioth/comentado', '^title$', 7, false, true);

Hope that helps.

34
judas adds
at 10:52 am on March 12, 2008 #

Ops, now I feel like a stupid… Said I was new in php.

I’m still getting 10 elements…

That’s not a big problem by now, but I have a section where I want to show only the last item, and I woukd like to use your plugin to do so.

¿What can be going wrong?

35
Thus saith Adam
at 11:03 am on March 12, 2008 #

Oops, there’s at typo in the code. Sorry. On line 148, find this:

$options[0]['num_items'] = $args[1];

Change it to this:

$options[0]['items'] = $args[1];

That should fix it.

36
judas says
at 11:23 am on March 12, 2008 #

Perfect!!

Lots of thanks!! And I must admit I’m very glad you answered so fast. Chapeau.

37
at 8:03 am on March 20, 2008 #

Is there a way to hide the icon in the title bar?
In fact, I would like to display the widget with no title bar at all.
Is this possible?

Thanks!

Jeff

38
Thus saith Adam
at 9:47 am on March 20, 2008 #

Jeff, just delete the icon URL in the widget’s settings.

39
Jay thinks
at 1:58 am on March 24, 2008 #

Just installed the new RSS plugin, and I am a bit of a novice with Wordpress. But I was curious if the html code should be inearted under admin to make the RSS feed pop up in a new _blank window? If so what where and what would that code be? Also could that be added as a feature?

Would love to be able to have certain feeds open in a new blank tab/window, and other be open in my content section. Don’t want to lose viewers to another site if they start clicking away.. Thanks!

40
JP writes
at 11:18 am on March 24, 2008 #

Hi Adams,
First of all thanks for a great widget.

I installed it the first day and it worked just fine but then it stopped.

Now when I activate the widget it cuts off the page right before the where the widget is supposed to display.

When I take it remove the widget from the sidebar then the page goes back to normal.

Can you help?

Thanks

41
Thus saith Adam
at 2:19 pm on March 25, 2008 #

Jay:

Please, please, please don’t use the _blank attribute. I am one of many people who hates that.

If you must do it, see here. (That link should take you to comment #9 on a previous post.)

42
Thus saith Adam
at 2:20 pm on March 25, 2008 #

JP:

Sounds like the widget is experiencing a PHP error. Put it back in your sidebar and go to whatever page was getting cutoff. View the HTML source and scroll all the way to the end. Is there an error message there? What does it say?

43
Hansson proclaims
at 12:17 pm on March 26, 2008 #

Could you give me a hint on how to add rel nofollow tags to the linked titles, and how to have them open in _blank target?
I appreciate very much your work and your help. Thank you!

44
Thus saith Adam
at 12:26 pm on March 26, 2008 #

comments 39 and 41 right above yours, mate.

45
joshua comments
at 1:41 pm on March 31, 2008 #

Plugin worked great.. then I moved hosts and now running php 5.2.5.. busted it. The widget dialog box will not open in the widgets pane, and the widget topped producing output on the render side. WP 2.3.3. Ideas? Thanks.

46
Thus saith Adam
at 3:54 pm on March 31, 2008 #

joshua: Look for PHP error messages. Otherwise, I’m at a loss to guess. E.g. in the widgets admin screen, view the HTML source. Is there a PHP error in there (probably at the end of the page)? Hit ctrl-f and search the source for “error” and see if anything shows up.

47
Thus saith Adam
at 10:36 am on April 1, 2008 #

Sorry joshua, accidentally deleted your comment while fixing formatting. Here was your error msg, for future reference:

Fatal error: Cannot use string offset as an array in /www/vhosts/.../wp-content/plugins/kb-advanced-rss-widget/kb_advanced_rss.php on line 159

I’m fairly sure I know what the problem is. But I’m not convinced the problem is line 159 of the current version of the widget; I’m thinking it’s really line 149. What version of the widget are you using? It will say in your plugins admin screen.

48
David writes
at 7:30 pm on April 6, 2008 #

Just wanna say this is the best wp plugin I’ve ever used. Great Job. Thanks so much.

49
Michael writes
at 7:31 pm on April 7, 2008 #

Hi, Adam. Understand your real-world concerns. So if you read this and can respond, great. If not, no worries.

Anyhow, I’ve read up and down the many pages here and remain baffled by the “An error has occurred…” problem. I know the feed’s not down because it’s displaying properly in the stock RSS widget at the same time as your widget is displaying the error message.

The feed I’m using is from Yahoo Finance:

http://finance.yahoo.com/q/h?s=acn,aig,anf,boom,chl,csco,cvs,ebay,fast,mdt,ne,pg

Can you point to me in the right direction to troubleshoot?

Thanks a million!

50
Thus saith Adam
at 11:05 am on April 8, 2008 #

That’s odd that it would work in the default RSS widget but not mine, given that they both use the same backend parser. Generally, if it works in one of the two widgets, it should work in both.

I notice that the feed has some errors in it.

Also, have you looked at this?

If those suggestions don’t help, I’m afraid I don’t have time at the moment to dig deeper looking for problems.

51
John P. remarks
at 2:32 pm on April 8, 2008 #

Great plugin. I use it primarily to convert feeds to UTF-8 (which WordPress doesn’t do as you know!). In WordPress 2.5, I noticed the ‘help’ dialog box unfurls automatically when you drag a new KB widget onto the sidebar. There’s something funky in the way the widget page is set up in WordPress 2.5 because when I have your plugin activated and try to use Fluency Admin 1.1, the widget page freezes hard. Deactivate your plugin and it’s fine. Odd.

52
Michael opines
at 5:43 pm on April 10, 2008 #

Thanks, Adam.

Yes, I have reviewed the other information on your site, tried updating Magpie, etc. I swear I tried hard to figure it out myself before imposing on you! ;)

Anyhow, interesting that the feed isn’t valid. I suppose I should take it up with Yahoo.

But it’s definitely true that the feed displays in the stock widget (though the links are badly formed, which is why I went looking for another solution) while your widget displays the error message.

53
John P. remarks
at 6:16 pm on April 11, 2008 #

When you add a new KBrss widget, all the text inside the ul tags within the div id kb_rss_help_# echos on widget.php. Very odd. Heading tags and paragraph tags do not echo. I believe something in the widget.php style is conflicting with the plugin styling.

WP 2.5, kb ver 2.1.2.

54
Genie writes
at 2:12 pm on April 12, 2008 #

The plugin works great for one of my RSS feeds, but not for another. I’m trying to use it to display the most recent entry from one of my categories on my WP blog. If I use the RSS from the entire blog, it works But if I use the one for a specific category, it doesn’t (says the feed is down). :(

[link] works

[link] doesn’t (for my OMG category)

I tried to use the ?kb_rss tool to see what elements are in my rss feed from WP, but it tells me I need to be logged in as an administrator, even though I am. You can see my experiments on the main page on the right

Any help greatly appreciated!

55
John P. opines
at 4:25 am on April 13, 2008 #

@Genie. Your feed URL is wrong. Read up. Not sure why you are grabbing feeds from your own blog.

56
Genie contributes
at 8:18 pm on April 13, 2008 #

@John P. My main page only shows entries of a particular category and I want to have entries in this other category show up in the sidebar. Interestingly enough, I found another person’s WordPress blog that is giving similar errors but only for his RSS feeds that have tags (http://ordinarywebguy.wordpress.com/).

57
Miguel contributes
at 12:10 am on April 18, 2008 #

Hello Adam, your plug in is great. I just want to ask you if theres is a way to put the entire content of the feed in the rss list and not only the description.

i tried with this, but i did’t work

^title$ ‘^content$’

Thank You

58
david proclaims
at 8:32 pm on April 18, 2008 #

re your excellent kb-advanced-rss wordpress plugin

Hi Adam and the other readers,

great plugin it works fantastically!

quick question im pulling up an rss feed in the side navbar. when one of the rss news items is clicked how do I get it to open up in a new window instead of opening up and changing in the current parent window?

I realize I must have to change the source code somewhere, but don’t know where and don’t know what to, hope you can help.

many thanks in advance

David

59
ThePete remarks
at 1:53 am on April 22, 2008 #

Great plugin (as I’m sure you know by now)!! :) One question–is there a way to get it to auto-link URLs listed in the feeds? I’m using it to display my Twitterstream and I don’t have enough space in each entry to include href tags.

60
at 6:28 pm on April 26, 2008 #

Hi - great plug-in, thanks. Any way to filter a feed (e.g., by category)? I’m getting a feed from blogtalkradio which has blog posts as well as ‘radio’ shows and just want to display the shows.

Thanks!

61
Carl opines
at 10:28 pm on April 28, 2008 #

I have a suggestion for the next version. Normally, there is an option for linking the title of the feed to the feed’s URL (it’s nice to be able to disable this btw). But it would be even better if we could manually enter a URL for the title to link to. For instance, I use this to display the latest posts from our forum, on our Wordpress powered main site. However, I do not want to link to the forum’s feed, but I do want to link to the forum itself. Thanks for this great plugin.

62
Li-An remarks
at 7:35 am on April 29, 2008 #

Hello,
I wanted to know if it’s possible to show images. I tried Simplepie for Wordpress and it shows text and images but with your plugin (and Magpie I suppose), I can only hâve text. I cannot use Simplepie any more because I need to disable other plugins to make it work… ;-)

63
Roman opines
at 12:57 am on May 8, 2008 #

Hello,

nice plugin but how can I add value ‘author of title’ to the output feed? I have no clear about that.

Leave a comment

Comment Guidelines
  • Yes, your comments will be visible to everybody. (Unless you use the private contact form.)
  • Allowed HTML: <a> <b> <blockquote> <cite> <code> <em> <i> <strong>
  • Code: Put code in `backticks` (above your "Tab" key) or it won't display well
  • Gravatars: To override the default image by your comment, use a gravatar
  • Links: If you include more than one link, your comment will go into the spam queue

Please read before commenting: Because my real job has me swamped at the moment, I am not supporting my plugins at this time. Sorry. This may last several weeks.

If you have a bug report, feature request, or other general feedback about a plugin, please leave a comment—but do not expect an immediate response. If you are requesting help, though, please check the plugin's documentation thoroughly rather than ask your question as a comment.

Thank you for your understanding.