Home | Warum | WordPress Widgets & Plugins

18. Juni, 2006

Wordpress Widget King RSS

Wappen King RSS Widget WordpressIt´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_engl_admin_1.jpg king_rss_english_admin_screenshot 1.jpg

king_rss_engl_admin_2.jpg king_rss_english_admin_screenshot 2.jpg

German Admin Screens

king_rss_german_admin_1.jpg king_rss_german_admin_screenshot_1.jpg

king_rss_german_admin_2.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

 
- lazy loading, so that the site is build up and then the feed is loaded
- implement more of SimplePie´s Class Features
- more Options for the formating

- 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

 
Version 0.52
 
king-rss_0.52.zip king-rss_0.52.zip (22.06.2006 15:14)
 
don´t forget to download the king-widget framework
!! Needs new Version of Framework from 22.06.2006 !! (or newer)

 

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

 

Verwandte Artikel:

48 Kommentare zu “Wordpress Widget King RSS”

  • 1.

    [...]   King RSS,用于显示RSS的Widget,后台有丰富的内容控制。 [...]

  • 2.

    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

  • 3.

    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

  • 4.

    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!

  • 5.

    You go to implement accent?
    ex: português and not portugu?s.

  • 6.

    @Alex: if you can translate it. No Problem.

  • 7.

    Love the RSS widget. Great job with it!

    Feature request:
    I would love to see an option for random items.

  • 8.

    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….!

  • 9.

    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.

  • 10.

    The plugin looks so sweeeet :)

    I am wondering if there is any image support however…

  • 11.

    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/

  • 12.

    Is there no way to use this for XML feeds too – might be a silly question but I know nothing about this stuff! Thanks

  • 13.

    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?

  • 14.

    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

  • 15.

    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.

  • 16.

    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!

  • 17.

    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.

  • 18.

    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 :)

  • 19.

    [...] King RSS,用于显示RSS的Widget,后台有丰富的内容控制。 [...]

  • 20.

    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.

  • 21.

    [...] King RSS,用于显示RSS的Widget,后台有丰富的内容控制。 [...]

  • 22.

    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?

  • 23.

    Awesome widget, btw. Clearly the best of breed for pulling RSS into a sidebar.

  • 24.

    good text , thank

  • 25.

    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!

  • 26.

    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

  • 27.

    [...] King RSS Widget – WorkInProgress [...]

  • 28.

    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?

  • 29.

    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!

  • 30.

    [...] Visit [...]

  • 31.

    i use RSS on my website and doing really great job

  • 32.

    very nice site

  • 33.

    thanks

  • 34.

    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

  • 35.

    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

  • 36.

    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.

  • 37.

    [...] Wordpress Widget King RSS – Feed-widget, som kan lidt mere end SimplePies ditto [...]

  • 38.

    [...] RSS WordPress Widget: Now, it gets interesting, the King RSS plugin (powered by SimplePie)allows you to get really specific with where and how you want to place your [...]

  • 39.

    [...] RSS WordPress Widget: Now, it gets interesting, the King RSS plugin (powered by SimplePie)allows you to get really specific with where and how you want to place your [...]

  • 40.

    [...] RSS WordPress Widget: Now it gets interesting, the King RSS plugin (powered by SimplePie) allows you to get really specific with where and how you want to place your [...]

  • 41.

    [...] Visit [...]

  • 42.

    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. :|

  • 43.

    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!

  • 44.

    [...] RSS WordPress Widget: Now it gets interesting, the King RSS plugin (powered by SimplePie) allows you to get really specific with where and how you want to place your [...]

  • 45.

    [...] +++ pr4 http://theappleblog.com/2006/06/03/m…reen-displays/ pr4 +++ http://www.blog.mediaprojekte.de/cms…dget-king-rss/ pr4 + p6.hostingprod.com/@ricardosblog.com/blog/2006/12/join_the_latin_america_blogrol.html pr5 [...]

  • 46.

    [...] King RSS Widget – WorkInProgress – will edit my post once I’ve used this plugin properly. King Text Widget – VERY, VERY useful widget. It allows you to basically convert any script or normal plugin into a widget. Currently used extensively on this site, at least until ‘proper’ widgets are found for each purpose. [...]

  • 47.

    thanks

  • 48.

    Same as LazyHippy, I’m having problem installing it in WordPress 2.2.2