WordPress Widget King RSS
It´s Sunday again … well, time to spam the Net with another wild King Widget. It took me some time to figure out what i could do to an RSS Widget to make it a little more geek-orientated.
Last night i found the solution. I got inspired by a WordPress RSS Plugin made by the SimplePie Team. The Plugin did not threw me of my chair but SimplePie provides a pretty neat looking RSS-Feed-Mangeling – Class which i instinctivly had to check. The time was well spend and the SimplePie RSS class is really doing a good job.
Anyway enough of those boring "under the hood"-details, you came here for an RSS Widget. King RSS allows you to have a different looking feed in every widget. It has HTML fields with placeholders (%title% / %link% ..) to configure the feed title information and each feed list item. If course you also have some switches to play with, there is an Ad-Stripper, a caching mechanism, configurable feed text length, No. of feed items …go check the features.
Before i forget, you can also use a feed function inside your template (Documentation comming soon).
Features
Version 0.52
– NEW: Remote Version Check.
– Bugfixes: Problems when displaying only in a special category/Area, faulty stripads call. Thanks to Vidal
initial Version 0.5
– HTML Fields which take template Code for displaying the RSS. Those fields have placeholders for:
- RSS Feed Title Information: Site URL / Feed Image /RSS URL / RSS Icon
- RSS Item Stuff: author / categories / date / link / text
– Configurable feed item date with php time syntax
– Configurable feed item text length or full article
– No. of feed items to display
– Switch to default settings
– Configurable Error Message when feed can´t be reached
– strip ads out of the feed (google / Doubleklick / pheedo)
– Caching mechanism with option to clear cache folder (there´s is no cachetime field, because SimplePie is working on a better fetching)
– function to use inside your templates (indipenditly from widget)
– HTML fields to customize HTML before/after widget
– Fully localizable with gettext Translation (German Translation included in framework)
– Set on which Website Area to show the Widget. Options are:
- show "NOT on special page area" which can be combined with "Show in Category" (List/Article)
- show on Home / Search / Archive / Author or 404 page
- show on all or special single Page. You can set the id or slug of the Page where to show
- show on all or special single Article You can set the id or slug of the Article where to show
- show on all or special Category Listing You can set the id of the Category where to show
- Show if inside a Category (with ID). For Category Listings and also Articles
You find all Options explained in the WordPress Codex in Conditional Tags make sure to definitly read this if you are using those Options!
– based on the king widget framework
Screenshot / Screencast
English Admin Screens
king_rss_english_admin_screenshot 1.jpg
king_rss_english_admin_screenshot 2.jpg
German Admin Screens
king_rss_german_admin_screenshot_1.jpg
king_rss_german_admin_screenshot 2.jpg
Screencast (English)
Quick and dirty swf video with a rough overview of the basic features
Comming Features
– Whatever you might suggest…
Install
Of course you should have wordpress widgets installed and activated. If not, you can find the download and install instructions over at automattic.com
– Copy king-rss.php into your plugins widget folder -> where your widgets.php is !!!
– Copy the widget Framework in /king-includes into /plugins (need new version from 18.06.2006)!!
– activate in Pluginarea.
– Drag the King RSSWidget on one of your sidebars, set default Options first and then play with it.
– Your Cache folder MUST have write Permissions depending on your server (777). I´m using the same cache folder like WordPress, in "wp-content/cache/" , so in most cases the permissions should already be set.
Usage
I did not had the opportunity to test all kinds of RSS Feeds. Therefore there might be some hidden Bugs or more needed features.
Atm don´t have the time to write an extensive tutorial. If you are a total beginner in html and wordpress you probably just want to use the original wp rss widget. If you still want to try i made a default switch to give you a descent start.
If you want to use the RSS Function inside your templates, please stay tuned i´ll document that after i´ll get the first feedback.
I have changed the License. It is not GPL for this widget. You are free to use it in private and charity enviroment. If you are using it for commercial purposes please contact me for a little licence fee and enhanced support.
Download
Please don´t hesitate to give me a feedback if this is usefull or if you think you found a bug!
Have fun!
Georg Leciejewski
WordPress Widget King RSS
You can follow all the replies to this entry through the comments feed.
- By on 29.02.2008 at 15:29
- By on 06.01.2008 at 12:46
- By on 16.12.2007 at 22:13
- By on 08.07.2007 at 6:15
- By on 06.07.2007 at 0:46
- By on 05.07.2007 at 23:43
- By on 29.06.2007 at 2:30
- By on 08.12.2006 at 12:01
Same as LazyHippy, I’m having problem installing it in WordPress 2.2.2
thanks
Yup. It doesn’t work with WP 2.2
activating the framework will throw this up:
Fatal error: Call to undefined function get_admin_page_title() in /home/domain/public_html/wp-admin/admin-header.php on line 12
hope this error call helps the future development.
thanks!
Same as LazyHippy, I’m having problem installing it in WordPress 2.2.2. I don’t think this widget works with integrated Sidebar Widgets plugin. 😐
Doesn’t seem to work with the latest WP…
Getting
Fatal error: Call to undefined function: get_admin_page_title() in /home/wordpress-path/wp-admin/admin-header.php on line 12
When I activate it.
Looks like your getting a lot of spam comments here mate! Seems like a cool plugin… just gonna see if it works with WP2.2
I am glad to post my views and points in this blog, but I must say that webmaster of this blog has done a very great job to make his blog more informative and more discussable but unfortunately everthing is same here that more than 80% in this and other blogs
artpromcompany.com
thanks
very nice site
i use RSS on my website and doing really great job
hi!
It’s mentioned before but could you please write some documentation/hints (functionnames would be a great start) for using a feed function inside templates?
thnx!
hi there,
I am using this widget to display latest posts, by using a feed, it looks like this atm: http://zice.ro/ check out the sidebar.
but as these are posts from diffferent blogs, I would like to show it in the following format:
post title
blog url
post text
I am not sure how to show the blog url, if I use %link% it gives me the whole url to the post, I just want the basica blog url…
any help?
i´m using the simplePie rss reader library and i only depend on its parsing intelligence. so if the content is not read this might be due to a lack of parsing from simplePie.
But there is a new SimplePie version out and i recoded nearly all my widgets, so maybe the new version can parse the feed
Great plugin, but is there a way so that we can add custom tags? For instance, I’m trying to get it to work with a script that lets you pull your flickr favorites and converts it into a rss feed. The only problem is that it uses the following syntax:
`
Foto de
http://www.flickr.com/photos//
"/>]]>
-0400
@ flickr.com
`
Which does work, because of the content:encoded tag. I’ve tried replacing it and using other tags, but then it doesn’t work.
The script can be found here:
http://b3co.com/scripts/flickrss.phps
I would really appreciate it!
good text , thank
Awesome widget, btw. Clearly the best of breed for pulling RSS into a sidebar.
The simplepie library supports two keywords for displaying the feed’s description: showdesc and shortdesc. I noticed that you’ve only included support for the shortdesc which strips all of the html tags out. As such I’ve had to use their WordPress plugin, with the King Text Widget in order to display the thumbnails from my photoblog feed. Any chance you might add support for the showdesc keyword?
Great widget! Makes it looks so much better then the standard RSS widget. I’m a little confused. Looks like a Google reader RSS (like this one = http://www.google.com/reader/public/atom/user/13591982616306169049/state/com.google/broadcast) must call the title of an article something wierd, When I use your widget the google reader feed puts the originating site name in as the %title%. So instead of „Visa Cuts Off AllOfMp3.com“ it says „Slashdot“
Sorry to be a bother.
Php is not my thing – but with wordpress I’m just getting into hacking it – so I will take a look. When you are in Berlin – say hello to c-Base for me
If you are a little convienient with php you can take a look into the code.. near the bottom is the function which grabs and generates the feed. you can call this function in your template by setting the params in the code.. I´m off to berlin taking a week programming holiday.
I’d like to now the syntax for using a feed function inside templates (Documentation comming soon)?
Ideally I want to be able to do this in posts and pages too. You should probably mention that you cannot have this widget and the SimplePie plugin at the same time!
I’d love to be able to limit the number of characters in the post title.
Awesome widget, btw. Clearly the best of breed for pulling RSS into a sidebar.
of course no problem. you can define one widget area for that page and drag all your feeds in there.
the feed output itself is completely configurable over the widgets admin area
I have about 5-6 feeds that I’d like to use on 1 page and only list maybe the latest 4-5 feed links from each – is that possible?
Is there no way to use this for XML feeds too – might be a silly question but I know nothing about this stuff! Thanks
Yes of course there are images supported. Those can be in the text and also the feed image of the feed.
To see what is possible with the simplePie rss library i am using, you can head over to their site:
http://simplepie.org/
The plugin looks so sweeeet
I am wondering if there is any image support however…
The smplepie library i´m using for parsing the rss can have probs with some feeds. i tested this widget with all other king widgets.
To find out where the problem is you should try another feed and of course check the html which is beeing rendered! Use this firefox plugin for that : http://users.skynet.be/mgueury/mozilla/
Depending on your layout and widgets default html you have to adapt the html custom fields.
THere is a bug in this I think… when I installed it after a Comments widget it through up a faulty xml language line and threw out my whole sidebars….!
Love the RSS widget. Great job with it!
Feature request:
I would love to see an option for random items.
@Alex: if you can translate it. No Problem.
You go to implement accent?
ex: português and not portugu?s.
Hey, would you be interested in Swedish translations? I would like to get in touch with you since I will soon be releasing a couple of themes with a pretty unique way of using widgets – and your „content widget“ sounds like something similar to what I do. If this sounds interesting, drop me a note!
Yeah damn, i was a bit too fast on that one. I´m making an update right away! The error occurs when you set a specialarea or category id.
You should read the codex(kinda long to explain)to understand what the page area switches are for.
http://codex.wordpress.org/Conditional_Tags
Thanks
Hi, I’m using your great plugin,
If got a little error with your plugin.
I’m running 2 King RSS widgets and I want to display the rss feed on a specified categorie in the options of the king rss widget.
But I get this error: check here
http://ball-spin.com/category/nfl/
And what does mean „Area ID“?
Hope you can help
Vidal