http://www.ergoswim.co.uk/sitemap_gen.py Parse error: parse error, unexpected T_STRING in /home/ergo/public_html/sitemap_gen.py on line 121 I can't seem to get past this when I've trying to generate my first sitemap. I'm not very technically minded. Can anyone help point me in the right direction please? I don;t know xml so that doesn't help. Does anyone have a very simple config file they could post? Thanks, Gay
What is the code on lines 120, 121 and 122 of sitemap_gen.py? It's a bit hard to help when we can only see the error message and not the code.
# XML formats SITEINDEX_HEADER = \ '<?xml version="1.0" encoding="UTF-8"?>\n' \ line 121 '<sitemapindex\n' \ ' xmlns="http://www.google.com/schemas/sitemap/0.84"\n' \ ' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\n' \ ' xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84\n' \ ' http://www.google.com/schemas/sitemap/0.84/' \ 'siteindex.xsd">\n' SITEINDEX_FOOTER = '</sitemapindex>\n' SITEINDEX_ENTRY = \