Archiving Radio stories and weblog entries

An e-mailer asks if there's a way to use my Workbench tool to display a list of weblog stories and entries on the same page.

Radio generates the list of stories with a macro, radio.macros.viewStoryList(). To create a page that lists both stories and weblog entries, open one of the text files you've created that uses the viewPostIndex() script and add this line:

<%radio.macros.viewStoryList()%>

The page will be upstreamed automatically after you save it. If you'd like to add weblog entries to your existing story page, edit the file index.txt in Radio's www/stories folder and add this macro:

<%Workbench.viewPostIndex()%>

Add a Comment

All comments are moderated before publication. These HTML tags are permitted: <p>, <b>, <i>, <a>, and <blockquote>. This site is protected by reCAPTCHA (for which the Google Privacy Policy and Terms of Service apply).