Verified Commit 636b1a4a authored by Marco Kellershoff's avatar Marco Kellershoff 🤸
Browse files

Fix xml template

parent 1f210fff
...@@ -8,4 +8,8 @@ ...@@ -8,4 +8,8 @@
<video:expiration_date><%= expdate %></video:expiration_date> <video:expiration_date><%= expdate %></video:expiration_date>
<video:publication_date><%= pubdate %></video:publication_date> <video:publication_date><%= pubdate %></video:publication_date>
<video:family_friendly><%= famfriendly %></video:family_friendly> <video:family_friendly><%= famfriendly %></video:family_friendly>
<video:restriction relationship="disallow"></video:restriction>
<video:category></video:category>
<video:tag></video:tag>
<video:subtitles_loc></video:subtitles_loc>
</video:video> </video:video>
...@@ -45,7 +45,15 @@ function xml_txt(locals, escapeFn, include, rethrow) { ...@@ -45,7 +45,15 @@ function xml_txt(locals, escapeFn, include, rethrow) {
"</video:publication_date>\n <video:family_friendly>" "</video:publication_date>\n <video:family_friendly>"
); );
__append(escapeFn(famfriendly)); __append(escapeFn(famfriendly));
__append("</video:family_friendly>\n</video:video>\n"); __append("</video:family_friendly>\n ");
__append(
'<video:restriction relationship="allow"></video:restriction>\n '
);
__append("<video:category></video:category>\n ");
__append("<video:tag></video:tag>\n ");
__append(
"<video:subtitles_loc></video:subtitles_loc>\n</video:video>\n"
);
} }
return __output.join(""); return __output.join("");
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment