![]() |
|
|
|
SitemapCFC Data Driven Sitemap XML Generator
Project Home • Blog • Forums • Wiki • Known Issues • External Project Link • Contact Project
Author: Jamie Krug (All RIAForge projects by this author) Description:
= SitemapCFC =
SitemapCFC is a CFC to model and generate sitemaps.org protocol sitemap.xml documents from flexible data collection types. You can initialize a SitemapCFC object with a collection of URLs in the form of a list, a query or an array of structs. When using a query or array, the column/key names do not matter, as you can specify a simple key mapping as an optional init argument. == Features Overview == * Use a list, query or array (of structs) to initialize a sitemap object. * Query column or struct key names used to initialize a Sitemap.cfc object are not important; an optional init() argument can be used to map to standard sitemaps.org protocol tag names. * Write your sitemap.xml file to disk or dynamically send a sitemap XML document to the browser as binary page output (cfcontent type text/xml). * Debugging methods available to access a Sitemap.cfc object's URL collection in the form of an array, an XML object or the raw XML string. * XML document is schema validation ready. * All initialization data values are cleaned (entity escaping, date/time format, valid string values, etc.) and validated. * Date(/time) values for the {{{<lastmod>}}} tags can be passed in as any valid date/time string or object; they will be automatically converted to UTC in proper W3C Datetime format (again, per sitemaps.org protocol). === Resources === * [http://jamiekrug.com/blog/index.cfm/2009/3/20/sitemaps-org-google-yahoo-msn-others-data-driven-sitemap-xml-generator Blog post with useful code usage examples] * [http://jamiekrug.com/blog/index.cfm/sitemapcfc Author SitemapCFC blog category] * [http://sitemaps.org/ Sitemaps overview and protocol] * [http://www.google.com/support/webmasters/bin/topic.py?hl=en&topic=8467 Using Sitemaps with Google]
Recent Blog Entries:
3/20/09 Sitemaps.org Data Driven Sitemap XML Generator (sitemap.xml for Google, Yahoo!, MSN and others)
Requirements:
ColdFusion MX 6.1+
Open BlueDragon 1.0+ (maybe earlier as well?) Railo 3.0+ (maybe earlier as well?) Issue Tracker:
This project has an external bug tracker. You can find it here:
This project hosts its source control at an external location: |
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.