KB Plugins

The best Wordpress plugins are free

Print this post

KB Advanced RSS v1.7

It’s now available for download here .

If you upgraded Wordpress but didn’t upgrade the widget, please don’t post saying that the widget doesn’t work. If you’re looking for advanced usage tips, check here.

I realize that the title of this post says “v1.7,” but feel free to comment about later versions too. I update the thing too frequently to start a new post every time I make a change. (Don’t worry, most changes are minor and you don’t usually need to upgrade unless you want to.)

Okay. You can ask support questions here. If you are getting an error message, you might want to try typing it into that search box in the sidebar first.

34 comments »

1
Bierflesje exclaims
at 9:05 am on July 26, 2007 #

The download link isn’t right.
Should be: [link]

Thanx for the plugin

2
Thus saith Adam
at 9:12 am on July 26, 2007 #

Oops. The link pointed to one of my other plugins. It’s fixed now.

3
Taylor remarks
at 4:40 am on July 30, 2007 #

Adam-

Is it possible to change the formatting of the date? For example, on your feed the date shows as:

[pubdate] => Thu, 26 Jul 2007 15:13:19 +0000

Can the plugin change that to July 26, 2007?

4
Thus saith Adam
at 8:02 am on July 30, 2007 #

Taylor–

My plugin simply returns the feed output, it doesn’t modify it. You could write this customization yourself. For tips, see the FAQ. (Look for the heading that says something like “I’d like to display only part of a field”.)

5
Tim proclaims
at 7:05 pm on August 4, 2007 #

Very cool plugin. The only stumbling block I’m having is that the title I input on the options page is being wrapped in li tags, and if I leave it blank, the li tags are still there. If you can point me to where in your code I can get rid of that and use h tags (just for the title, not the actual content), or just get rid of the title altogether, I’d be most appreciative. If that makes sense.

6
Thus saith Adam
at 9:44 am on August 5, 2007 #

Tim,

The widget doesn’t do that, your theme does. Your theme probably has a file called “functions.php” that tells the sidebar widgets what formatting to use around titles. You’ll need to change that. More info:

[link]

7
Jochen says
at 12:41 am on August 11, 2007 #

Why can this RSS-Feed (http://www.dslr-forum.de/external.php?type=rss2&forumids=123,102,108) not shown up in Wordpress?

Please help

regards from germany
Jochen

8
Thus saith Adam
at 8:16 am on August 11, 2007 #

Jochen, It works for me, so I’m not sure what to say. Maybe you need to upgrade to the most recent version of Wordpress?

But more to the point, this widget doesn’t grab the feeds–wordpress/includes/rss.php does that. This widget just gives you a bit more control over the output than the standard RSS widget does. If the feed doesn’t show up in the standard RSS widget, it won’t work in this one either.

9
Thus saith Adam
at 6:50 pm on August 15, 2007 #

A note to all those who see this message:

“An error has occured; the feed is probably down.”

I’ve updated the FAQ on this issue. It might be a problem with your host.

10
cjessing adds
at 11:47 am on September 3, 2007 #

Adam: I am still having trouble with this feed: [link]

Using KB RSS v1.7 are there any solution in the near future?

Claus

11
Thus saith Adam
at 1:26 pm on September 3, 2007 #

Claus, my to-do list is a bit overwhelming right now. But I do have one suggestion. Take a look at the first comment on this post.

12
Keith remarks
at 3:35 pm on September 21, 2007 #

Is it possible to make the title link a popup?

13
Thus saith Adam
at 9:51 am on September 22, 2007 #

Keith:

[link]

Note the use of target=’_blank’

14
at 4:13 pm on September 26, 2007 #

Hi, is your plugin compatible with Wordpress 2.3?

Thank you.

15
Thus saith Adam
at 4:14 pm on September 26, 2007 #

I have no idea. Try and see, I guess.

16
at 4:20 pm on September 26, 2007 #

Okay, I installed it, I would like to display the rss feeds inside a page, could you tell me what the php tag is to invoke your plugin?

17
Thus saith Adam
at 4:23 pm on September 26, 2007 #

This is a widget–it can’t be used as anything but a sidebar widget. Check the FAQ.

18
at 4:24 pm on September 26, 2007 #

Ah got it, thanks.

19
at 5:02 pm on September 26, 2007 #

Just one more question, I have got it working, but can I add more than one rss feed?

20
at 5:03 pm on September 26, 2007 #

Ignore the above question, figured it out, sorry :)

21
luca opines
at 10:46 am on November 9, 2007 #

my problem:
in the KB Advanced RSS v1.7 ’s box–> An error has occurred; the feed is probably down. Try again later.
please help me

22
Thus saith Adam
at 10:50 am on November 9, 2007 #

Didn’t read the post before commenting, it would appear?

an error has occurred faq

23
Jairus remarks
at 12:56 pm on November 30, 2007 #

Is it possible to selectively display items within an array — within another array? so:

[moderated: Please use `backticks` around code]

Array
(
   [0] => Array
       (

           [cb] => Array
               (
                   [country] => CA
                   [basecurrency] => CAD
                   [targetcurrency] => USD
                   [value] => 0.9908
                   [ratetype] => noon
                   [application] => statistics
               )

       )

   [1] => Array
       (

           [cb] => Array
               (
                   [country] => CA
                   [basecurrency] => CAD
                   [targetcurrency] => USD
                   [value] => 2
                   [ratetype] => noon
                   [application] => statistics
               )

       )

…and I want to display the -second- value?

24
Thus saith Adam
at 1:29 pm on November 30, 2007 #

Check out example 4 in the instructions and see if that answers your question:

[link]

25
Jairus remarks
at 1:55 pm on November 30, 2007 #

I can use the ^array=>item$ to pull an item out, but what i can’t do is use it to pull an item in an array contained in a 2nd array. Something like ^array=>subarray=>item$ doesn’t work.

I hope that makes sense.

26
Thus saith Adam
at 1:57 pm on November 30, 2007 #

Could you give a link to the feed so I can play with it?

27
ibanez182 proclaims
at 1:29 am on December 11, 2007 #

Hi,
I need to use your GREAT plugin without widgets.
How can I do it?

Is there a function that I can call inside my php document?

28
Thus saith Adam
at 8:47 am on December 11, 2007 #

I suppose you could, but there’s a better way. My widget is based on the magpie RSS package. If you’re coding directly in PHP rather than using the widgets interface, you’ll probably have an easier time of it if you just use magpie rss directly.

Magpie is already included in the WP build as wp-includes/rss.php. Look at the top of my plugin file for how to activate those functions. Something like this, if I remember right:

if (!function_exists('fetch_rss'))
  require_once(ABSPATH . 'wp-include/rss.php');
29
at 11:06 pm on January 2, 2008 #

Okay, thank you very much for the plugin. It worked the first time…however, it disabled the sidebar2.php file that I had edited, but that was solved with the text widget…on to the problem at hand.

the following feed [link] results in exactly the data I want, but when I view the source, I see the following problem:

Under the (item) –> (description) element, there is code to generate the path to the image for that post, but it’s all screwed up. I’d like to figure out how to display the image in the widget using your plugin.

Problem 2. The link element has the root website with the property MLS number as the subfolder. I’m interested in extracting the MLS number at the end. Your plugin allows us to limit the number of characters that we pull from an element, but what about allowing a range of characters. This would be ^link$, but starting at position 27 and ending at position 35. The reason I need to do this is to add a specific URL in front of the MLS number for the property. If I could do this, I could solve problem number 1 by extracting the MLS number which is also the image naming convention and applying that to an image tag within the plugin.

Thanks for your time!

30
Jon Griffith remarks
at 11:54 pm on January 2, 2008 #

How about that! I have very little idea how to code, and I figure out that if I add the following to line 200 of your plugin, I get exactly what I want…however, it’s not customizeable and I have to duplicate your plugin php file to use it for other feeds on the same blog. If there was a way to implement this through the widget I would be better off.

31
at 11:55 pm on January 2, 2008 #
echo ('<a href="http://susan.sonorangmac.com/' . ltrim($item['link'],'http://www.sonorangmac.com/') . '">'. $item['title'] . '</a>');
32
Thus saith Adam
at 8:46 am on January 3, 2008 #

Hmm. A left trim option in the widget. I could probably do that later this week.

Glad you got it figured out for now.

33
Jon Griffith comments
at 12:16 pm on January 3, 2008 #

I actually had to modify it because it also needs a right trim of the left trim.

echo ('<a href="http://susan.sonorangmac.com/' . ltrim($item['link'],'http://www.sonorangmac.com/') . '">'. $item['title'] . '</a>');
					echo ('<img src="http://photos.gmacreco.com/MLSListings/150/Full/' . rtrim(ltrim($item['link'],'http://www.sonorangmac.com/'),'/') . '.1.jpg" width=170 height=127>');

Since the end of the URL has a forward slash, the resulting image was incorrectly parsed as /1315465/.1.jpg.

34
Thus saith Adam
at 3:35 pm on January 3, 2008 #

I just uploaded a brand new, rewritten version of the plugin to wp.org. It now includes a built-in left-trim option. Try it out.

It’s also easier to modify, I’m hoping. I’ve posted instructions in the FAQ.

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.