webgen 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +280 -0
- data/Rakefile +3 -1
- data/TODO +29 -12
- data/VERSION +1 -1
- data/doc/extension.config +11 -6
- data/doc/src/about.page +21 -0
- data/doc/src/default.css +17 -0
- data/doc/src/default.template +3 -5
- data/doc/src/design.gallery +1 -1
- data/doc/src/designs/curdesign.png +0 -0
- data/doc/src/designs/nostyle.png +0 -0
- data/doc/src/designs/old.png +0 -0
- data/doc/src/documentation/contenthandler/html.page +11 -0
- data/doc/src/documentation/contenthandler/index.page +7 -0
- data/doc/src/documentation/contenthandler/markdown.page +11 -0
- data/doc/src/documentation/contenthandler/rdoc.page +11 -0
- data/doc/src/documentation/contenthandler/textile.page +11 -0
- data/doc/src/documentation/extloader.page +1 -1
- data/doc/src/documentation/filehandler/backing.page +1 -1
- data/doc/src/documentation/filehandler/galleryhandler.page +79 -0
- data/doc/src/documentation/filehandler/{page.page → pagehandler.page} +2 -7
- data/doc/src/documentation/gallerylayouter/defaultlayouter.page +12 -0
- data/doc/src/documentation/gallerylayouter/index.page +14 -0
- data/doc/src/documentation/htmlvalidator/index.page +6 -0
- data/doc/src/documentation/htmlvalidator/xmllint.page +14 -0
- data/doc/src/documentation/index.page +33 -6
- data/doc/src/documentation/tags/index.page +2 -2
- data/doc/src/documentation/tags/{lang.de.page → langbar.de.page} +0 -0
- data/doc/src/documentation/tags/{lang.page → langbar.page} +6 -6
- data/doc/src/documentation/tags/menu.page +1 -1
- data/doc/src/documentation/tags/sitemap.page +18 -0
- data/doc/src/download.page +2 -0
- data/doc/src/features.page +4 -4
- data/doc/src/index.page +18 -20
- data/doc/src/meta.info +5 -5
- data/install.rb +1 -1
- data/lib/webgen/configuration.rb +35 -12
- data/lib/webgen/node.rb +9 -3
- data/lib/webgen/plugins/contenthandler/defaultcontenthandler.rb +39 -0
- data/lib/webgen/plugins/{filehandler/pagehandler → contenthandler}/html.rb +4 -7
- data/lib/webgen/plugins/{filehandler/pagehandler → contenthandler}/markdown.rb +4 -7
- data/lib/webgen/plugins/{filehandler/pagehandler → contenthandler}/rdoc.rb +5 -5
- data/lib/webgen/plugins/{filehandler/pagehandler → contenthandler}/textile.rb +4 -7
- data/lib/webgen/plugins/filehandler/backing.rb +4 -4
- data/lib/webgen/plugins/filehandler/directory.rb +25 -3
- data/lib/webgen/plugins/filehandler/filecopy.rb +4 -2
- data/lib/webgen/plugins/filehandler/filehandler.rb +5 -8
- data/lib/webgen/plugins/filehandler/{pagehandler/page.rb → page.rb} +48 -32
- data/lib/webgen/plugins/filehandler/picturegallery.rb +70 -51
- data/lib/webgen/plugins/gallerylayouter/defaultgallerylayouter.rb +152 -0
- data/lib/webgen/plugins/htmlvalidator/defaulthtmlvalidator.rb +37 -0
- data/lib/webgen/plugins/htmlvalidator/xmllint.rb +70 -0
- data/lib/webgen/plugins/tags/{lang.rb → langbar.rb} +3 -3
- data/lib/webgen/plugins/tags/menu.rb +9 -13
- data/lib/webgen/plugins/tags/relocatable.rb +2 -2
- data/lib/webgen/plugins/tags/sitemap.rb +73 -0
- data/lib/webgen/plugins/tags/tags.rb +9 -9
- data/lib/webgen/plugins/treewalker.rb +2 -2
- data/testsite/src/{images/bghack.png → bghack.png} +0 -0
- metadata +33 -20
- data/doc/src/designs/default.png +0 -0
- data/doc/src/documentation/filehandler/picturegallery.page +0 -25
- data/testsite/src/images/o.png +0 -0
- data/testsite/src/images/smagacor.png +0 -0
- data/testsite/src/images/tictactoe.png +0 -0
- data/testsite/src/images/x.png +0 -0
- data/testsite/src/test.gallery +0 -5
data/ChangeLog
CHANGED
@@ -1,4 +1,284 @@
|
|
1
1
|
------------------------------------------------------------------------
|
2
|
+
r226 | thomas | 2005-03-16 16:34:13 +0100 (Wed, 16 Mar 2005) | 1 line
|
3
|
+
Changed paths:
|
4
|
+
M /trunk/webgen/TODO
|
5
|
+
|
6
|
+
|
7
|
+
------------------------------------------------------------------------
|
8
|
+
r225 | thomas | 2005-03-16 16:30:02 +0100 (Wed, 16 Mar 2005) | 1 line
|
9
|
+
Changed paths:
|
10
|
+
M /trunk/webgen/test/webgen/filehandlers/tc_page.rb
|
11
|
+
|
12
|
+
* corrected test file
|
13
|
+
------------------------------------------------------------------------
|
14
|
+
r224 | thomas | 2005-03-16 16:26:33 +0100 (Wed, 16 Mar 2005) | 2 lines
|
15
|
+
Changed paths:
|
16
|
+
M /trunk/webgen/doc/src/documentation/extloader.page
|
17
|
+
M /trunk/webgen/doc/src/documentation/filehandler/backing.page
|
18
|
+
M /trunk/webgen/doc/src/documentation/filehandler/galleryhandler.page
|
19
|
+
M /trunk/webgen/doc/src/documentation/tags/index.page
|
20
|
+
M /trunk/webgen/doc/src/documentation/tags/langbar.page
|
21
|
+
M /trunk/webgen/doc/src/documentation/tags/menu.page
|
22
|
+
M /trunk/webgen/doc/src/index.page
|
23
|
+
M /trunk/webgen/doc/src/meta.info
|
24
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/directory.rb
|
25
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/page.rb
|
26
|
+
M /trunk/webgen/lib/webgen/plugins/tags/relocatable.rb
|
27
|
+
|
28
|
+
* fixed BUG in relocatable tag: lang pages not correctly referenced
|
29
|
+
* new parameter for page filehandler: outputNameStyle
|
30
|
+
------------------------------------------------------------------------
|
31
|
+
r223 | thomas | 2005-03-16 15:10:57 +0100 (Wed, 16 Mar 2005) | 3 lines
|
32
|
+
Changed paths:
|
33
|
+
M /trunk/webgen/TODO
|
34
|
+
M /trunk/webgen/doc/src/default.template
|
35
|
+
D /trunk/webgen/doc/src/documentation/tags/lang.de.page
|
36
|
+
D /trunk/webgen/doc/src/documentation/tags/lang.page
|
37
|
+
A /trunk/webgen/doc/src/documentation/tags/langbar.de.page (from /trunk/webgen/doc/src/documentation/tags/lang.de.page:212)
|
38
|
+
A /trunk/webgen/doc/src/documentation/tags/langbar.page (from /trunk/webgen/doc/src/documentation/tags/lang.page:212)
|
39
|
+
M /trunk/webgen/doc/src/index.page
|
40
|
+
D /trunk/webgen/lib/webgen/plugins/tags/lang.rb
|
41
|
+
A /trunk/webgen/lib/webgen/plugins/tags/langbar.rb (from /trunk/webgen/lib/webgen/plugins/tags/lang.rb:212)
|
42
|
+
M /trunk/webgen/lib/webgen/plugins/tags/menu.rb
|
43
|
+
M /trunk/webgen/lib/webgen/plugins/tags/tags.rb
|
44
|
+
|
45
|
+
* renamed tag lang, new name langbar
|
46
|
+
* added two parameters to menu tag: submenuClass, selectedMenuitemClass
|
47
|
+
* corrected doc/src/default.template: xml:lang was always set to <en>, now the language of the page is used
|
48
|
+
------------------------------------------------------------------------
|
49
|
+
r222 | thomas | 2005-03-13 17:30:40 +0100 (Sun, 13 Mar 2005) | 1 line
|
50
|
+
Changed paths:
|
51
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/filehandler.rb
|
52
|
+
|
53
|
+
* BUG fixed: file entries with only 2 chars got skipped
|
54
|
+
------------------------------------------------------------------------
|
55
|
+
r221 | thomas | 2005-03-12 18:14:11 +0100 (Sat, 12 Mar 2005) | 2 lines
|
56
|
+
Changed paths:
|
57
|
+
M /trunk/webgen/TODO
|
58
|
+
M /trunk/webgen/doc/extension.config
|
59
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/picturegallery.rb
|
60
|
+
M /trunk/webgen/lib/webgen/plugins/tags/menu.rb
|
61
|
+
|
62
|
+
* ordering of gallery pages for picture gallery now possible
|
63
|
+
* corrected bug in doc/extension.config where false HTML was written
|
64
|
+
------------------------------------------------------------------------
|
65
|
+
r220 | thomas | 2005-03-12 16:41:05 +0100 (Sat, 12 Mar 2005) | 2 lines
|
66
|
+
Changed paths:
|
67
|
+
M /trunk/webgen/TODO
|
68
|
+
M /trunk/webgen/lib/webgen/node.rb
|
69
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/picturegallery.rb
|
70
|
+
M /trunk/webgen/lib/webgen/plugins/gallerylayouter/defaultgallerylayouter.rb
|
71
|
+
M /trunk/webgen/test/webgen/tc_configuration.rb
|
72
|
+
M /trunk/webgen/test/webgen/tc_node.rb
|
73
|
+
|
74
|
+
* added methode Node#parent_dir and tests for it
|
75
|
+
* corrected tests for Webgen::Plugin
|
76
|
+
------------------------------------------------------------------------
|
77
|
+
r219 | thomas | 2005-03-11 16:53:38 +0100 (Fri, 11 Mar 2005) | 1 line
|
78
|
+
Changed paths:
|
79
|
+
M /trunk/webgen/doc/src/documentation/contenthandler/markdown.page
|
80
|
+
A /trunk/webgen/doc/src/documentation/filehandler/galleryhandler.page
|
81
|
+
M /trunk/webgen/doc/src/documentation/filehandler/pagehandler.page
|
82
|
+
|
83
|
+
* changed documentation
|
84
|
+
------------------------------------------------------------------------
|
85
|
+
r218 | thomas | 2005-03-11 16:41:39 +0100 (Fri, 11 Mar 2005) | 2 lines
|
86
|
+
Changed paths:
|
87
|
+
M /trunk/webgen/TODO
|
88
|
+
A /trunk/webgen/doc/src/documentation/contenthandler/index.page
|
89
|
+
A /trunk/webgen/doc/src/documentation/gallerylayouter/index.page
|
90
|
+
A /trunk/webgen/doc/src/documentation/htmlvalidator/index.page
|
91
|
+
A /trunk/webgen/doc/src/documentation/htmlvalidator/xmllint.page
|
92
|
+
M /trunk/webgen/lib/webgen/plugins/treewalker.rb
|
93
|
+
|
94
|
+
* added the index pages for gallery layouter, content handler and html validator directories
|
95
|
+
* add documentation for xmllint html validator
|
96
|
+
------------------------------------------------------------------------
|
97
|
+
r217 | thomas | 2005-03-11 16:15:54 +0100 (Fri, 11 Mar 2005) | 2 lines
|
98
|
+
Changed paths:
|
99
|
+
M /trunk/webgen/TODO
|
100
|
+
M /trunk/webgen/doc/extension.config
|
101
|
+
A /trunk/webgen/doc/src/documentation/contenthandler
|
102
|
+
A /trunk/webgen/doc/src/documentation/contenthandler/html.page (from /trunk/webgen/doc/src/documentation/filehandler/pagehandler/html.page:212)
|
103
|
+
A /trunk/webgen/doc/src/documentation/contenthandler/markdown.page (from /trunk/webgen/doc/src/documentation/filehandler/pagehandler/markdown.page:212)
|
104
|
+
A /trunk/webgen/doc/src/documentation/contenthandler/rdoc.page (from /trunk/webgen/doc/src/documentation/filehandler/pagehandler/rdoc.page:212)
|
105
|
+
A /trunk/webgen/doc/src/documentation/contenthandler/textile.page (from /trunk/webgen/doc/src/documentation/filehandler/pagehandler/textile.page:212)
|
106
|
+
D /trunk/webgen/doc/src/documentation/filehandler/galleryhandler
|
107
|
+
D /trunk/webgen/doc/src/documentation/filehandler/pagehandler
|
108
|
+
A /trunk/webgen/doc/src/documentation/filehandler/pagehandler.page (from /trunk/webgen/doc/src/documentation/filehandler/pagehandler/index.page:212)
|
109
|
+
A /trunk/webgen/doc/src/documentation/gallerylayouter
|
110
|
+
A /trunk/webgen/doc/src/documentation/gallerylayouter/defaultlayouter.page (from /trunk/webgen/doc/src/documentation/filehandler/galleryhandler/defaultlayouter.page:212)
|
111
|
+
A /trunk/webgen/doc/src/documentation/htmlvalidator
|
112
|
+
M /trunk/webgen/lib/webgen/configuration.rb
|
113
|
+
|
114
|
+
* moved some documentation pages to new locations
|
115
|
+
* handlers defined via define_handler now get shown in describe tag
|
116
|
+
------------------------------------------------------------------------
|
117
|
+
r216 | thomas | 2005-02-27 15:06:09 +0100 (Sun, 27 Feb 2005) | 1 line
|
118
|
+
Changed paths:
|
119
|
+
M /trunk/webgen/lib/webgen/plugins/htmlvalidator/xmllint.rb
|
120
|
+
|
121
|
+
* added check in XmllintHTMLValidator to see if xmllint is available
|
122
|
+
------------------------------------------------------------------------
|
123
|
+
r215 | thomas | 2005-02-27 15:00:04 +0100 (Sun, 27 Feb 2005) | 2 lines
|
124
|
+
Changed paths:
|
125
|
+
M /trunk/webgen/TODO
|
126
|
+
M /trunk/webgen/doc/src/index.page
|
127
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/page.rb
|
128
|
+
M /trunk/webgen/lib/webgen/plugins/htmlvalidator/xmllint.rb
|
129
|
+
|
130
|
+
* added validation of HTML files to PageHandler by using HTMLValidator plugins
|
131
|
+
* completed xmllint HTML validator plugin
|
132
|
+
------------------------------------------------------------------------
|
133
|
+
r214 | thomas | 2005-02-27 14:40:27 +0100 (Sun, 27 Feb 2005) | 3 lines
|
134
|
+
Changed paths:
|
135
|
+
M /trunk/webgen/TODO
|
136
|
+
M /trunk/webgen/lib/webgen/configuration.rb
|
137
|
+
M /trunk/webgen/lib/webgen/plugins/contenthandler/defaultcontenthandler.rb
|
138
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/backing.rb
|
139
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/filehandler.rb
|
140
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/page.rb
|
141
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/picturegallery.rb
|
142
|
+
M /trunk/webgen/lib/webgen/plugins/gallerylayouter/defaultgallerylayouter.rb
|
143
|
+
M /trunk/webgen/lib/webgen/plugins/htmlvalidator/defaulthtmlvalidator.rb
|
144
|
+
M /trunk/webgen/lib/webgen/plugins/tags/tags.rb
|
145
|
+
|
146
|
+
* Webgen::Plugin.config uses classes (not class names) as keys now
|
147
|
+
* add Webgen::Plugin.define_handler which can be used to define a new handler for something very easily
|
148
|
+
* changed DefaultHTMLValidator, DefaultContentHandler, DefaultGalleryLayouter to use Webgen::Plugin.define_handler
|
149
|
+
------------------------------------------------------------------------
|
150
|
+
r213 | thomas | 2005-02-27 13:06:08 +0100 (Sun, 27 Feb 2005) | 1 line
|
151
|
+
Changed paths:
|
152
|
+
D /trunk/webgen/lib/webgen/plugins/filehandler/galleryhandler
|
153
|
+
A /trunk/webgen/lib/webgen/plugins/filehandler/picturegallery.rb (from /trunk/webgen/lib/webgen/plugins/filehandler/galleryhandler/picturegallery.rb:212)
|
154
|
+
A /trunk/webgen/lib/webgen/plugins/gallerylayouter
|
155
|
+
A /trunk/webgen/lib/webgen/plugins/gallerylayouter/defaultgallerylayouter.rb (from /trunk/webgen/lib/webgen/plugins/filehandler/galleryhandler/defaultlayouter.rb:212)
|
156
|
+
|
157
|
+
* moved gallery layouter into own subdir
|
158
|
+
------------------------------------------------------------------------
|
159
|
+
r212 | thomas | 2005-02-27 13:02:27 +0100 (Sun, 27 Feb 2005) | 4 lines
|
160
|
+
Changed paths:
|
161
|
+
M /trunk/webgen/TODO
|
162
|
+
M /trunk/webgen/doc/src/index.page
|
163
|
+
M /trunk/webgen/lib/webgen/configuration.rb
|
164
|
+
A /trunk/webgen/lib/webgen/plugins/contenthandler
|
165
|
+
A /trunk/webgen/lib/webgen/plugins/contenthandler/defaultcontenthandler.rb
|
166
|
+
A /trunk/webgen/lib/webgen/plugins/contenthandler/html.rb (from /trunk/webgen/lib/webgen/plugins/filehandler/pagehandler/html.rb:211)
|
167
|
+
A /trunk/webgen/lib/webgen/plugins/contenthandler/markdown.rb (from /trunk/webgen/lib/webgen/plugins/filehandler/pagehandler/markdown.rb:211)
|
168
|
+
A /trunk/webgen/lib/webgen/plugins/contenthandler/rdoc.rb (from /trunk/webgen/lib/webgen/plugins/filehandler/pagehandler/rdoc.rb:211)
|
169
|
+
A /trunk/webgen/lib/webgen/plugins/contenthandler/textile.rb (from /trunk/webgen/lib/webgen/plugins/filehandler/pagehandler/textile.rb:211)
|
170
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/galleryhandler/defaultlayouter.rb
|
171
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/galleryhandler/picturegallery.rb
|
172
|
+
A /trunk/webgen/lib/webgen/plugins/filehandler/page.rb (from /trunk/webgen/lib/webgen/plugins/filehandler/pagehandler/page.rb:211)
|
173
|
+
D /trunk/webgen/lib/webgen/plugins/filehandler/pagehandler
|
174
|
+
A /trunk/webgen/lib/webgen/plugins/htmlvalidator
|
175
|
+
A /trunk/webgen/lib/webgen/plugins/htmlvalidator/defaulthtmlvalidator.rb
|
176
|
+
A /trunk/webgen/lib/webgen/plugins/htmlvalidator/xmllint.rb
|
177
|
+
|
178
|
+
* bumped version number to 0.3.1
|
179
|
+
* moved content handlers to own subdir
|
180
|
+
* extracted DefaultContentHandler from page.rb into own file
|
181
|
+
* began writing html validator plugins
|
182
|
+
------------------------------------------------------------------------
|
183
|
+
r211 | thomas | 2005-02-26 18:23:20 +0100 (Sat, 26 Feb 2005) | 5 lines
|
184
|
+
Changed paths:
|
185
|
+
M /trunk/webgen/Rakefile
|
186
|
+
M /trunk/webgen/TODO
|
187
|
+
M /trunk/webgen/doc/extension.config
|
188
|
+
A /trunk/webgen/doc/src/about.page
|
189
|
+
M /trunk/webgen/doc/src/default.template
|
190
|
+
A /trunk/webgen/doc/src/documentation/filehandler/galleryhandler
|
191
|
+
A /trunk/webgen/doc/src/documentation/filehandler/galleryhandler/defaultlayouter.page
|
192
|
+
A /trunk/webgen/doc/src/documentation/filehandler/galleryhandler/index.page (from /trunk/webgen/doc/src/documentation/filehandler/picturegallery.page:202)
|
193
|
+
D /trunk/webgen/doc/src/documentation/filehandler/page.page
|
194
|
+
A /trunk/webgen/doc/src/documentation/filehandler/pagehandler
|
195
|
+
A /trunk/webgen/doc/src/documentation/filehandler/pagehandler/html.page
|
196
|
+
A /trunk/webgen/doc/src/documentation/filehandler/pagehandler/index.page (from /trunk/webgen/doc/src/documentation/filehandler/page.page:199)
|
197
|
+
A /trunk/webgen/doc/src/documentation/filehandler/pagehandler/markdown.page
|
198
|
+
A /trunk/webgen/doc/src/documentation/filehandler/pagehandler/rdoc.page
|
199
|
+
A /trunk/webgen/doc/src/documentation/filehandler/pagehandler/textile.page
|
200
|
+
D /trunk/webgen/doc/src/documentation/filehandler/picturegallery.page
|
201
|
+
A /trunk/webgen/doc/src/documentation/tags/sitemap.page
|
202
|
+
M /trunk/webgen/doc/src/index.page
|
203
|
+
A /trunk/webgen/lib/webgen/plugins/filehandler/galleryhandler
|
204
|
+
A /trunk/webgen/lib/webgen/plugins/filehandler/galleryhandler/defaultlayouter.rb
|
205
|
+
A /trunk/webgen/lib/webgen/plugins/filehandler/galleryhandler/picturegallery.rb (from /trunk/webgen/lib/webgen/plugins/filehandler/picturegallery.rb:210)
|
206
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/pagehandler/html.rb
|
207
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/pagehandler/markdown.rb
|
208
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/pagehandler/page.rb
|
209
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/pagehandler/rdoc.rb
|
210
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/pagehandler/textile.rb
|
211
|
+
D /trunk/webgen/lib/webgen/plugins/filehandler/picturegallery.rb
|
212
|
+
M /trunk/webgen/lib/webgen/plugins/tags/menu.rb
|
213
|
+
A /trunk/webgen/lib/webgen/plugins/tags/sitemap.rb
|
214
|
+
|
215
|
+
* added about.page
|
216
|
+
* added docu pages for all content handlers and gallery layouters
|
217
|
+
* simplified MenuTag#menu_entry
|
218
|
+
* added sitemap tag plugin and docu page
|
219
|
+
* renamed all content handlers to include the word content in their names
|
220
|
+
------------------------------------------------------------------------
|
221
|
+
r210 | thomas | 2005-02-26 14:42:55 +0100 (Sat, 26 Feb 2005) | 3 lines
|
222
|
+
Changed paths:
|
223
|
+
M /trunk/webgen/TODO
|
224
|
+
M /trunk/webgen/doc/src/default.css
|
225
|
+
M /trunk/webgen/doc/src/designs/curdesign.png
|
226
|
+
M /trunk/webgen/doc/src/designs/nostyle.png
|
227
|
+
M /trunk/webgen/doc/src/designs/old.png
|
228
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/filecopy.rb
|
229
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/filehandler.rb
|
230
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/picturegallery.rb
|
231
|
+
|
232
|
+
* FileHandler#file_modified? interface changed to support arbitrary files
|
233
|
+
* thumbnails are not created if the source files did not change
|
234
|
+
* DefaultLayouterer updated: navigation links on gallery and picture pages added
|
235
|
+
------------------------------------------------------------------------
|
236
|
+
r209 | thomas | 2005-02-26 12:52:27 +0100 (Sat, 26 Feb 2005) | 4 lines
|
237
|
+
Changed paths:
|
238
|
+
M /trunk/webgen/TODO
|
239
|
+
M /trunk/webgen/doc/src/default.css
|
240
|
+
M /trunk/webgen/doc/src/download.page
|
241
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/backing.rb
|
242
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/directory.rb
|
243
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/filehandler.rb
|
244
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/picturegallery.rb
|
245
|
+
|
246
|
+
* enhanced output of DefaultLayouter
|
247
|
+
* added creation of thumbnails for pictures through RMagick
|
248
|
+
* added possibility of adding meta information to main page and gallery pages for PictureGalleryFileHandler
|
249
|
+
* added Node#recursive_create_path
|
250
|
+
------------------------------------------------------------------------
|
251
|
+
r208 | thomas | 2005-02-23 13:45:30 +0100 (Wed, 23 Feb 2005) | 2 lines
|
252
|
+
Changed paths:
|
253
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/pagehandler/page.rb
|
254
|
+
M /trunk/webgen/lib/webgen/plugins/filehandler/picturegallery.rb
|
255
|
+
|
256
|
+
* picture gallery layouter now plugins
|
257
|
+
* BUG fixed in PageHandler where incorrect blocks meta information caused abort
|
258
|
+
------------------------------------------------------------------------
|
259
|
+
r207 | thomas | 2005-02-23 13:10:00 +0100 (Wed, 23 Feb 2005) | 1 line
|
260
|
+
Changed paths:
|
261
|
+
M /trunk/webgen/TODO
|
262
|
+
M /trunk/webgen/doc/src/documentation/index.page
|
263
|
+
M /trunk/webgen/doc/src/features.page
|
264
|
+
|
265
|
+
* added a little bit documentation
|
266
|
+
------------------------------------------------------------------------
|
267
|
+
r206 | thomas | 2005-02-21 22:56:49 +0100 (Mon, 21 Feb 2005) | 1 line
|
268
|
+
Changed paths:
|
269
|
+
M /trunk/webgen/doc/src/index.page
|
270
|
+
D /trunk/webgen/testsite/src/images
|
271
|
+
|
272
|
+
* small change in index.page
|
273
|
+
------------------------------------------------------------------------
|
274
|
+
r204 | thomas | 2005-02-21 22:36:53 +0100 (Mon, 21 Feb 2005) | 1 line
|
275
|
+
Changed paths:
|
276
|
+
M /trunk/webgen/doc/src/design.gallery
|
277
|
+
A /trunk/webgen/doc/src/designs/curdesign.png (from /trunk/webgen/doc/src/designs/default.png:202)
|
278
|
+
D /trunk/webgen/doc/src/designs/default.png
|
279
|
+
|
280
|
+
* change name of png file
|
281
|
+
------------------------------------------------------------------------
|
2
282
|
r203 | thomas | 2005-02-21 19:42:04 +0100 (Mon, 21 Feb 2005) | 1 line
|
3
283
|
Changed paths:
|
4
284
|
M /trunk/webgen/README
|
data/Rakefile
CHANGED
data/TODO
CHANGED
@@ -1,35 +1,27 @@
|
|
1
1
|
---- CURRENT ----
|
2
2
|
|
3
|
-
*
|
3
|
+
* reloctable tag: correct output for complex URLS???
|
4
|
+
* check if duplicate nodes are created??? by using a tag in a template
|
4
5
|
* allow a template to use another template (templates as page description files?) (template2 uses template1)
|
5
|
-
* ev. create a GalleryNode and put gallery/pictures pages beneath it???
|
6
|
-
* ordering of picture/gallery files for menu
|
7
6
|
* create webgen 0.2.0 to 0.3.0 converter
|
8
7
|
* security concerns (setting different $SAFE level???)
|
9
|
-
* register with Freshmeat.net
|
10
8
|
* use code generator to create test file with all tags and all tag parameter configurations
|
11
|
-
* check out http://jigsaw.w3.org/css-validator/check/referer
|
12
9
|
|
13
10
|
---- DOCU ----
|
14
11
|
|
15
|
-
* pictureGallery: document layout methods (how to extend), main things...
|
16
|
-
* extend plugins section on main documentation page
|
17
|
-
* add design gallery
|
18
12
|
* DEV: self.logger.warn/error/info/debug can be used for messages
|
19
13
|
|
20
14
|
---- FUTURE ----
|
21
15
|
|
22
16
|
* tag 'resume', uses xmlresume2x to provide HTML version of xml resume
|
23
|
-
* tag 'mrplot' -> generate a plot with mrplot
|
24
|
-
* tag 'sitemap' -> generate site map
|
25
17
|
* multi-lingual picture/gallery files
|
26
|
-
* create thumbnails of pictures on the fly with rmagick
|
27
18
|
* create logo "Created with webgen"
|
28
19
|
* refactor menu: abstract menu generator+parser, concrete impls (vert. menu, horz. menu, ...)
|
20
|
+
* include exif info for pictures
|
29
21
|
|
30
22
|
---- DONE ----
|
31
23
|
|
32
|
-
W check if an xml validator is available in ruby
|
24
|
+
W check if an xml validator is available in ruby
|
33
25
|
W think about sequence of actions when program is executed
|
34
26
|
W think about how the data is stored in tree/which data is stored in tree
|
35
27
|
W set up directory structure and build system
|
@@ -131,3 +123,28 @@ W do not allow two or more page files in the same language, print warn
|
|
131
123
|
* remove extension(...) call from file handlers -> DefaultHandler#initialize
|
132
124
|
* pagehandler + converter into own subdir
|
133
125
|
* think about filename conflicts for picture pages
|
126
|
+
* document that webgen documentation source files (as example website) are in the tar.gz file!
|
127
|
+
* document philosophy of webgen (never stop running, errors/warnings, default values,...)
|
128
|
+
* extend plugins section on main documentation page
|
129
|
+
* add design gallery
|
130
|
+
* register with Freshmeat.net
|
131
|
+
* check out http://jigsaw.w3.org/css-validator/check/referer -> using xmllint
|
132
|
+
* BUG DirHandler#recursive_create_path: handle relativ paths ('..' and '.')
|
133
|
+
* allow specification of metadata for gallery and picture pages
|
134
|
+
* create thumbnails of pictures on the fly with rmagick
|
135
|
+
* do not create thumbnails if they already exist and the source file has not changed
|
136
|
+
* ev. create a GalleryNode and put gallery/pictures pages beneath it??? -> No
|
137
|
+
* tag 'sitemap' -> generate site map
|
138
|
+
* add pages for content converter and layouter plugins
|
139
|
+
* pictureGallery: document layout methods (how to extend -> write subclass, can use config values as layouters are plugins), main things...
|
140
|
+
* pictureGallery: files param: no path outside src directory
|
141
|
+
* simplify DefaultContentHandler, DefaultHTMLValidator, DefaultGalleryLayouter, ...
|
142
|
+
* Webgen::Plugin.config should have classes (not class names) as keys
|
143
|
+
* integrate check on output HTML pages (using xmllint)
|
144
|
+
* change extension.config to output registered handlers
|
145
|
+
* add htmlvalidator to docu
|
146
|
+
* document TreeWalker plugin -> not needed
|
147
|
+
* restructure documentation (filehandler, contenthandler, htmlvalidator, tags)
|
148
|
+
* tag 'mrplot' -> generate a plot with mrplot --> tag not very useable
|
149
|
+
* ordering of picture/gallery files for menu
|
150
|
+
* add params to menu for style classes (webgen-submenu, webgen-menuitem-selected) -> see menu feedback on wiki
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/doc/extension.config
CHANGED
@@ -25,26 +25,31 @@ class DescribeTag < Tags::DefaultTag
|
|
25
25
|
|
26
26
|
def format_data( data )
|
27
27
|
s = "<table>"
|
28
|
-
row = lambda {|desc, value| "<tr style='vertical-align: top'><td style='font-weight:bold'>#{desc}:</td><td>#{value}</td></tr>" }
|
28
|
+
row = lambda {|desc, value| "<tr style='vertical-align: top'><td style='font-weight:bold'>#{CGI::escapeHTML( desc )}:</td><td>#{value}</td></tr>" }
|
29
29
|
|
30
30
|
[['Plugin Name', 'plugin'], ['Summary', 'summary'], ['Description', 'description']].each do |desc, name|
|
31
|
-
s += row[desc, data.send( name )] if eval( "data.#{name}" )
|
31
|
+
s += row[desc, CGI::escapeHTML( data.send( name ) )] if eval( "data.#{name}" )
|
32
32
|
end
|
33
33
|
|
34
|
-
s += row['Dependencies', data.dependencies.join( ', ')] if data.dependencies
|
34
|
+
s += row['Dependencies', CGI::escapeHTML( data.dependencies.join( ', ') )] if data.dependencies
|
35
35
|
|
36
36
|
unless data.params.nil?
|
37
37
|
params = data.params.collect do |k,v|
|
38
38
|
"<span style='color: red'>#{v.name}</span>" + \
|
39
39
|
( v.mandatory.nil? \
|
40
|
-
? " = <span style='color: blue'>#{v.default.inspect}</span>" \
|
40
|
+
? " = <span style='color: blue'>#{CGI::escapeHTML( v.default.inspect )}</span>" \
|
41
41
|
: " (=" + ( v.mandatoryDefault ? "default " : "" ) + "mandatory parameter)" ) + \
|
42
|
-
": #{v.description}"
|
42
|
+
": #{CGI::escapeHTML( v.description )}"
|
43
43
|
end
|
44
44
|
s += row['Parameters', params.join( "<br />\n" )]
|
45
45
|
end
|
46
46
|
s += row['Name of tag', (data.tag == :default ? "Default tag" : data.tag)] if data.tag
|
47
|
-
s += row['
|
47
|
+
s += row['File extension', data.extension.inspect.gsub(/"/, '')] if data.extension
|
48
|
+
|
49
|
+
# Show all registered handlers
|
50
|
+
data.table.keys.find_all {|k| /^registered_/ =~ k.to_s }.each do |k|
|
51
|
+
s += row[k.to_s.sub( /^registered_/, '' ).capitalize + " name", data.send( k )]
|
52
|
+
end
|
48
53
|
|
49
54
|
s += "</table>"
|
50
55
|
end
|
data/doc/src/about.page
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
title: About
|
3
|
+
inMenu: true
|
4
|
+
menuOrder: 2
|
5
|
+
---
|
6
|
+
h2. About _webgen_
|
7
|
+
|
8
|
+
Webgen is used to generate web pages from page description and template files. You create one
|
9
|
+
template file in which you define the layout of your page and where the content should go. After
|
10
|
+
that you can create page description files in which you only define the content.
|
11
|
+
|
12
|
+
When webgen is run it combines the template with each of the page description files and generates
|
13
|
+
the HTML output files. During this process special tags are substituted so that, for example, a menu
|
14
|
+
is generated.
|
15
|
+
|
16
|
+
h2. Author
|
17
|
+
|
18
|
+
* *Thomas Leitner*
|
19
|
+
* Web: "http://webgen.rubyforge.org":http://webgen.rubyforge.org
|
20
|
+
* e-Mail: "t_leitner@gmx.at":mailto:t_leitner@gmx.at
|
21
|
+
* GPG Key-Id: 0xD942E7F6
|
data/doc/src/default.css
CHANGED
@@ -126,4 +126,21 @@
|
|
126
126
|
|
127
127
|
.webgen-picture {
|
128
128
|
text-align: center;
|
129
|
+
}
|
130
|
+
|
131
|
+
.webgen-picture img {
|
132
|
+
border: 1px solid black;
|
133
|
+
}
|
134
|
+
|
135
|
+
.webgen-gallery {
|
136
|
+
text-align: center;
|
137
|
+
}
|
138
|
+
|
139
|
+
.webgen-gallery table {
|
140
|
+
width: 100%;
|
141
|
+
}
|
142
|
+
|
143
|
+
.webgen-gallery table td{
|
144
|
+
text-align: center;
|
145
|
+
border: 1px solid black;
|
129
146
|
}
|