Multiple Feeds / Multiple Styles
May 29, 2005
Based on several requests, we have added a new option that provides a means to have different instances of Feed2JS content on the same page displayed with different styles. Entering "foo" into a new input field on the
build form or passed in the JavaScript string as
css=foo allows the feed content (by default a class named "rss_box") to be specified as "rss_box_foo", so a separate set of styles can be applied.
For examples, look at (and peek at the source code) of an
example with two wildly different styles and
a second one with more similar styles where the only difference is a class that defines the background color.
So it is possible to apply multiple styles, the burden is on the page designer to properly set up specialized sub classes. Your mileage may vary.
In addition, we now provide an optional
on the examples page a tasty web badge (also on the left sidebar of this page) so you can give credit and link back for your use of Feed2JS.
Write a comment