Tag Info

Hot answers tagged

6

You are asking two questions here. Does a sitemap need to be XML? The simple answer is no, it doesn't have to be XML. It can be XML file, a text file or RSS/Atom feed (which is basically XML), HTML Sitemap HTML Sitemaps: These are used on your website to display the layout in layers on your website to any customer that would wish too (don't know why they ...


4

You can have multiple sitemaps per website, and this is a great example of when that makes sense. You should make sure you have a Sitemap Index listing each of your sitemaps. It will probably look something like: <?xml version="1.0" encoding="UTF-8"?> <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap> ...


3

That HTML document was created by Microsoft Office which puts that meta tag in automatically. Microsoft office documents contain reference to other files. When office converts the file to HTML it includes that list in this format. Google reports that it runs into it occasionally when crawling the web. As far as I know, only Microsoft Office itself makes ...


1

Old question, but since it was asked a new project has emerged called Doctored which appears to meet the requirements, example is here: http://holloway.github.io/doctored/ The project is open source and allows the end user to not only edit xml but also validates it against a schema. Disclaimer: I am not the author of the above project.


1

I know this is three years old, but I came across it looking for the same answer today, for Office 2010 anyway there is an option to save as "filtered HTML" without the extra Microsoft code : About using filtered HTML When you save Web pages or send e-mail messages in HTML format with Microsoft Word, additional tags are added so that you can continue ...


1

Make sure that short tags are disabled in your production environment as <? is used by PHP and XML and will conflict when you use the two together. WAMP has short tags disabled by default but most web hosts do not to ensure greater compatibility with older PHP scripts. Since the odds are you won't be able to change the php.ini file of your host you can ...


1

Each W3C standard offers stable URIs for different maturity levels and versions. The HTML5 specification has an URI which always points to the most recent version: http://www.w3.org/TR/html5/ Currently, it’s a "Last Call Working Draft", and this version has the URI: http://www.w3.org/TR/2014/WD-html5-20140617/ You can link to each element and attribute ...


1

Googlebot will re-fetch robots.txt more often than most other files on your web server. You generally have to wait less than 24 hours. From Google's Documentation: A robots.txt request is generally cached for up to one day, but may be cached longer in situations where refreshing the cached version is not possible (for example, due to timeouts or 5xx ...


1

robots.txt is cached and will automatically be refreshed by google within a day, so passage of time will sort this. Caching A robots.txt request is generally cached for up to one day, but may be cached longer in situations where refreshing the cached version is not possible (for example, due to timeouts or 5xx errors). The cached response may be ...


1

to create a sitemap that will pull the links from the website main .inc file? The extension doesn't matter. So, you can have a php file like <?php header ("Content-Type:text/xml"); echo '<?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'; // code to extract and echo links ...



Only top voted, non community-wiki answers of a minimum length are eligible