Enhancement: Allow to set encoding for RSS output
Tags: Enhancement RSS
The agent (AGNT - Stories RSS Feed)|stories.xml uses the script library RenderEngine.RSS to render RSS feeds. Previously this rendered the stories.xml with UTF-8 encoding. English speaking blogs don't see any problems with the encoding I believe. However, my Norwegian blog had some issues with problematic encoding as it wouldn't accept Norwegian characters. I know that somehow this should probably be transparent if you have all Web server settings etc properly aligned. I have however never been able to align all these settings. I have therefore added a possibility to override the UTF-8 encoding in the Blog Configuration's RSS section, like this;
This makes it possible to render the RSS properly no matter the Domino server settings
The agent (AGNT - Stories RSS Feed)|stories.xml uses the script library RenderEngine.RSS to render RSS feeds. Previously this rendered the stories.xml with UTF-8 encoding. English speaking blogs don't see any problems with the encoding I believe. However, my Norwegian blog had some issues with problematic encoding as it wouldn't accept Norwegian characters. I know that somehow this should probably be transparent if you have all Web server settings etc properly aligned. I have however never been able to align all these settings. I have therefore added a possibility to override the UTF-8 encoding in the Blog Configuration's RSS section, like this;
This makes it possible to render the RSS properly no matter the Domino server settings
This change involve the Blog Configuration document as stated above. The field cfg_rss_RSSEncoding may or may not contain the encoding. If not present, the default value will be UTF-8. In addition I have several changes in the script library RenderEngine.RSS. First I have defined a global variable RSSEncoding, which is set in the initializeRenderEngine function, like this;
Then several places in RenderEngine.RSS has changes like the one below;
