~aprates/gempress

4695436a63b38056877f1ea363d1945f2dc6019c — Antonio Prates 7 months ago ba3630c
Keep xmlns as http instead of https
1 files changed, 2 insertions(+), 2 deletions(-)

M src/atom.c
M src/atom.c => src/atom.c +2 -2
@@ 28,7 28,7 @@ string author = "";
string remoteBaseUrl = "";
string feedDir = "log";
number maxAtomEntries = 15;
string rootMeta = "<feed xmlns=\"https://www.w3.org/2005/Atom\">\n\n";
string rootMeta = "<feed xmlns=\"http://www.w3.org/2005/Atom\">\n\n";
string urlMetaFragment = "\" rel=\"alternate\" />\n    <title>";

// other global vars derivated or set during processing


@@ 97,7 97,7 @@ void readConfigFromLine(string line) {
  if (startsWith(line, "langCode")) {
    string langCode = getConfigValue(line);
    rootMeta =
        join3s("<feed xmlns=\"https://www.w3.org/2005/Atom\" xml:lang=\"",
        join3s("<feed xmlns=\"http://www.w3.org/2005/Atom\" xml:lang=\"",
               langCode, "\">\n\n");
    urlMetaFragment = join3s("\" rel=\"alternate\" hreflang=\"", langCode,
                             "\" />\n    <title>");