Author: crossley Date: Tue Sep 14 20:56:58 2004 New Revision: 46079 Modified: forrest/trunk/src/documentation/content/xdocs/docs/your-project.xml Log: Add the complex sitemap example for the SourceTypeAction. Modified: forrest/trunk/src/documentation/content/xdocs/docs/your-project.xml ============================================================================== --- forrest/trunk/src/documentation/content/xdocs/docs/your-project.xml (original) +++ forrest/trunk/src/documentation/content/xdocs/docs/your-project.xml Tue Sep 14 20:56:58 2004 @@ -754,10 +754,6 @@ transformation of our custom xml structure into the Forrest intermediate xdocs structure.

- -This section of the document is currently being enhanced to reflect the -new "Using project sitemaps" method. - The Sitemap Reference provides details about how the sitemap works. @@ -840,8 +836,83 @@

+ +
+ Example: Adding a new content type (advanced) +

+ The simple user sitemap in the previous example is fine for + simple situations. For a complete solution to the "Download DTD" + issue we need a more advanced sitemap which will do different + processing depending on the version of the document type + declaration. Let us show the sitemap and then explain it. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]> +

+ This is the type of processing that happens in the main + src/core/context/forrest.xmap sitemap. We have + added similar handling to our project sitemap. Basically, this + uses the SourceTypeAction (content aware pipelines) + to detect the doctype. The new document-v11.dtd needs to be also + added to your project Catalog. +

+

+ Note that any sitemap component must be declared before it + can be used, because the project sitemap is the first sitemap + to be consulted. +

+
+
Example: integrating external RSS content + +This section of the document is currently being enhanced to reflect the +new "Using project sitemaps" method. +

Similar to the previous example, we can integrate RSS into our site by over-riding and editing the sitemap. As described in the "source pipelines" section of the