August 17, 2007

My new (improved) blog headlines widget

I have now made a new (and much better) blog headlines widget using only javascript (no php required). This has allowed me to include links, and possibly images in the feed which is displayed in the widget, whereas the previous widget did not!

To create this widget, I used the gAjax Pausing RSS Scroller scripts from Dynamic Drive. Rather than relying on a php script to parse the rss feed before it is displayed on my page, this one instead uses Google Ajax Feed API to host/cache the desired RSS feeds, so you don't have to install or host anything on your own server.

In order to make the script work, I needed to upload two javascripts to my web host, and add a small amount of code to my template which includes the Google API specific to this site.

This version of the scrolling headlines is much easier to use and install, and I would highly recommend it to anyone who would like to install such a widget on their own blog. To download all the files needed to create your own scrolling headlines widget, please visit this page on the Dynamic Drive site.

Technorati Tags: | | | | |

Advertise on Blogger Buster

Browse through the Archives

All existing posts are still available to view while I'm working on the site, albeit seen in a much simpler interface. Feel free to browse through the archives to find tutorials, templates and articles to help you build a better blog:

Blog archive

© Blogger Buster 2010 Home | About | Contact | Hire Me | Privacy Policy