web rss feeder ver1.0 alpha
Wouldn’t you like to display the rss feed from other websites/blogs in your own website or blog? Well, now you can with this simple, and easy to configure widget. You can see an example of how it works if you look in the right column (”Latest from BBC” section). Don’t worry, about the look. Since the content get appended to your own website(no iframes or other tricks) you can easily manipulate the look of your widget with the help of CSS.
You can get the code from here.
For CSS styling you should know the structure:
h2 -> item title.
p-> item description
#ct_logo -> id of the “powered by… ” at the bottom. If you don’t wish to display it, … display:none; should be enough.
All the elements are structured like this
<ul> <li><h2>Title</h2></li><li><h2>Description</h2></li>……</ul>
P.S. Being an alpha release, it means it still has a lot of things to be fixed, but it should do it’s job if configured properly. I have tested the widget wih IE5+, FireFox and Opera8. If you have any kind of problems, bugs to report, or just say thanks, drop a comment. Cheers.

lodevebloc wrote:
Hi dear codetaler ! I appreciate your rssfeeder
script (the other scripts i found out there dont work or produce tables instead of the expected list !)
I’m not a js expert. I have 2 questions.
1) you use in the script a window.onload = function(){loadXML()}, so that I have to choose between rss feeding or my wonderful adjustfocus() effect for my homemade css navbuttons ;-(
2) the script works great ! better than feedroll one, though is there a way to extract the author name and dates from the feed ?
Best regards
stf
Posted 19 Mar 2007 at 12:25 pm ¶
adisan wrote:
Sorry for my late response… Yep, I’m working at the final release that will support all the RSS features(date, author.. etc). As for the onload function, I will have a fix also to support extra onload actions too.
Posted 02 Apr 2007 at 11:54 am ¶
jonboy wrote:
Hi - great script, really useful.
I am getting a lot of odd characters from a wordpress blog, you know the sort of thing, £ instead of £(£) etc. Have you got any tips to screen these out?
Thanks
JB
Posted 12 Jun 2007 at 5:39 pm ¶
adisan wrote:
It’s a character encoding issue. If they use non-standard english characters and declare the wrong UTF this is the result… Unfortunatly there’s not much I can do to fix the problem. One thing that should solve the problem, would be to escape the characters like £ with their HTML alias. For example £ should be & pound ; (without spaces).
Posted 15 Jun 2007 at 11:13 am ¶
Doug wrote:
I was wondering if there was a way, using your script or a variation of your script of getting two rss feeds on the same page. Could you maybe give me an example of how this is done using the kind of code you get from your generator. Thanks!
Posted 28 Jun 2007 at 8:01 pm ¶
jonboy wrote:
Thanks for the character encoding reply. Is there some javascript or PHP I can put in my page to do a search/replace on common characters? Thanks, JB
Posted 29 Jun 2007 at 3:47 pm ¶
Doug wrote:
Is there any way I could have the link open up in a new, _blank window?
Posted 29 Jun 2007 at 7:55 pm ¶
adisan wrote:
@jonboy
if you control de rss source, you can use PHP to regexp your chars, if not, you can use a javascript function to format the output with regular expression.
@Doug
not at the moment
Posted 02 Jul 2007 at 10:16 am ¶
adisan wrote:
@Doug
Well, you can add a second rss feed with iframe though it’s not the best solution.
Posted 02 Jul 2007 at 10:17 am ¶
Doug wrote:
Well, if I had a project like this I would try to let the user have customization options. Maybe have the code produce some style as well, based on the users selections (-font type, font size, background color, list style type, padding-)
But my comments before would be nice to incorporate into a new version, at least letting the link open in a new window anyway.
The other suggestion would probably be a lot harder to accomplish, but having more than one rss feed scrolling at a time (without using an iframe) might be helpful to some. I have an rss feed block on my clients web page that scrolls through cnn.com woai.com and nws.com getting the top stories from their part of the world and thats something they need to look at all the time.
If I can think of anything else, I’ll let you know. Thanks!
Posted 19 Sep 2007 at 3:34 pm ¶
adisan wrote:
Thanks for your suggestions Doug:)
So far I’ve already put in my todo list to folowing:
- support for multiple rss objects on one page(no iframes offcourse);
- css customization;
- rss mashup (from multiple sources);
- animation styles (scroll, news band, static etc.);
Posted 22 Sep 2007 at 8:37 pm ¶