View Full Version : weather.com rss feed question

01-02-2008, 08:30 AM
I am using weather.com's rss feed with rss2html. I've set the script to only output one feed item. I've removed the title, and time/date leaving only the item description which includes a small image of the type of weather plus the temperature. Is it possible to create a CSS style so that the text of that feed is aligned differently to the weather graphic included in that feed? It's alignment is default from the looks of it but id like to left align the text to the image so its starting at the top of the weather graphic. Can anyone give me an idea of how to do this or is it even possible to change the layout of only the description of an rss feed?


01-02-2008, 04:10 PM
Hmmm... because RSS Feeds are actually XML formatted to display the feeds correctly you would need to create an XSL Stylesheet to accompany that feed so that you can apply style to it. However, I have not yet fiogured out how to get this to work myself. Try googling a few examples and explanations of using XSL to style XML and then apply it to the RSS Feeds and see what happens.