Skip to content

Refactor sitemap generation approach to be XML-aware #1369

@amoeba

Description

@amoeba

I see

<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:sm="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd">
<sitemap>
<loc> https://neutral-cat.nceas.ucsb.edu/sitemap1.xml </loc>
<lastmod>2019-07-16</lastmod>
</sitemap>
</sitemapindex>

and, from looking at the code, it looks like our attempt at making pretty-printed XML with string concatenation isn't working so well. Should be a quick fix.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions