CreateHTML replaceFeedKeywords

The function saje.jar/CreateHTML:replaceFeedKeywords uses information from the rss feed, and the Feed Style Sheets to replace the keywords in template item with HTML.

The code is given as follows: replaceFeedKeyword:   function (feed, s) { var footer; switch (s) { case "**TITLE**": return this.entityEncode(feed.getTitle); case "**LINK**": return feed.getLink; break; case "**AUTHOR**": if (feed.hasAuthor) { return "&lt;div class=\"feed-author\"&gt;" + this.entityEncode(feed.getAuthor) + "&lt;/div&gt;"; }                return ""; case "**DESCRIPTION**": if (feed.hasDescription) { return feed.getDescription; }                return ""; /*            case "**LOGOLINK**": return feed.getLogo.link; case "**LOGOALT**": return feed.getLogo.alt; case "**COPYRIGHT**": return feed.getFooter.copyright; case "**GENERATOR**": return feed.getFooter.generator; case "**EDITOR**": var editor = ""; footer = feed.getFooter; if (footer.editor) { editor = "&lt;a href=\"mailto:" + footer.editor + "\"&gt;Editor&lt;/a&gt;"; if (footer.webmaster) { editor += ", "; }                }                 return editor; case "**WEBMASTER**": footer = feed.getFooter; if (footer.webmaster) { return "&lt;a href=\"mailto:" + footer.webmaster + "\"&gt;" + strRes.GetStringFromName("feed_summary_webmaster") + "&lt;/a&gt;"; }                return ""; */            case "**ITEMS**": return this.getItemsHtml(feed); }        return s;     },