Markup

Atom 1.0

Atom 1.0 is almost here.

RSS 2.0 and Atom 1.0, Compared

Via Anne

Posted by Syam Kumar at July 15, 2005 08:41 PM
Permalink | Trackbacks (0)

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.

Posted by Syam Kumar at June 18, 2005 11:28 PM
Permalink | Trackbacks (0)

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>
Screenshot of creating new Movable Type template

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 →

Posted by Syam Kumar at June 3, 2005 11:12 PM
Permalink | Comments (1) | Trackbacks (2)

Forgotten Element Types

Some useful HTML elements that not everyone is aware of.

Posted by Syam Kumar at December 17, 2004 09:37 PM
Permalink | Comments (1) | Trackbacks (0)

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

Mozilla Web Author FAQ

(Via Anne's Weblog about Markup & Style)

Posted by Syam Kumar at December 8, 2004 06:58 PM
Permalink | Trackbacks (0)

How to Quote

Several ways of marking up the quoted text: Quotations and citations: quoting text

Posted by Syam Kumar at November 25, 2004 08:31 PM
Permalink | Trackbacks (0)

XHTML DTD 101

Back To Basics: (X)HTML Specs Made Easy

Posted by Syam Kumar at September 23, 2004 11:33 PM
Permalink | Trackbacks (0)

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) →

Posted by Syam Kumar at September 16, 2004 04:14 PM
Permalink | Trackbacks (1)

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 →

Posted by Syam Kumar at July 3, 2004 03:00 AM
Permalink | Trackbacks (0)

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 →

Posted by Syam Kumar at April 19, 2004 09:18 PM
Permalink | Comments (1) | Trackbacks (0)

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 →

Posted by Syam Kumar at March 15, 2004 04:10 PM
Permalink | Trackbacks (0)