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 ...


1

Both text/xml and application/xml are standardized in RFC 3023 for describing a XML document entity. In general, the main difference is that text/* MIME type family is used for human-readable text data (when no explicit support is provided, should be treated as text/plain), while application/* is for machine-readable data not readable by casual users. This ...


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