rah_sitemap

Published under current TXP projects

Rah_sitemap is a sitemap plugin for Textpattern CMS. Easily build valid Sitemaps.org XML sitemaps for search engines, including Google. Supports categories, sections, articles and even custom URLs. All settings can be managed from clean interface. No dive to code required.

Download rah_sitemap v1.2

Image: rah_sitemap

Image: rah_sitemap

List of features

Requirements

Minimum:

Recommended:

Installation and usage

The general behavior stands: paste the plugin code to the plugin installer textarea and run the automatic setup. Then just activate the plugin and you are ready to use the sitemap.

You can locate rah_sitemap’s user-interface panel from Textpattern > Extensions > Sitemap. From there you can modify preferences and view the sitemap.

Rah_sitemap version 0.4 included a new feature: permlink settings. These setting, found in the panel, will let you define the permlink form for the URLs in the Sitemap. This is a ideal tool for matching the URLs to your own .httaccess rules or a plugin created custom URL rules. If you want to use in-build urls defined by Textpattern itself, you can leave these setting unset.

Article permlinks

These URL settings are used for articles that appear in the sitemap. To form the URLs you can use any individual article context’s <txp:/> tag. Big shots like <txp:permlink />, <txp:posted />, <txp:title />, <txp:category1 />, <txp:category2 />, <txp:section />, <txp:if_article_author />, <txp:if_article_category />, <txp:if_article_id /> and so on.

Example Article permlink URL:

<txp:site_url />sections/<txp:section/>/articles/<txp:article_id />/<txp:article_url_title />
Category permlinks

These URL settings are used for Category links that appear in the sitemap. To form the URLs you can use plain category context TXP tags <txp:category /> and <txp:if_category />. The plugin also provides two extra tagish tags, [type] and [id] which will basically output category’s type and id.

Example Category permlink URL:

<txp:site_url />view/category/[id]/<txp:category link="0" title="0" />
Section permlinks

These URL settings are used for section links that appear in the sitemap. To form the URLs you can use the two section tags, <txp:section /> and <txp:if_section />.

<txp:site_url />section/<txp:section />

Changelog

Version 1.2

Version 1.1

Version 1.0

Version 0.9

Version 0.8

Version 0.7

Version 0.6

Version 0.5

Version 0.4

Version 0.3.2

Version 0.3

Version 0.2

Version 0.1.2

Version 0.1