forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r230524 - in /forrest/trunk/main/fresh-site/src/documentation/content/xdocs: samples/customSchema.xml site.xml
Date Sat, 06 Aug 2005 03:33:06 GMT
Author: crossley
Date: Fri Aug  5 20:33:01 2005
New Revision: 230524

URL: http://svn.apache.org/viewcvs?rev=230524&view=rev
Log:
Fix broken link to plugin howto.
Ehance the explanation of "custom doctype" and link to the full story.

Modified:
    forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/customSchema.xml
    forrest/trunk/main/fresh-site/src/documentation/content/xdocs/site.xml

Modified: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/customSchema.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/customSchema.xml?rev=230524&r1=230523&r2=230524&view=diff
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/customSchema.xml
(original)
+++ forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/customSchema.xml
Fri Aug  5 20:33:01 2005
@@ -23,15 +23,30 @@
   <body> 
     <p>Forrest comes with a set of schemas for common documents, however, if you have
existing documents
     that use a different schema you will want to tell Forrest how to work with them. The
best way of doing
-    this is to <a href="http://forrest.apache.org/0.7/docs/howto/howto-buildPlugin.html">build
a plugin</a>
+    this is to <a href="site:buildPlugin">build a plugin</a>
     so that you can easily reuse the functionality on different projects. Plugins also allow
you to share
     this new functionality with other users, and to benefit from their contributions to your
work.</p>
     
     <p>If you don't want to build a plugin you can make Forrest process them within
your project sitemap 
     (but this won't really save you any work since the process is almost the same). This
sample site has
-    a demonstration of using a custom DTD. If you request <a href="custom.html">&lt;a
href="custom.html"&gt;</a>
-    you can see the results. Take a look at the project <code>sitemap.xmap</code>
to see how it is done.</p>
-    
+    a demonstration of using a custom DTD. If you request <a href="site:custom-example">&lt;a
href="custom.html"&gt;</a>
+    you can see the results.
+      </p>
+      <p>
+        Look at the project <code>sitemap.xmap</code> to see how it is done.
+        View the xml source at
+        "src/documentation/content/samples/custom.xml" and
+        refer to the DTD and its configuration at
+        "src/documentation/resources/schema/".
+        See the project sitemap at "src/documentation/sitemap.xmap" for how
+        the custom doctype is processed and the stylesheet is applied.
+      </p>
+      <p>
+        See the
+        <a href="site:new_content_type">full story</a>
+        about handling custom document types.
+      </p>
+
     <note>Adding custom schemas with a plugin has the added benefit of being able to
add the schema
     definition to the catalog file rather than having to reference it directly from within
the XML
     document.</note>

Modified: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/fresh-site/src/documentation/content/xdocs/site.xml?rev=230524&r1=230523&r2=230524&view=diff
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/content/xdocs/site.xml (original)
+++ forrest/trunk/main/fresh-site/src/documentation/content/xdocs/site.xml Fri Aug  5 20:33:01
2005
@@ -62,9 +62,9 @@
       description="Sample Ascii Art page" />
     <sample-usemap label="usemap" href="usemap.html" 
       description="Client-side imagemap" />
-    <sample-custom label="User Schemas" href="customSchema.html" 
-      description="Custom XML Schemas"/>
-    <custom label="Custom File" href="custom.html" description="A custom XML file"/>
+    <sample-custom label="Custom Schema" href="customSchema.html" 
+      description="Custom XML schema and doctypes"/>
+    <custom-example href="custom.html" description="A custom XML file"/>
     <faq label="FAQ" href="faq.html" description="Frequently Asked Questions" />
     <locationmap label="Locationmap" href="locationmap/index.html" description="Locationmaps
allow the user URL space to be different from the storage URL Space"/>
     <subdir label="Subdir" href="subdir/">
@@ -96,6 +96,8 @@
       <validation href="docs/validation.html"/>
       <webapp href="docs/your-project.html#webapp"/>
       <dtd-docs href="docs/dtd-docs.html"/>
+      <new_content_type href="docs/your-project.html#adding_new_content_type"/>
+      <buildPlugin href="docs/howto/howto-buildPlugin.html"/>
     </forrest>
     <cocoon href="http://cocoon.apache.org/"/>
     <xml.apache.org href="http://xml.apache.org/"/>



Mime
View raw message