Commit cb59ef47 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

set content-type properly in XML sitemap.

parent 730c377a
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <unicode encoding="cdata"><![CDATA[ <value> <unicode encoding="cdata"><![CDATA[
<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n <tal:block define="dummy python:request.RESPONSE.setHeader(\'Content-Type\', \'application/xml;; charset=utf-8\')"><?xml version=\'1.0\' encoding=\'UTF-8\'?>\n
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\n <urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\n
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"\n xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"\n
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">\n xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">\n
...@@ -66,7 +66,8 @@ ...@@ -66,7 +66,8 @@
</tal:block>\n </tal:block>\n
</tal:block>\n </tal:block>\n
</tal:block>\n </tal:block>\n
</urlset> </urlset>\n
</tal:block>
]]></unicode> </value> ]]></unicode> </value>
</item> </item>
......
1079 1080
\ No newline at end of file \ No newline at end of file
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