DominoWiki - Feature Request: Adding HTML link element for the RSS feed to the $$HTMLHead
This will help user agents that automatically detect RSS feeds in web pages.
I've added it to the end of the $$HTMLHead field at the end:
REM {Hard-code the layout stylesheet name & global Javascript file};
REM {But we could have several styles, so let's make it easy to define};
REM {a look & feel for the whole site in the config doc. If you change this};
REM {be sure to change the HTMLHead in the login PAGE too...};
db := "/" + @WebDbName;
REM {This JS variable is referenced by Wiki form onLoad()};
mode := @If(@IsDocBeingEdited; "true"; "false");
jsMode := "<script language=\"JavaScript\" type=\"text/javascript\">" +
@NewLine + "<!--" + @NewLine + "var editMode = " + mode + ";" + @NewLine +
"// -->" + "</script>";
js := "<script type=\"text/javascript\" src=\"" + db + "/rsrc/wiki.js\"></script>";
styles := "<style type=\"text/css\" media=\"all\">@import \"" + db +
"/rsrc/layout.css\";</style>" + @NewLine + "<style type=\"text/css\"" +
" media=\"all\">@import \"" + db + "/rsrc/" + LookAndFeel + "\";</style>";
rss := "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS Feed\" href=\"" + db + "/rss?ReadForm/\" />";
styles + @NewLine + rss + @NewLine + js + @NewLine + jsMode + @NewLine
Taken Actions by OwnersDocuments