RSS2JS Build JavaScript and Preview

The tool below will help you format a feed's display with the information you want to use on your web site. All you need to enter is the URL for the RSS source, and select the desired options below.

First, be sure to preview the feed to verify the content and format. Once the content is displayed how you like, just use the generate javascript button to get your code. Once the content looks okay, move on to our style tool to make it "pretty".

URL Enter the web address of the RSS Feed (must be in http:// format, not feed://)

Note: Please verify the URL of your feed (make sure it presents raw RSS) and check that it is valid before using this form.

Show n' Tell!


Show channel?
Display information about the publisher of the feed ("yes"=show the title and description; "title"= display title only, "no"=do not display anything)
yes title no

Number of items to display.
Enter the number of items to be displayed (enter 0 to show all available)

Show/Hide item descriptions? How much?
("0"=no descriptions; "1"=show full description text; a num > 1 = display first num characters of description; "-1" do not link item title, just display item contents)

Use HTML in item display?
("yes" = use HTML from feed and the full item descriptions will be used, ignoring any character limit set above; "no" = output is text-only formatted by CSS; "preserve paragraphs" = no HTML but convert all RETURN/linefeeds to <br /> to preserve paragraph breaks)
yes no preserve paragraphs only

Show item posting date?
Display the time and date for each item.
yes no

Time Zone Offset
Date and time are converted to GMT time; to have it display in local time, you must enter an offset from your current local time to Wed, 10 Mar 2010 19:41:31 +0000 (GMT). If your local time is 5 hours before GMT, enter -5. If your local time is 8 hours past GMT, enter +8. Fractional offsets such as +10:30 must be entered as decimal +10.5. If you prefer to just display the date is recorded in the RSS, use feed

Target links in the new window?
("n"=no, links open the same page, "y"=yes, open links in a new window, "xxxx" = open links in a frame named 'xxxx', "popup" = use a JavaScript function popupfeed() to open in new window)

UTF-8 Character Encoding
Required for many non-western language web pages and also may help if you see strange characters replacing quotes in your output.
use UTF-8 character encoding

Podcast enclosures?
For RSS 2.0 feeds with enclosures, display link to media files
yes no

Custom CSS Class? (advanced users)
Use to create different styles for multiple feeds per page. Specify class for content as rss-box-XXXX where XXXX is the value entered below. Style sheets must be created in accordance with RSS2JS guidelines.