Yahoo verification file has incorrect content
tuaris - October 21, 2009 - 05:14
| Project: | XML sitemap |
| Version: | 6.x-1.1 |
| Component: | xmlsitemap_engines.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Description
Yahoo site explorer is expecting the verification file's content like this (Where "XXXXXXXXXXXXXXXX" is the verification key):
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
<!-- XXXXXXXXXXXXXXXX -->
<HEAD>
<TITLE>
</TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>But the Site Map module is creating a plain text file with just the key.

#1
Fix attached
#2
To attach the file, it was enough to change the extension to .txt.
I am attaching the file contained in the archive found in the previous comment (to use it, the file must be renamed xmlsitemap_engines.pages.inc).
It is preferable to attach a patch, rather than the full modified file.
#3
This feature has been removed in the latest code. Please use the Site verification module.