RSS Feeds

Previous answer
Main page of Friday 101
Next answer

Friday can generate an RSS feed for your site. Here's how to set things up.

Edit the Main, Answer and optionally FullFAQ templates
To let users know that they can subscribe to your feed, add this somewhere in the HEAD section of your template files:

<link rel="alternate" type="application/rss+xml" href="rssfeed.xml" title="your title">

Some browsers will indicate an available RSS feed to the user when they see this.

Edit your Friday.FQA file
Add the following to your Friday.FQA file. Edit the lines the lines indicated:

[RSS]
MakeRSS=YES
;
; EDIT THESE 
RSSFeedTitle=The title of your feed
RSSHomeURL=Your site's home page
RSSDescription=A description of your feed
; The URL of your html files, less the actual filename
; Example for our PPT FAQ site; note the final forward slash:
RSSHyperlinkBase=http://www.rdpslides.com/pptfaq/
; END OF NECESSARY EDITS
;
; Do you want a chance to edit the RSS feed content before it's saved?
; YES if so, anything else if not
RSSEditBeforeSave=YES
; 
; How should Friday process your FAQ text before handing it to you to edit as RSS feed?
; See below for an explanation
; PLAIN | ASIS | FIXED | DESCRIPTION | DESCRIPTIONFIXED
; Default is FIXED
RSSPreProcess=DESCRIPTION
;
; this is added to publication date:
RSSGMTOffset=EST

About RSSPreProcess
FIXED - HTMLEncodes the answer text for the FAQ
PLAIN - Answer text, stripped of all HTML
ASIS - Answer text, as is
DESCRIPTION - Uses the Description from the FAQ
DESCRIPTIONFIXED - Uses the Description from the FAQ, HTMLEncoded

After making these changes ...


Filename: FAQ00180.htm
Last edited on 4/9/2009 5:05:00 PM

Naturally, all content & site maintenance by

Friday The Automatic FAQ Maker