SimpleRSS.fwaction (2010-06-15) (Downloaded 34 times)
Compatible: Pro 4 and Pro 5
Author: Walter Davis
Apply this Action to an HTML box to convert its contents into an RSS feed. A link to the feed will be added to the head of the page, where browsers will notice it and generate a link in the Location bar.
Whenever the box is updated, a new feed will be generated.
There are some simple rules for the content of this box. As long as you follow them exactly, you can style the content to your heart’s delight.
Only use HTML elements, images and graphic text headers will not work at all.
The headline of each item in the feed should be a link to the full HTML version of the item you’re describing.
The description of each item may not be multiple paragraphs. If you want to break the description into two or more sections, use Shift-Return twice to enter two
<br /> tags instead of a regular Return.
Draw an HTML box on the page. Double-click into this box to get a text cursor. Type the first headline for your feed. Press Return. Type a short description of this headline and press Return again. Highlight the headline text and add a link to the full version of whatever you are linking to in the usual Freeway manner.
Repeat these steps until you have all the items in your feed. The last description paragraph does not need an final Return following it, but it’s harmless if it’s there.
Click once on the HTML box so you see its selection handles. Apply the SimpleRSS Action to the box, and configure the Action using the Actions palette.
Publish your site, and preview in a browser. You should see the little RSS icon in your Location field, and if you click it, you will be asked to subscribe to your feed.
You can use any text tag for your headlines and descriptions, as long as you follow the basic rules above; alternating linked headlines with single blocks of description text.
You can style your text as paragraphs, any H tag, unordered or ordered lists, or definition lists.
You can apply any sort of inline or paragraph styling you like to either the headline or the description, and the headline link does not have to completely wrap the entire headline text. As long as there is some sort of link somewhere in the headline, this will work. Note that this style will only be visible in your page (and only if you did not check Delete Source). Your styles will not appear in the RSS reader view because RSS feeds do not have style – they’re just text.