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.
63 comments »
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.
Yes, but it’s more complicated that way. Look in the FAQ under “What code do I place in my sidebar?”
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.
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.
@Marcis: Google for “magpie rss”.
Adam for me thereisnt a solution?? u can help me??
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.
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 :)
I use this, with
<ul>and</ul>before and after: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?
Thanh, just scroll down in your widgets admin screen to increase the number of widgets available.
Awesome. That works great, I didnt notice that the settings were all the way at the bottom. Thanks for this plugin!
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?
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?”
thanks. do you knwo how to include the whole post into the feed? I think it is but not sure?
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?
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!
ok, this is embarrassing… i think i’m getting it now. i just did not understand at first. thanks!
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!
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.”
Thanks Adam, I don’t know about the feed to figure out what to do to get the images. Thanks for answering anyway!
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.
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" />)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
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?”
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
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.phpor 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.
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!
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.
is it possible to add a custom color into the widget properties so I can change only that one parameter?
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.
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.
This isn’t how you call a PHP function:
You call it like this:
Hope that helps.
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?
Oops, there’s at typo in the code. Sorry. On line 148, find this:
Change it to this:
That should fix it.
Perfect!!
Lots of thanks!! And I must admit I’m very glad you answered so fast. Chapeau.
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
Jeff, just delete the icon URL in the widget’s settings.
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!
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
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.)
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?
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!
comments 39 and 41 right above yours, mate.
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.
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.
Sorry joshua, accidentally deleted your comment while fixing formatting. Here was your error msg, for future reference:
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.
Just wanna say this is the best wp plugin I’ve ever used. Great Job. Thanks so much.
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:
Can you point to me in the right direction to troubleshoot?
Thanks a million!
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.
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.
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.
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.
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!
@Genie. Your feed URL is wrong. Read up. Not sure why you are grabbing feeds from your own blog.
@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/).
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
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
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.
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!
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.
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… ;-)
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