The KB Advanced RSS widget is done. Read about it here.
-
Pages
-
Recent Comments
- Bouncy Castle Hire Weston-Super-Mare Unregistered on Behold! A new version of KB Advanced RSS!!
- Sheel Unregistered on Updated: KB Easy Picasaweb
- Schulte Unregistered on Behold! A new version of KB Advanced RSS!!
- kevinator Unregistered on Behold! A new version of KB Advanced RSS!!
- kevinator Unregistered on Behold! A new version of KB Advanced RSS!!
- Joseph Ugoretz Unregistered on KB Gradebook help
- Juha Unregistered on KB Countdown Widget v3.1
-
KB Spam Blacklist
Since January 28th, 2008, KB Spam Blacklist has killed 7,617 spam comments--that's 4,701 more than Akismet has caught!.
-
KB Gradebook Demo
What is my password? -
KB Countdown 1
Today Hyrum is 3 years, 4 months, and 17 days old--that's 21.1% of the way to a driver's licence.
-
KB Countdown 2
Hyrum ist heute 3 Jahre, 4 Monate, und 17 Tage. -
KB Countdown 3
According to the death clock, I have 16,342 days (44 years, 1 month, and 30 days) left.
-
KB Countdown 4
Time since America's declaration of independence:Years: 233 Months: 8 Days: 17
17 Comments
prob with wordpress 2.2.1, no data are displayed
Adam, something doesn’t seem quiet right. I’m running 2.2.1 and it installs everything fine. I actually send it a category feed so that on my sidebar it shows the latest posts of the a category I have going.
But then that’s it. It doesn’t update itself! I can post all the posts I want in that new category feed, and the system doesn’t seem update the listing.
Is there a delay in updating the feed? And if so, how long, and for debugging purposes, is there anyway to shorting this time?
Other then that, if there is no delay, then it’s just not working, which is strange. Help, and thanks!
”
To keep page loads quick, the widget stores a copy of the feed in cache. Only when the cache is more than 1 hour old will the widget update. You can change this. Search the widget file for “3600″ and change it to the number of seconds that you want it to cache. (3600 seconds is 1 hour).
- Adam (May 23, 2007, 5:58 pm) » Permalink
”
DOH! Nevermind. Thank you!
Caching defaults to 1 hour, but it’s buggy in the newest versions of WP. Wordpress’s built-in RSS parser has a 1-hour cache. In earlier versions of WP, this cache was buggy and would sometimes not update at all. I built a workaround into the widget. Search the widget file for “3600″ to see the bit where I flush the RSS cache if it’s more than 1 hour old. But this workaround has problems with the newest versions of WP. I still need to work on it, but am swamped with my real work right now.
Looks like you posted while I was writing my response… So now I guess you have it twice.
Awesome plugin :-D just what i needed. I need to be able to use this and it goes away when there isnt a feed.
Think Emergency weather broadcast. I want it to pop up with flashing lights when there is an bad storm alert and go away when there isnt one.
Is there a way to do this? right now it will just say no current feeds.
thanks
Brandon:
Search the code for this:
That’s where the widget starts printing output to your page. If you don’t want it to print anything when the feed is empty, then just before that block of code, try pasting in this:
That should do the trick.
Thanks for the quick response. I believe this will work. However. the feed is actually i guess pumping out “There are no active watches, warnings or advisories in Pennsylvania (Montgomery/PAZ068)”
so what i want to do is when That particular text shows up in the feed, it widget doesnt come up. (sorry im horrible at php, it just wont sink in)
Thanks again!
Ahh. Then you just need to check whether that’s what the message says. Then instead of this
… which checks whether the feed is empty, you want something like this:
[moderated: Released from Akismet queue]
your damn quick man! awesome. okay i inserted the code. and nothing. well its still there. :(.
am i doing it right? Once again Thank you so much!
hrmm. my comment seems to have gotten lost. I did everything as you said. and its still coming up :(
okay i see whats happening. the rss doesnt have anything for that location so i just comes up with “‘There are no active watches, warnings or advisories in montgomery county” etc. but the rss is full of stuff.. so i dont think this is going to be easy :(
reference: [link]
I’m a little confused. When I look at that feed, I don’t see the text “there are no active watches” anywhere in it, so I’m not sure where that message is coming from if not from the feed. Is that the exact URL you’re using?
ha no its not. In the widget this is the rss url:
[link]
sorry
Ahh. My bad. My little piece of code doesn’t specify which part of the feed it’s checking. Change the code I gave above to this so that it’s checking against the title:
By the way, the
$ignorething only needs to be a substring of the title. I noticed in the code you pasted that you added on the “in Pennsylvania” stuff. It won’t hurt, but it’s not necessary.awesome thank you.
it works :-D