Markup
XHTML Filter
XHTMLFilter is an online tool to convert any HTML or XHTML document to valid, well-formed XHTML. Using this tool you can filter a file on your computer, or a page on the Web, and preview and download the filtered version. Thomas Rutter, the co-administrator of SitePoint Forums authored this tool.
Google Sitemap: Movable Type Template
Create a new index template with the following code:
<?xml version='1.0' encoding='UTF-8'?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84
http://www.google.com/schemas/sitemap/0.84/sitemap.xsd">
<MTEntries lastn="1000">
<url>
<loc><$MTEntryPermalink$></loc>
<lastmod><$MTEntryModifiedDate format="%Y-%m-%d"$></lastmod>
</url>
</MTEntries>
</urlset>
Save and build the file.
The above code creates a Google sitemap file containing individual entry links. If you want category archives links and date-based archives links you can add them easily using MT Template tags. Your sitemap file may not be larger than 10MB.
Now you can submit your sitemap to Google through your Sitemaps account or using an HTTP request to the following URL: http://www.google.com/webmasters/sitemaps/ping?sitemap=http://url_of_your_/sitemap.xml
Continue reading Google Sitemap: Movable Type Template →
Forgotten Element Types
Some useful HTML elements that not everyone is aware of.
'application/xhtml+xml'
... if you are using the usual HTML features (no MathML) and are serving your content as text/html to other browsers, there is no need to serve application/xhtml+xml to Mozilla. In fact, doing so would deprive the Mozilla users of incremental display, because incremental loading of XML documents has not been implemented yet. Serving valid HTML 4.01 as text/html ensures the widest browser and search engine support.
How to Quote
Several ways of marking up the quoted text: Quotations and citations: quoting text
HTML Validator (with tidy)
HTML Validator (with tidy) is a mozilla extension for HTML validation by Marc Gueury. Unlike Web Developer Extension, it doesn't use a third party server to validate HTML. Instead, it uses HTMLTidy, which is intergrated with this extension. So dynamic pages can be validated too.
Continue reading HTML Validator (with tidy) →
XHTML Validation Results RSS feed
Ben Hammersley's XHTML Validator to RSS source tool allows you to subscribe to an RSS feed of validation errors on a page.
Continue reading XHTML Validation Results RSS feed →
Movable Type RSS Feeds - Full entries
The default RSS templates from Movable Type create feeds that contain only an excerpt of each blog entry. If the 'Entry Excerpt' field is blank, MT will auto-generate an excerpt from 'Entry Body', stripping all its HTML code.
Because of this, some of my blog entries looked weird in feed readers. I made a small change in the <description></description> tag inside <item></item> to include full entry and a link to comments.
Continue reading Movable Type RSS Feeds - Full entries →
Markdown
Markdown is a text-to-HTML conversion tool for web writers. It converts content written in plain text format to valid XHTML.
Continue reading Markdown →