The Artima Developer Community
Sponsored Link

Web Buzz Forum
Google Sitemap: Movable Type Template

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Syam Kumar

Posts: 752
Nickname: skr
Registered: Apr, 2004

Syam Kumar is.
Google Sitemap: Movable Type Template Posted: Jun 3, 2005 11:50 AM
Reply to this message Reply

This post originated from an RSS feed registered with Web Buzz by Syam Kumar.
Original Post: Google Sitemap: Movable Type Template
Feed Title: WebMaster View
Feed URL: http://feed.webmasterview.com/
Feed Description: WebMaster View is an online magazine for web site owners, designers and developers, featuring News, How-to articles and tips.
Latest Web Buzz Posts
Latest Web Buzz Posts by Syam Kumar
Latest Posts From WebMaster View

Advertisement

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

There are two more tags you can put inside <url></url>: changefreq (how frequently the content is likely to change) and priority (priority of the page relative to other pages on the site).

Example:
<changefreq>daily</changefreq>
<priority>0.3</priority>.

Related:

Comments

Read: Google Sitemap: Movable Type Template

Topic: Firefox countdown Previous Topic   Next Topic Topic: Java phone stack specialist Aplix adds 2-D & 3-D open graphics implementations to mobile phones

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use