nirvdrum-ai4r 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. data/.gitignore +1 -0
  2. data/.rakeTasks +7 -0
  3. data/README.rdoc +56 -0
  4. data/Rakefile.rb +42 -0
  5. data/VERSION +1 -0
  6. data/ai4r.gemspec +221 -0
  7. data/change_log +49 -0
  8. data/examples/classifiers/id3_data.csv +121 -0
  9. data/examples/classifiers/id3_example.rb +29 -0
  10. data/examples/classifiers/naive_bayes_data.csv +11 -0
  11. data/examples/classifiers/naive_bayes_example.rb +16 -0
  12. data/examples/classifiers/results.txt +31 -0
  13. data/examples/genetic_algorithm/genetic_algorithm_example.rb +37 -0
  14. data/examples/genetic_algorithm/travel_cost.csv +16 -0
  15. data/examples/neural_network/backpropagation_example.rb +67 -0
  16. data/examples/neural_network/patterns_with_base_noise.rb +68 -0
  17. data/examples/neural_network/patterns_with_noise.rb +66 -0
  18. data/examples/neural_network/training_patterns.rb +68 -0
  19. data/examples/neural_network/xor_example.rb +35 -0
  20. data/examples/som/som_data.rb +156 -0
  21. data/examples/som/som_multi_node_example.rb +22 -0
  22. data/examples/som/som_single_example.rb +24 -0
  23. data/lib/ai4r.rb +32 -0
  24. data/lib/ai4r/classifiers/classifier.rb +59 -0
  25. data/lib/ai4r/classifiers/hyperpipes.rb +118 -0
  26. data/lib/ai4r/classifiers/id3.rb +326 -0
  27. data/lib/ai4r/classifiers/multilayer_perceptron.rb +135 -0
  28. data/lib/ai4r/classifiers/naive_bayes.rb +259 -0
  29. data/lib/ai4r/classifiers/one_r.rb +110 -0
  30. data/lib/ai4r/classifiers/prism.rb +197 -0
  31. data/lib/ai4r/classifiers/zero_r.rb +73 -0
  32. data/lib/ai4r/clusterers/average_linkage.rb +59 -0
  33. data/lib/ai4r/clusterers/bisecting_k_means.rb +93 -0
  34. data/lib/ai4r/clusterers/centroid_linkage.rb +66 -0
  35. data/lib/ai4r/clusterers/clusterer.rb +61 -0
  36. data/lib/ai4r/clusterers/complete_linkage.rb +67 -0
  37. data/lib/ai4r/clusterers/diana.rb +139 -0
  38. data/lib/ai4r/clusterers/k_means.rb +126 -0
  39. data/lib/ai4r/clusterers/median_linkage.rb +61 -0
  40. data/lib/ai4r/clusterers/single_linkage.rb +194 -0
  41. data/lib/ai4r/clusterers/ward_linkage.rb +64 -0
  42. data/lib/ai4r/clusterers/weighted_average_linkage.rb +61 -0
  43. data/lib/ai4r/data/data_set.rb +266 -0
  44. data/lib/ai4r/data/parameterizable.rb +64 -0
  45. data/lib/ai4r/data/proximity.rb +100 -0
  46. data/lib/ai4r/data/statistics.rb +77 -0
  47. data/lib/ai4r/experiment/classifier_evaluator.rb +95 -0
  48. data/lib/ai4r/genetic_algorithm/genetic_algorithm.rb +270 -0
  49. data/lib/ai4r/neural_network/backpropagation.rb +293 -0
  50. data/lib/ai4r/neural_network/hopfield.rb +149 -0
  51. data/lib/ai4r/som/layer.rb +68 -0
  52. data/lib/ai4r/som/node.rb +96 -0
  53. data/lib/ai4r/som/som.rb +155 -0
  54. data/lib/ai4r/som/two_phase_layer.rb +90 -0
  55. data/site/forrest.properties +152 -0
  56. data/site/forrest.properties.dispatcher.properties +25 -0
  57. data/site/forrest.properties.xml +29 -0
  58. data/site/src/documentation/README.txt +7 -0
  59. data/site/src/documentation/classes/CatalogManager.properties +62 -0
  60. data/site/src/documentation/content/locationmap.xml +72 -0
  61. data/site/src/documentation/content/xdocs/downloads.html +9 -0
  62. data/site/src/documentation/content/xdocs/geneticAlgorithms.xml +294 -0
  63. data/site/src/documentation/content/xdocs/index.xml +155 -0
  64. data/site/src/documentation/content/xdocs/machineLearning.xml +131 -0
  65. data/site/src/documentation/content/xdocs/neuralNetworks.xml +270 -0
  66. data/site/src/documentation/content/xdocs/site.xml +54 -0
  67. data/site/src/documentation/content/xdocs/sourceCode.xml +43 -0
  68. data/site/src/documentation/content/xdocs/tabs.xml +35 -0
  69. data/site/src/documentation/resources/images/ai4r-logo.png +0 -0
  70. data/site/src/documentation/resources/images/c.png +0 -0
  71. data/site/src/documentation/resources/images/c_wbn.png +0 -0
  72. data/site/src/documentation/resources/images/c_wn.png +0 -0
  73. data/site/src/documentation/resources/images/ellipse-2.svg +30 -0
  74. data/site/src/documentation/resources/images/ero.gif +0 -0
  75. data/site/src/documentation/resources/images/europe2.png +0 -0
  76. data/site/src/documentation/resources/images/europe3.png +0 -0
  77. data/site/src/documentation/resources/images/fitness.png +0 -0
  78. data/site/src/documentation/resources/images/genetic_algorithms_example.png +0 -0
  79. data/site/src/documentation/resources/images/icon-a.png +0 -0
  80. data/site/src/documentation/resources/images/icon-b.png +0 -0
  81. data/site/src/documentation/resources/images/icon.png +0 -0
  82. data/site/src/documentation/resources/images/jadeferret.png +0 -0
  83. data/site/src/documentation/resources/images/my_email.png +0 -0
  84. data/site/src/documentation/resources/images/neural_network_example.png +0 -0
  85. data/site/src/documentation/resources/images/project-logo.png +0 -0
  86. data/site/src/documentation/resources/images/rubyforge.png +0 -0
  87. data/site/src/documentation/resources/images/s.png +0 -0
  88. data/site/src/documentation/resources/images/s_wbn.png +0 -0
  89. data/site/src/documentation/resources/images/s_wn.png +0 -0
  90. data/site/src/documentation/resources/images/sigmoid.png +0 -0
  91. data/site/src/documentation/resources/images/sub-dir/icon-c.png +0 -0
  92. data/site/src/documentation/resources/images/t.png +0 -0
  93. data/site/src/documentation/resources/images/t_wbn.png +0 -0
  94. data/site/src/documentation/resources/images/t_wn.png +0 -0
  95. data/site/src/documentation/resources/schema/catalog.xcat +29 -0
  96. data/site/src/documentation/resources/schema/hello-v10.dtd +51 -0
  97. data/site/src/documentation/resources/schema/symbols-project-v10.ent +26 -0
  98. data/site/src/documentation/resources/stylesheets/hello2document.xsl +33 -0
  99. data/site/src/documentation/sitemap.xmap +66 -0
  100. data/site/src/documentation/skinconf.xml +418 -0
  101. data/site/src/documentation/translations/langcode.xml +29 -0
  102. data/site/src/documentation/translations/languages_de.xml +24 -0
  103. data/site/src/documentation/translations/languages_en.xml +24 -0
  104. data/site/src/documentation/translations/languages_es.xml +22 -0
  105. data/site/src/documentation/translations/languages_fr.xml +24 -0
  106. data/site/src/documentation/translations/languages_nl.xml +24 -0
  107. data/site/src/documentation/translations/menu.xml +33 -0
  108. data/site/src/documentation/translations/menu_af.xml +33 -0
  109. data/site/src/documentation/translations/menu_de.xml +33 -0
  110. data/site/src/documentation/translations/menu_es.xml +33 -0
  111. data/site/src/documentation/translations/menu_fr.xml +33 -0
  112. data/site/src/documentation/translations/menu_it.xml +33 -0
  113. data/site/src/documentation/translations/menu_nl.xml +33 -0
  114. data/site/src/documentation/translations/menu_no.xml +33 -0
  115. data/site/src/documentation/translations/menu_ru.xml +33 -0
  116. data/site/src/documentation/translations/menu_sk.xml +33 -0
  117. data/site/src/documentation/translations/tabs.xml +22 -0
  118. data/site/src/documentation/translations/tabs_de.xml +22 -0
  119. data/site/src/documentation/translations/tabs_es.xml +22 -0
  120. data/site/src/documentation/translations/tabs_fr.xml +22 -0
  121. data/site/src/documentation/translations/tabs_nl.xml +22 -0
  122. data/test/classifiers/hyperpipes_test.rb +84 -0
  123. data/test/classifiers/id3_test.rb +208 -0
  124. data/test/classifiers/multilayer_perceptron_test.rb +79 -0
  125. data/test/classifiers/naive_bayes_test.rb +43 -0
  126. data/test/classifiers/one_r_test.rb +62 -0
  127. data/test/classifiers/prism_test.rb +85 -0
  128. data/test/classifiers/zero_r_test.rb +50 -0
  129. data/test/clusterers/average_linkage_test.rb +51 -0
  130. data/test/clusterers/bisecting_k_means_test.rb +66 -0
  131. data/test/clusterers/centroid_linkage_test.rb +53 -0
  132. data/test/clusterers/complete_linkage_test.rb +57 -0
  133. data/test/clusterers/diana_test.rb +69 -0
  134. data/test/clusterers/k_means_test.rb +100 -0
  135. data/test/clusterers/median_linkage_test.rb +53 -0
  136. data/test/clusterers/single_linkage_test.rb +122 -0
  137. data/test/clusterers/ward_linkage_test.rb +53 -0
  138. data/test/clusterers/weighted_average_linkage_test.rb +53 -0
  139. data/test/data/data_set.csv +121 -0
  140. data/test/data/data_set_test.rb +96 -0
  141. data/test/data/proximity_test.rb +81 -0
  142. data/test/data/statistics_data_set.csv +5 -0
  143. data/test/data/statistics_test.rb +65 -0
  144. data/test/experiment/classifier_evaluator_test.rb +76 -0
  145. data/test/genetic_algorithm/chromosome_test.rb +58 -0
  146. data/test/genetic_algorithm/genetic_algorithm_test.rb +81 -0
  147. data/test/neural_network/backpropagation_test.rb +69 -0
  148. data/test/neural_network/hopfield_test.rb +72 -0
  149. data/test/som/som_test.rb +97 -0
  150. metadata +238 -0
@@ -0,0 +1,54 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <!--
19
+ Forrest site.xml
20
+
21
+ This file contains an outline of the site's information content. It is used to:
22
+ - Generate the website menus (though these can be overridden - see docs)
23
+ - Provide semantic, location-independent aliases for internal 'site:' URIs, eg
24
+ <link href="site:changes"> links to changes.html (or ../changes.html if in
25
+ subdir).
26
+ - Provide aliases for external URLs in the external-refs section. Eg, <link
27
+ href="ext:cocoon"> links to http://cocoon.apache.org/
28
+
29
+ See http://forrest.apache.org/docs/linking.html for more info
30
+ -->
31
+ <!-- The label attribute of the outer "site" element will only show
32
+ in the linkmap (linkmap.html).
33
+ Use elements project-name and group-name in skinconfig to change name of
34
+ your site or project that is usually shown at the top of page.
35
+ No matter what you configure for the href attribute, Forrest will
36
+ always use index.html when you request http://yourHost/
37
+ See FAQ: "How can I use a start-up-page other than index.html?"
38
+ -->
39
+ <site label="ai4r" href="" xmlns="http://apache.org/forrest/linkmap/1.0"
40
+ tab="">
41
+ <about label="Home">
42
+ <index label="Index" href="index.html" description="ai4r - Artificial Intelligence for Ruby"/>
43
+ <practicalExamples label="Practical Examples">
44
+ <geneticAlgorithms label="Genetic Algorithms" href="geneticAlgorithms.html" description="Genetic Algorithms in ruby"/>
45
+ <machineLearning label="Machine Learning" href="machineLearning.html" description="ID3 Decision Trees in ruby"/>
46
+ <neuralNetworks label="Neural Networks" href="neuralNetworks.html" description="Backpropagation Neural Network in ruby" />
47
+ </practicalExamples>
48
+ <download label="Downloads" href="http://github.com/JadeFerret/ai4r/downloads" description="ai4r - Download Files"/>
49
+ <forum label="Forum" href="http://forum.jadeferret.com/viewforum.php?f=3" description="Ai4r Forum"/>
50
+ <svn label="Source Code repository" href="sourceCode.html" description="ai4r source code repository"/>
51
+ <wiki label="AI4R Wiki" href="http://wiki.jadeferret.com/Category:AI4R" description="ai4r wiki with How-to guides and more documentation"/>
52
+ <rdoc label="API doc (Rdoc)" href="http://ai4r.rubyforge.org/rdoc/index.html" description="Ai4 RDoc docs"/>
53
+ </about>
54
+ </site>
@@ -0,0 +1,43 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
3
+ <document>
4
+ <header>
5
+ <title>Source code repository for ai4r (Artificial Intelligence for Ruby)</title>
6
+ </header>
7
+ <body>
8
+ <section id="github">
9
+ <title>AI4R at GitHub</title>
10
+ <p>AI4R Source Code is stored in a git repository at GitHub:</p>
11
+ <p>
12
+ <a href="http://github.com/JadeFerret/ai4r" title="AI4R source code at GitHub">
13
+ http://github.com/JadeFerret/ai4r
14
+ </a>
15
+ </p>
16
+ <p>The public clone url is:</p>
17
+ <p>
18
+ <a href="git://github.com/JadeFerret/ai4r.git" title="AI4R git repository">
19
+ git://github.com/JadeFerret/ai4r.git
20
+ </a>
21
+ </p>
22
+
23
+ </section>
24
+
25
+ <section id="download">
26
+ <title>Download the source code</title>
27
+ <p>If you want to download ai4r code without using git,
28
+ visit
29
+ <a href="http://github.com/JadeFerret/ai4r/downloads" title="AI4R source code download">
30
+ AI4R source code download site</a>, and click on the "download" button.
31
+ </p>
32
+ </section>
33
+
34
+ <section id="moreinfor">
35
+ <title>More info on Git</title>
36
+ <p>If you need help on using git, the best documentation is available
37
+ <a href="http://git-scm.com/documentation" title="git documentation">here</a>.</p>
38
+ <p>If you work in SCM, you may find <a href="http://scm.jadeferret.com" title="Agile SCM blog">Jade Ferret’s Agile SCM blog</a>
39
+ interesting.</p>
40
+ </section>
41
+
42
+ </body>
43
+ </document>
@@ -0,0 +1,35 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.1//EN" "http://forrest.apache.org/dtd/tab-cocoon-v11.dtd">
19
+ <tabs software="ai4r"
20
+ title="ai4r"
21
+ copyright="Sergio Fierens"
22
+ xmlns:xlink="http://www.w3.org/1999/xlink">
23
+ <!-- The rules for tabs are:
24
+ @dir will always have '/@indexfile' added.
25
+ @indexfile gets appended to @dir if the tab is selected. Defaults to 'index.html'
26
+ @href is not modified unless it is root-relative and obviously specifies a
27
+ directory (ends in '/'), in which case /index.html will be added
28
+ If @id's are present, site.xml entries with a matching @tab will be in that tab.
29
+
30
+ Tabs can be embedded to a depth of two. The second level of tabs will only
31
+ be displayed when their parent tab is selected.
32
+ -->
33
+ <tab id="" label="Home" dir="" indexfile="index.html"/>
34
+
35
+ </tabs>
@@ -0,0 +1,30 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
19
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
20
+ <svg xmlns="http://www.w3.org/2000/svg" version="1.0"
21
+ width="300" height="150"
22
+ viewBox="0 0 1500 1000"
23
+ >
24
+ <desc>Ellipse</desc>
25
+ <rect x="1" y="1" width="1495" height="995"
26
+ fill="none" stroke="blue" stroke-width="5"/>
27
+ <ellipse transform="translate(200 200) rotate(-45)"
28
+ rx="200" ry="100"
29
+ fill="none" stroke="red" stroke-width="20"/>
30
+ </svg>
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
19
+ "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
20
+ <!-- OASIS XML Catalog for Forrest Documents -->
21
+ <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
22
+ prefer="public">
23
+ <!-- Example catalog entry -->
24
+ <public publicId="-//Acme//DTD Hello Document V1.0//EN"
25
+ uri="hello-v10.dtd"/>
26
+ <!-- Sets of symbols. e.g. for string replacements -->
27
+ <public publicId="-//Apache Forrest//ENTITIES Symbols Project v1.0//EN"
28
+ uri="symbols-project-v10.ent"/>
29
+ </catalog>
@@ -0,0 +1,51 @@
1
+ <!--
2
+ Licensed to the Apache Software Foundation (ASF) under one or more
3
+ contributor license agreements. See the NOTICE file distributed with
4
+ this work for additional information regarding copyright ownership.
5
+ The ASF licenses this file to You under the Apache License, Version 2.0
6
+ (the "License"); you may not use this file except in compliance with
7
+ the License. You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
16
+ -->
17
+ <!-- ===================================================================
18
+
19
+ Apache Hello DTD (Version 1.0)
20
+
21
+ PURPOSE:
22
+
23
+
24
+ TYPICAL INVOCATION:
25
+
26
+ <!DOCTYPE greeting PUBLIC
27
+ "-//Acme//DTD Hello Document Vx.y//EN"
28
+ "hello.dtd">
29
+
30
+ where
31
+
32
+ x := major version
33
+ y := minor version
34
+
35
+ FIXME:
36
+
37
+ CHANGE HISTORY:
38
+ [Version 1.0]
39
+ 20041009 Initial version. (JJP)
40
+
41
+ ==================================================================== -->
42
+
43
+ <!-- =============================================================== -->
44
+ <!-- Greeting type element -->
45
+ <!-- =============================================================== -->
46
+
47
+ <!ELEMENT greeting (#PCDATA)>
48
+
49
+ <!-- =============================================================== -->
50
+ <!-- End of DTD -->
51
+ <!-- =============================================================== -->
@@ -0,0 +1,26 @@
1
+ <!--
2
+ Licensed to the Apache Software Foundation (ASF) under one or more
3
+ contributor license agreements. See the NOTICE file distributed with
4
+ this work for additional information regarding copyright ownership.
5
+ The ASF licenses this file to You under the Apache License, Version 2.0
6
+ (the "License"); you may not use this file except in compliance with
7
+ the License. You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
16
+ -->
17
+
18
+ <!-- Typical invocation:
19
+ <!ENTITY % symbols-project
20
+ PUBLIC "-//Apache Forrest//ENTITIES Symbols Project v1.0//EN"
21
+ "symbols-project-v10.ent">
22
+ %symbols-project;
23
+ -->
24
+ <!ENTITY myp "My Project Name">
25
+ <!ENTITY myp-s "<strong>My Project Name</strong>">
26
+ <!ENTITY myp-t "My Project Name&trade;">
@@ -0,0 +1,33 @@
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <!--+
19
+ | Transforms Hello document format.
20
+ +-->
21
+ <xsl:stylesheet version="1.0"
22
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
23
+ <xsl:template match="/">
24
+ <document>
25
+ <header>
26
+ <title><xsl:value-of select="greeting"/></title>
27
+ </header>
28
+ <body>
29
+ <xsl:value-of select="greeting"/>
30
+ </body>
31
+ </document>
32
+ </xsl:template>
33
+ </xsl:stylesheet>
@@ -0,0 +1,66 @@
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
19
+ <map:components>
20
+ <map:actions>
21
+ <map:action logger="sitemap.action.sourcetype" name="sourcetype" src="org.apache.forrest.sourcetype.SourceTypeAction">
22
+ <sourcetype name="hello-v1.0">
23
+ <document-declaration public-id="-//Acme//DTD Hello Document V1.0//EN" />
24
+ </sourcetype>
25
+ </map:action>
26
+ </map:actions>
27
+ <map:selectors default="parameter">
28
+ <map:selector logger="sitemap.selector.parameter" name="parameter" src="org.apache.cocoon.selection.ParameterSelector" />
29
+ </map:selectors>
30
+ </map:components>
31
+ <map:resources>
32
+ <map:resource name="transform-to-document">
33
+ <map:act type="sourcetype" src="{src}">
34
+ <map:select type="parameter">
35
+ <map:parameter name="parameter-selector-test" value="{sourcetype}" />
36
+ <map:when test="hello-v1.0">
37
+ <map:generate src="{properties:content.xdocs}{../../1}.xml" />
38
+ <map:transform src="{properties:resources.stylesheets}/hello2document.xsl" />
39
+ <map:serialize type="xml-document"/>
40
+ </map:when>
41
+ </map:select>
42
+ </map:act>
43
+ </map:resource>
44
+ </map:resources>
45
+ <map:pipelines>
46
+ <map:pipeline>
47
+ <map:match pattern="old_site/*.html">
48
+ <map:select type="exists">
49
+ <map:when test="{properties:content}{1}.html">
50
+ <map:read src="{properties:content}{1}.html" mime-type="text/html"/>
51
+ <!--
52
+ Use this instead if you want JTidy to clean up your HTML
53
+ <map:generate type="html" src="{properties:content}/{0}" />
54
+ <map:serialize type="html"/>
55
+ -->
56
+ </map:when>
57
+ </map:select>
58
+ </map:match>
59
+ <map:match pattern="**.xml">
60
+ <map:call resource="transform-to-document">
61
+ <map:parameter name="src" value="{properties:content.xdocs}{1}.xml" />
62
+ </map:call>
63
+ </map:match>
64
+ </map:pipeline>
65
+ </map:pipelines>
66
+ </map:sitemap>
@@ -0,0 +1,418 @@
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <!--
19
+ Skin configuration file. This file contains details of your project,
20
+ which will be used to configure the chosen Forrest skin.
21
+ -->
22
+ <!DOCTYPE skinconfig PUBLIC "-//APACHE//DTD Skin Configuration V0.8-1//EN" "http://forrest.apache.org/dtd/skinconfig-v08-1.dtd">
23
+ <skinconfig>
24
+ <!-- To enable lucene search add provider="lucene" (default is google).
25
+ Add box-location="alt" to move the search box to an alternate location
26
+ (if the skin supports it) and box-location="all" to show it in all
27
+ available locations on the page. Remove the <search> element to show
28
+ no search box. @domain will enable sitesearch for the specific domain with google.
29
+ In other words google will search the @domain for the query string.
30
+ -->
31
+ <search name="MyProject" domain="mydomain" provider="google"/>
32
+ <!-- Disable the print link? If enabled, invalid HTML 4.0.1 -->
33
+ <disable-print-link>true</disable-print-link>
34
+ <!-- Disable the PDF link? -->
35
+ <disable-pdf-link>false</disable-pdf-link>
36
+ <!-- Disable the POD link? -->
37
+ <disable-pod-link>true</disable-pod-link>
38
+ <!-- Disable the Text link? FIXME: NOT YET IMPLEMENETED. -->
39
+ <disable-txt-link>true</disable-txt-link>
40
+ <!-- Disable the xml source link? -->
41
+ <!-- The xml source link makes it possible to access the xml rendition
42
+ of the source frim the html page, and to have it generated statically.
43
+ This can be used to enable other sites and services to reuse the
44
+ xml format for their uses. Keep this disabled if you don't want other
45
+ sites to easily reuse your pages.-->
46
+ <disable-xml-link>true</disable-xml-link>
47
+ <!-- Disable navigation icons on all external links? -->
48
+ <disable-external-link-image>false</disable-external-link-image>
49
+ <!-- Disable w3c compliance links?
50
+ Use e.g. align="center" to move the compliance links logos to
51
+ an alternate location default is left.
52
+ (if the skin supports it) -->
53
+ <disable-compliance-links>false</disable-compliance-links>
54
+ <!-- Render mailto: links unrecognisable by spam harvesters? -->
55
+ <obfuscate-mail-links>true</obfuscate-mail-links>
56
+ <obfuscate-mail-value>.at.</obfuscate-mail-value>
57
+ <!-- Disable the javascript facility to change the font size -->
58
+ <disable-font-script>true</disable-font-script>
59
+ <!-- mandatory project logo
60
+ default skin: renders it at the top -->
61
+ <project-name>ai4r</project-name>
62
+ <project-description>AI4R - Artificial Intelligence for Ruby</project-description>
63
+ <project-url>http://ai4r.rubyforge.org/</project-url>
64
+ <project-logo>images/ai4r-logo.png</project-logo>
65
+ <!-- Alternative static image:
66
+ <project-logo>images/project-logo.gif</project-logo> -->
67
+ <!-- optional group logo
68
+ default skin: renders it at the top-left corner -->
69
+ <group-name>Jade Ferret</group-name>
70
+ <group-description>Jade Ferret</group-description>
71
+ <group-url>http://www.jadeferret.com</group-url>
72
+ <group-logo>images/jadeferret.png</group-logo>
73
+ <!-- Alternative static image:
74
+ <group-logo>images/jadeferret.gif</group-logo> -->
75
+ <!-- optional host logo (e.g. sourceforge logo)
76
+ default skin: renders it at the bottom-left corner -->
77
+ <host-url>http://rubyforge.org/projects/ai4r/</host-url>
78
+ <host-logo>images/rubyforge.png</host-logo>
79
+ <!-- relative url of a favicon file, normally favicon.ico -->
80
+ <favicon-url></favicon-url>
81
+ <!-- The following are used to construct a copyright statement -->
82
+ <disable-copyright-footer>false</disable-copyright-footer>
83
+ <!-- @inception enable automatic generation of a date-range to current date -->
84
+ <year inception="true">2007</year>
85
+ <vendor>Sergio Fierens, Jade Ferret</vendor>
86
+ <copyright-link>http://www.jadeferret.com/</copyright-link>
87
+ <!-- Some skins use this to form a 'breadcrumb trail' of links.
88
+ Use location="alt" to move the trail to an alternate location
89
+ (if the skin supports it).
90
+ Omit the location attribute to display the trail in the default location.
91
+ Use location="none" to not display the trail (if the skin supports it).
92
+ For some skins just set the attributes to blank.
93
+
94
+ NOTE: If a breadcrumb entry points at a local file the href must
95
+ be complete, that is it must point to the file itself, not to a
96
+ directory.
97
+ -->
98
+ <trail location="none">
99
+ <link1 name="ai4r" href="http://ai4r.rubyforge.org/"/>
100
+ <link2 name="ai4r" href="http://ai4r.rubyforge.org/"/>
101
+ <link3 name="" href=""/>
102
+ </trail>
103
+
104
+ <!-- Configure the TOC, i.e. the Table of Contents.
105
+ @max-depth
106
+ how many "section" levels need to be included in the
107
+ generated Table of Contents (TOC).
108
+ @min-sections
109
+ Minimum required to create a TOC.
110
+ @location ("page","menu","page,menu", "none")
111
+ Where to show the TOC.
112
+ -->
113
+ <toc max-depth="2" min-sections="1" location="page"/>
114
+ <!-- Heading types can be clean|underlined|boxed -->
115
+ <headings type="boxed"/>
116
+ <!-- The optional feedback element will be used to construct a
117
+ feedback link in the footer with the page pathname appended:
118
+ <a href="@href">{@to}</a>
119
+
120
+ <feedback to="webmaster@foo.com"
121
+ href="mailto:webmaster@foo.com?subject=Feedback&#160;" >
122
+ Send feedback about the website to:
123
+ </feedback>-->
124
+ <!-- Optional message of the day (MOTD).
125
+ Note: This is only implemented in the pelt skin.
126
+ Note: Beware issue FOR-677 if you use an absolute path uri.
127
+ If the optional <motd> element is used, then messages will be appended
128
+ depending on the URI string pattern.
129
+ motd-option : Each option will match a pattern and apply its text.
130
+ The "pattern" attribute specifies the pattern to be matched.
131
+ This can be a specific page, or a general pattern to match a set of pages,
132
+ e.g. everything in the "samples" directory.
133
+ The @starts-with=true anchors the string to the start, otherwise contains
134
+ motd-title : This text will betadded in brackets after the <html><title>
135
+ and this can be empty.
136
+ motd-page : This text will be added in a panel on the face of the page,
137
+ with the "motd-page-url" being the hyperlink "More".
138
+ Values for the "location" attribute are:
139
+ page : on the face of the page, e.g. in the spare space of the toc
140
+ alt : at the bottom of the left-hand navigation panel
141
+ both : both
142
+
143
+ <motd>
144
+ <motd-option pattern="samples/sample.html">
145
+ <motd-title>sample</motd-title>
146
+ <motd-page location="both">
147
+ This is an example of a Message of the day (MOTD).
148
+ </motd-page>
149
+ <motd-page-url>faq.html</motd-page-url>
150
+ </motd-option>
151
+ <motd-option pattern="samples/faq.html">
152
+ <motd-page location="page">
153
+ How to enable this MOTD is on this page.
154
+ </motd-page>
155
+ <motd-page-url>http://forrest.apache.org/docs/faq.html</motd-page-url>
156
+ </motd-option>
157
+ </motd>-->
158
+ <!--
159
+ extra-css - here you can define custom css-elements that are
160
+ A) overriding the fallback elements or
161
+ B) adding the css definition from new elements that you may have
162
+ used in your documentation.
163
+ -->
164
+ <extra-css>
165
+ <!--Example of reason B:
166
+ To define the css definition of a new element that you may have used
167
+ in the class attribute of a <p> node.
168
+ e.g. <p class="quote"/>
169
+ -->
170
+ p.quote {
171
+ margin-left: 2em;
172
+ padding: .5em;
173
+ background-color: #f0f0f0;
174
+ font-family: monospace;
175
+ }
176
+ <!--Example:
177
+ To override the colours of links only in the footer.
178
+ -->
179
+ #footer a { color: #0F3660; }
180
+ #footer a:visited { color: #009999; }
181
+ #top :searchbox { height: 34px; background-color: #DDDDDD; }
182
+ </extra-css>
183
+ <colors>
184
+ <!-- These values are used for the generated CSS files.
185
+ They essentially "override" the default colors defined in the chosen skin.
186
+ There are four duplicate "groups" of colors below, denoted by comments:
187
+ Color group: Forrest, Krysalis, Collabnet, and Lenya using Pelt.
188
+ They are provided for example only. To customize the colors of any skin,
189
+ uncomment one of these groups of color elements and change the values
190
+ of the particular color elements that you wish to change.
191
+ Note that by default, all color groups are commented-out which means that
192
+ the default colors provided by the skin are being used.
193
+ -->
194
+ <!-- Color group: Forrest: example colors similar to forrest.apache.org
195
+ Some of the element names are obscure, so comments are added to show how
196
+ the "pelt" skin uses them, other skins might use these elements in a different way.
197
+ Tip: temporarily change the value of an element to red (#ff0000) and see the effect.
198
+ pelt: breadtrail: the strip at the top of the page and the second strip under the tabs
199
+ pelt: header: top strip containing project and group logos
200
+ pelt: heading|subheading: section headings within the content
201
+ pelt: navstrip: the strip under the tabs which contains the published date
202
+ pelt: menu: the left-hand navigation panel
203
+ pelt: toolbox: the selected menu item
204
+ pelt: searchbox: the background of the searchbox
205
+ pelt: border: line border around selected menu item
206
+ pelt: body: any remaining parts, e.g. the bottom of the page
207
+ pelt: footer: the second from bottom strip containing credit logos and published date
208
+ pelt: feedback: the optional bottom strip containing feedback link
209
+
210
+
211
+ <color name="breadtrail" value="#cedfef" font="#0F3660" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
212
+ <color name="header" value="#294563"/>
213
+ <color name="tab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
214
+ <color name="tab-unselected" value="#b5c7e7" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
215
+ <color name="subtab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
216
+ <color name="subtab-unselected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
217
+ <color name="heading" value="#294563"/>
218
+ <color name="subheading" value="#4a6d8c"/>
219
+ <color name="published" value="#4C6C8F" font="#FFFFFF"/>
220
+ <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
221
+ <color name="navstrip" value="#4a6d8c" font="#ffffff" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
222
+ <color name="menu" value="#4a6d8c" font="#cedfef" link="#ffffff" vlink="#ffffff" hlink="#ffcf00"/>
223
+ <color name="toolbox" value="#4a6d8c"/>
224
+ <color name="border" value="#294563"/>
225
+ <color name="dialog" value="#4a6d8c"/>
226
+ <color name="searchbox" value="#4a6d8c" font="#000000"/>
227
+ <color name="body" value="#ffffff" link="#0F3660" vlink="#009999" hlink="#000066"/>
228
+ <color name="table" value="#7099C5"/>
229
+ <color name="table-cell" value="#f0f0ff"/>
230
+ <color name="highlight" value="#ffff00"/>
231
+ <color name="fixme" value="#cc6600"/>
232
+ <color name="note" value="#006699"/>
233
+ <color name="warning" value="#990000"/>
234
+ <color name="code" value="#CFDCED"/>
235
+ <color name="footer" value="#cedfef"/>
236
+ -->
237
+ <!-- Color group: Krysalis -->
238
+
239
+ <color name="header" value="#FFFFFF"/>
240
+
241
+ <color name="tab-selected" value="#a5b6c6" link="#000000" vlink="#000000" hlink="#000000"/>
242
+ <color name="tab-unselected" value="#F7F7F7" link="#000000" vlink="#000000" hlink="#000000"/>
243
+ <color name="subtab-selected" value="#a5b6c6" link="#000000" vlink="#000000" hlink="#000000"/>
244
+ <color name="subtab-unselected" value="#a5b6c6" link="#000000" vlink="#000000" hlink="#000000"/>
245
+
246
+ <color name="heading" value="#a5b6c6"/>
247
+ <color name="subheading" value="#CFDCED"/>
248
+
249
+ <color name="navstrip" value="#CFDCED" font="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
250
+ <color name="toolbox" value="#a5b6c6"/>
251
+ <color name="border" value="#a5b6c6"/>
252
+
253
+ <color name="menu" value="#F7F7F7" link="#000000" vlink="#000000" hlink="#000000"/>
254
+ <color name="dialog" value="#F7F7F7"/>
255
+
256
+ <color name="body" value="#ffffff" link="#0F3660" vlink="#009999" hlink="#000066"/>
257
+
258
+ <color name="table" value="#a5b6c6"/>
259
+ <color name="table-cell" value="#ffffff"/>
260
+ <color name="highlight" value="#ffff00"/>
261
+ <color name="fixme" value="#cc6600"/>
262
+ <color name="note" value="#006699"/>
263
+ <color name="warning" value="#990000"/>
264
+ <color name="code" value="#a5b6c6"/>
265
+
266
+ <color name="footer" value="#a5b6c6"/>
267
+
268
+ <!-- Color group: Collabnet
269
+
270
+ <color name="header" value="#003366"/>
271
+
272
+ <color name="tab-selected" value="#dddddd" link="#555555" vlink="#555555" hlink="#555555"/>
273
+ <color name="tab-unselected" value="#999999" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
274
+ <color name="subtab-selected" value="#cccccc" link="#000000" vlink="#000000" hlink="#000000"/>
275
+ <color name="subtab-unselected" value="#cccccc" link="#555555" vlink="#555555" hlink="#555555"/>
276
+
277
+ <color name="heading" value="#003366"/>
278
+ <color name="subheading" value="#888888"/>
279
+
280
+ <color name="navstrip" value="#dddddd" font="#555555"/>
281
+ <color name="toolbox" value="#dddddd" font="#555555"/>
282
+ <color name="border" value="#999999"/>
283
+
284
+ <color name="menu" value="#ffffff"/>
285
+ <color name="dialog" value="#eeeeee"/>
286
+
287
+ <color name="body" value="#ffffff"/>
288
+
289
+ <color name="table" value="#ccc"/>
290
+ <color name="table-cell" value="#ffffff"/>
291
+ <color name="highlight" value="#ffff00"/>
292
+ <color name="fixme" value="#cc6600"/>
293
+ <color name="note" value="#006699"/>
294
+ <color name="warning" value="#990000"/>
295
+ <color name="code" value="#003366"/>
296
+
297
+ <color name="footer" value="#ffffff"/>
298
+
299
+ -->
300
+
301
+ <!-- Color group: Lenya using pelt-->
302
+ <!--
303
+
304
+ <color name="header" value="#ffffff"/>
305
+
306
+ <color name="tab-selected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
307
+ <color name="tab-unselected" value="#F5F4E9" link="#000000" vlink="#000000" hlink="#000000"/>
308
+ <color name="subtab-selected" value="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
309
+ <color name="subtab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
310
+
311
+ <color name="heading" value="#E5E4D9"/>
312
+ <color name="subheading" value="#000000"/>
313
+ <color name="published" value="#000000"/>
314
+ <color name="navstrip" value="#E5E4D9" font="#000000"/>
315
+ <color name="toolbox" value="#CFDCED" font="#000000"/>
316
+ <color name="border" value="#999999"/>
317
+
318
+ <color name="menu" value="#E5E4D9" font="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
319
+ <color name="dialog" value="#CFDCED"/>
320
+ <color name="body" value="#ffffff" />
321
+
322
+ <color name="table" value="#ccc"/>
323
+ <color name="table-cell" value="#ffffff"/>
324
+ <color name="highlight" value="#ffff00"/>
325
+ <color name="fixme" value="#cc6600"/>
326
+ <color name="note" value="#006699"/>
327
+ <color name="warning" value="#990000"/>
328
+ <color name="code" value="#003366"/>
329
+
330
+ <color name="footer" value="#E5E4D9"/>
331
+ -->
332
+ </colors>
333
+ <!-- Settings specific to PDF output. -->
334
+ <pdf>
335
+ <!--
336
+ Supported page sizes are a0, a1, a2, a3, a4, a5, executive,
337
+ folio, legal, ledger, letter, quarto, tabloid (default letter).
338
+ Supported page orientations are portrait, landscape (default
339
+ portrait).
340
+ Supported text alignments are left, right, justify (default left).
341
+ -->
342
+ <page size="letter" orientation="portrait" text-align="left"/>
343
+ <!--
344
+ Pattern of the page numbering in the footer - Default is "Page x".
345
+ first occurrence of '1' digit represents the current page number,
346
+ second occurrence of '1' digit represents the total page number,
347
+ anything else is considered as the static part of the numbering pattern.
348
+ Examples : x is the current page number, y the total page number.
349
+ <page-numbering-format>none</page-numbering-format> Do not displays the page numbering
350
+ <page-numbering-format>1</page-numbering-format> Displays "x"
351
+ <page-numbering-format>p1.</page-numbering-format> Displays "px."
352
+ <page-numbering-format>Page 1/1</page-numbering-format> Displays "Page x/y"
353
+ <page-numbering-format>(1-1)</page-numbering-format> Displays "(x-y)"
354
+ -->
355
+ <page-numbering-format>Page 1</page-numbering-format>
356
+ <!--
357
+ Margins can be specified for top, bottom, inner, and outer
358
+ edges. If double-sided="false", the inner edge is always left
359
+ and the outer is always right. If double-sided="true", the
360
+ inner edge will be left on odd pages, right on even pages,
361
+ the outer edge vice versa.
362
+ Specified below are the default settings.
363
+ -->
364
+ <margins double-sided="false">
365
+ <top>1in</top>
366
+ <bottom>1in</bottom>
367
+ <inner>1.25in</inner>
368
+ <outer>1in</outer>
369
+ </margins>
370
+ <!--
371
+ Print the URL text next to all links going outside the file
372
+ -->
373
+ <show-external-urls>false</show-external-urls>
374
+ <!--
375
+ Disable the copyright footer on each page of the PDF.
376
+ A footer is composed for each page. By default, a "credit" with role=pdf
377
+ will be used, as explained below. Otherwise a copyright statement
378
+ will be generated. This latter can be disabled.
379
+ -->
380
+ <disable-copyright-footer>false</disable-copyright-footer>
381
+ </pdf>
382
+ <!--
383
+ Credits are typically rendered as a set of small clickable
384
+ images in the page footer.
385
+
386
+ Use box-location="alt" to move the credits to an alternate location
387
+ (if the skin supports it).
388
+
389
+ For example, pelt skin:
390
+ - box-location="alt" will place the logo at the end of the
391
+ left-hand coloured menu panel.
392
+ - box-location="alt2" will place them underneath that panel
393
+ in the left-hand whitespace.
394
+ - Otherwise they are placed next to the compatibility icons
395
+ at the bottom of the screen.
396
+
397
+ Comment out the whole <credit>-element if you want no credits in the
398
+ web pages
399
+ -->
400
+ <credits>
401
+ <credit box-location="alt">
402
+ <name>Built with Apache Forrest</name>
403
+ <url>http://forrest.apache.org/</url>
404
+ <image>images/built-with-forrest-button.png</image>
405
+ <width>88</width>
406
+ <height>31</height>
407
+ </credit>
408
+ <!-- A credit with @role="pdf" will be used to compose a footer
409
+ for each page in the PDF, using either "name" or "url" or both.
410
+ -->
411
+ <!--
412
+ <credit role="pdf">
413
+ <name>Built with Apache Forrest</name>
414
+ <url>http://forrest.apache.org/</url>
415
+ </credit>
416
+ -->
417
+ </credits>
418
+ </skinconfig>