Commit 7b02fc2e authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add a sample robots.txt that returns the location of the XML sitemap.

parent 0030611d
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_text</string> </key>
<value> <unicode encoding="cdata"><![CDATA[
<tal:block tal:define="dummy python:context.REQUEST.RESPONSE.setHeader(\'Content-Type\', \'text/plain\');\n
web_site python:context.getWebSiteValue()">\n
<tal:block tal:condition="python:web_site is not None">\n
Sitemap: <tal:block tal:content="python:web_site.absolute_url()"/>/WebSite_viewSiteMapAsXML\n
</tal:block>\n
</tal:block>
]]></unicode> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>robots.txt</string> </value>
</item>
<item>
<key> <string>output_encoding</string> </key>
<value> <string>utf-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <unicode></unicode> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
2011-12-01 Kazuhiko
* add a sample robots.txt that returns the location of the XML sitemap.
2011-11-30 Kazuhiko
* add WebSite_viewSiteMapAsXML that returns the XML sitemap defined in http://www.sitemaps.org/protocol.html .
......
1073
\ No newline at end of file
1074
\ 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