Soks 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. data/LICENSE.txt +7 -3
  2. data/README.txt +16 -21
  3. data/bin/soks-create-wiki.rb +3 -2
  4. data/contrib/redcloth-2.0.11.rb +1 -1
  5. data/lib/soks-helpers.rb +7 -4
  6. data/lib/soks-model.rb +17 -9
  7. data/lib/soks-storage.rb +55 -72
  8. data/lib/soks-view.rb +32 -87
  9. data/templates/default/attachment/stylesheet.css +7 -0
  10. data/templates/default/content/All%20News.textile +9 -0
  11. data/templates/default/content/Author.textile +12 -0
  12. data/templates/default/content/Automatic%20Summaries.textile +77 -0
  13. data/templates/default/content/Automatic%20linking%20between%20pages.textile +5 -0
  14. data/templates/default/content/Bug%3A%20Automatic%20link%20links%20to%20stuff%20inside%20%3Chtml.textile +1 -0
  15. data/templates/default/content/Bug%3A%20Does%20not%20make%20use%20of%20if%2Dmodified%2Dsince%20r.textile +1 -0
  16. data/templates/default/content/Bug%3A%20Duplicate%20links%2Dto%20a%20page%20sometimes%20appear.textile +1 -0
  17. data/templates/default/content/Bug%3A%20External%20links%20incorrectly%20include%20trailing%20pu.textile +1 -0
  18. data/templates/default/content/Bug%3A%20GEM%20limits%20title%20lengths.textile +1 -0
  19. data/templates/default/content/Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20link%20is%2.textile +1 -0
  20. data/templates/default/content/Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%20new%20.textile +1 -0
  21. data/templates/default/content/Bug%3A%20No%20robots%2Etxt%20or%20favicon%2Eico.textile +1 -0
  22. data/templates/default/content/Bug%3A%20Page%20titles%20cannot%20have%20html%20tags%20in%20them.textile +1 -0
  23. data/templates/default/content/Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%28not%20.textile +1 -0
  24. data/templates/default/content/Bug%3A%20Search%20box%20width%20does%20not%20match%20column%20wid.textile +1 -0
  25. data/templates/default/content/Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +1 -0
  26. data/templates/default/content/Bug%3A%20Symbols%20are%20not%20always%20correctly%20rendered%20in.textile +1 -0
  27. data/templates/default/content/{Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20link%20is%20sometimes%20not%20linked.textile → Fixed%20Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20lin.textile} +3 -0
  28. data/templates/default/content/Fixed%20Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%.textile +9 -0
  29. data/templates/default/content/Fixed%20Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%.textile +15 -0
  30. data/templates/default/content/Fixed%20Bug%3A%20Search%20box%20width%20does%20not%20match%20colu.textile +3 -0
  31. data/templates/default/content/Fixed%20Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +3 -0
  32. data/templates/default/content/{Bug%3A%20Symbols%20are%20not%20always%20correctly%20rendered%20in%20html.textile → Fixed%20Bug%3A%20Symbols%20are%20not%20always%20correctly%20rende.textile} +2 -0
  33. data/templates/default/content/Home%20Page.textile +19 -0
  34. data/templates/default/content/How%20to%20hack%20soks.textile +1 -1
  35. data/templates/default/content/How%20to%20install%20Soks.textile +27 -0
  36. data/templates/default/content/How%20to%20use%20the%20keyboard%20shortcuts.textile +13 -0
  37. data/templates/default/content/How%20to%20use%20this%20wiki.textile +2 -2
  38. data/templates/default/content/Instructions%20and%20Howtos.textile +17 -0
  39. data/templates/default/content/Known%20bugs.textile +16 -0
  40. data/templates/default/content/Latest%20News.textile +9 -0
  41. data/templates/default/content/Picture%20of%20Type%20a%20title%20here.textile +1 -0
  42. data/templates/default/content/README.textile +61 -0
  43. data/templates/default/content/RSS%20feed.textile +7 -0
  44. data/templates/default/content/Recent%20Blog%20Entries.textile +5 -0
  45. data/templates/default/content/Recent%20Changes%20to%20This%20Site.textile +96 -0
  46. data/templates/default/content/Recent%20News.textile +9 -0
  47. data/templates/default/content/Ruby.textile +9 -0
  48. data/templates/default/content/SOKS%20features.textile +12 -0
  49. data/templates/default/content/Site%20Index.textile +55 -0
  50. data/templates/default/content/fixed%20bug%3A%20automatic%20link%20links%20to%20stuff%20inside%2.textile +3 -0
  51. data/templates/default/content/let%20me%20know.textile +1 -0
  52. data/templates/default/content/sandbox.textile +2 -0
  53. data/templates/default/content/tamc2.textile +1 -0
  54. data/templates/default/content/test%20page.textile +1 -0
  55. data/templates/default/start.rb +10 -4
  56. data/templates/default/version.txt +1 -1
  57. data/templates/default/views/Page_rss.rhtml +1 -1
  58. data/templates/default/views/frame.rhtml +3 -2
  59. data/templates/instiki/content/All%20News.textile +9 -0
  60. data/templates/instiki/content/Author.textile +12 -0
  61. data/templates/instiki/content/Automatic%20Summaries.textile +77 -0
  62. data/templates/instiki/content/Automatic%20linking%20between%20pages.textile +5 -0
  63. data/templates/instiki/content/Bug%3A%20Automatic%20link%20links%20to%20stuff%20inside%20%3Chtml.textile +1 -0
  64. data/templates/instiki/content/Bug%3A%20Does%20not%20make%20use%20of%20if%2Dmodified%2Dsince%20r.textile +1 -0
  65. data/templates/instiki/content/Bug%3A%20Duplicate%20links%2Dto%20a%20page%20sometimes%20appear.textile +1 -0
  66. data/templates/instiki/content/Bug%3A%20External%20links%20incorrectly%20include%20trailing%20pu.textile +1 -0
  67. data/templates/instiki/content/Bug%3A%20GEM%20limits%20title%20lengths.textile +1 -0
  68. data/templates/instiki/content/Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20link%20is%2.textile +1 -0
  69. data/templates/instiki/content/Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%20new%20.textile +1 -0
  70. data/templates/instiki/content/Bug%3A%20No%20robots%2Etxt%20or%20favicon%2Eico.textile +1 -0
  71. data/templates/instiki/content/Bug%3A%20Page%20titles%20cannot%20have%20html%20tags%20in%20them.textile +1 -0
  72. data/templates/instiki/content/Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%28not%20.textile +1 -0
  73. data/templates/instiki/content/Bug%3A%20Search%20box%20width%20does%20not%20match%20column%20wid.textile +1 -0
  74. data/templates/instiki/content/Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +1 -0
  75. data/templates/instiki/content/Bug%3A%20Symbols%20are%20not%20always%20correctly%20rendered%20in.textile +1 -0
  76. data/templates/instiki/content/Bug%3A%20Uploads%20are%20not%20password%20protected.textile +3 -0
  77. data/templates/instiki/content/Fixed%20Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20lin.textile +13 -0
  78. data/templates/instiki/content/Fixed%20Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%.textile +9 -0
  79. data/templates/instiki/content/Fixed%20Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%.textile +15 -0
  80. data/templates/instiki/content/Fixed%20Bug%3A%20Search%20box%20width%20does%20not%20match%20colu.textile +3 -0
  81. data/templates/instiki/content/Fixed%20Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +3 -0
  82. data/templates/instiki/content/Fixed%20Bug%3A%20Symbols%20are%20not%20always%20correctly%20rende.textile +5 -0
  83. data/templates/instiki/content/Home%20Page.textile +19 -0
  84. data/templates/instiki/content/How%20to%20hack%20soks.textile +1 -1
  85. data/templates/instiki/content/How%20to%20install%20Soks.textile +27 -0
  86. data/templates/instiki/content/How%20to%20use%20the%20keyboard%20shortcuts.textile +13 -0
  87. data/templates/instiki/content/{Pointers%20on%20how%20to%20use%20this%20wiki.textile → How%20to%20use%20this%20wiki.textile} +2 -2
  88. data/templates/instiki/content/Instructions%20and%20Howtos.textile +17 -0
  89. data/templates/instiki/content/Known%20bugs.textile +14 -6
  90. data/templates/instiki/content/Latest%20News.textile +9 -0
  91. data/templates/instiki/content/List%20of%20changes.textile +2 -1
  92. data/templates/instiki/content/Picture%20of%20Type%20a%20title%20here.textile +1 -0
  93. data/templates/instiki/content/Picture%20of%20a%20pair%20of%20soks.textile +1 -1
  94. data/templates/instiki/content/README.textile +61 -0
  95. data/templates/instiki/content/RSS%20feed.textile +7 -0
  96. data/templates/instiki/content/Recent%20Blog%20Entries.textile +3 -1
  97. data/templates/instiki/content/Recent%20Changes%20to%20This%20Site.textile +95 -47
  98. data/templates/instiki/content/Recent%20News.textile +9 -0
  99. data/templates/instiki/content/Ruby.textile +9 -0
  100. data/templates/instiki/content/SOKS%20features.textile +12 -0
  101. data/templates/instiki/content/Site%20Index.textile +54 -15
  102. data/templates/instiki/content/fixed%20bug%3A%20automatic%20link%20links%20to%20stuff%20inside%2.textile +3 -0
  103. data/templates/instiki/content/let%20me%20know.textile +1 -0
  104. data/templates/instiki/content/sandbox.textile +2 -0
  105. data/templates/instiki/content/tamc2.textile +1 -0
  106. data/templates/instiki/content/test%20page.textile +1 -0
  107. data/templates/instiki/start.rb +27 -0
  108. data/templates/instiki/version.txt +1 -1
  109. data/templates/rails/content/All%20News.textile +9 -0
  110. data/templates/rails/content/Author.textile +12 -0
  111. data/templates/rails/content/Automatic%20Summaries.textile +77 -0
  112. data/templates/rails/content/Automatic%20linking%20between%20pages.textile +5 -0
  113. data/templates/rails/content/Bug%3A%20Automatic%20link%20links%20to%20stuff%20inside%20%3Chtml.textile +1 -0
  114. data/templates/rails/content/Bug%3A%20Does%20not%20make%20use%20of%20if%2Dmodified%2Dsince%20r.textile +1 -0
  115. data/templates/rails/content/Bug%3A%20Duplicate%20links%2Dto%20a%20page%20sometimes%20appear.textile +1 -0
  116. data/templates/rails/content/Bug%3A%20External%20links%20incorrectly%20include%20trailing%20pu.textile +1 -0
  117. data/templates/rails/content/Bug%3A%20GEM%20limits%20title%20lengths.textile +1 -0
  118. data/templates/rails/content/Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20link%20is%2.textile +1 -0
  119. data/templates/rails/content/Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%20new%20.textile +1 -0
  120. data/templates/rails/content/Bug%3A%20No%20robots%2Etxt%20or%20favicon%2Eico.textile +1 -0
  121. data/templates/rails/content/Bug%3A%20Page%20titles%20cannot%20have%20html%20tags%20in%20them.textile +1 -0
  122. data/templates/rails/content/Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%28not%20.textile +1 -0
  123. data/templates/rails/content/Bug%3A%20Search%20box%20width%20does%20not%20match%20column%20wid.textile +1 -0
  124. data/templates/rails/content/Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +1 -0
  125. data/templates/rails/content/Bug%3A%20Symbols%20are%20not%20always%20correctly%20rendered%20in.textile +1 -0
  126. data/templates/rails/content/Bug%3A%20Uploads%20are%20not%20password%20protected.textile +3 -0
  127. data/templates/rails/content/Fixed%20Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20lin.textile +13 -0
  128. data/templates/rails/content/Fixed%20Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%.textile +9 -0
  129. data/templates/rails/content/Fixed%20Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%.textile +15 -0
  130. data/templates/rails/content/Fixed%20Bug%3A%20Search%20box%20width%20does%20not%20match%20colu.textile +3 -0
  131. data/templates/rails/content/Fixed%20Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +3 -0
  132. data/templates/rails/content/Fixed%20Bug%3A%20Symbols%20are%20not%20always%20correctly%20rende.textile +5 -0
  133. data/templates/rails/content/Home%20Page.textile +19 -0
  134. data/templates/rails/content/How%20to%20hack%20soks.textile +1 -1
  135. data/templates/rails/content/How%20to%20install%20Soks.textile +27 -0
  136. data/templates/rails/content/How%20to%20use%20the%20keyboard%20shortcuts.textile +13 -0
  137. data/templates/rails/content/{Pointers%20on%20how%20to%20use%20this%20wiki.textile → How%20to%20use%20this%20wiki.textile} +2 -2
  138. data/templates/rails/content/Instructions%20and%20Howtos.textile +17 -0
  139. data/templates/rails/content/Known%20bugs.textile +14 -6
  140. data/templates/rails/content/Latest%20News.textile +9 -0
  141. data/templates/rails/content/List%20of%20changes.textile +2 -1
  142. data/templates/rails/content/Picture%20of%20Type%20a%20title%20here.textile +1 -0
  143. data/templates/rails/content/Picture%20of%20a%20pair%20of%20soks.textile +1 -1
  144. data/templates/rails/content/README.textile +61 -0
  145. data/templates/rails/content/RSS%20feed.textile +7 -0
  146. data/templates/rails/content/Recent%20Blog%20Entries.textile +3 -1
  147. data/templates/rails/content/Recent%20Changes%20to%20This%20Site.textile +95 -47
  148. data/templates/rails/content/Recent%20News.textile +9 -0
  149. data/templates/rails/content/Ruby.textile +9 -0
  150. data/templates/rails/content/SOKS%20features.textile +12 -0
  151. data/templates/rails/content/Site%20Index.textile +54 -15
  152. data/templates/rails/content/fixed%20bug%3A%20automatic%20link%20links%20to%20stuff%20inside%2.textile +3 -0
  153. data/templates/rails/content/let%20me%20know.textile +1 -0
  154. data/templates/rails/content/sandbox.textile +2 -0
  155. data/templates/rails/content/tamc2.textile +1 -0
  156. data/templates/rails/content/test%20page.textile +1 -0
  157. data/templates/rails/start.rb +28 -0
  158. data/templates/rails/version.txt +1 -1
  159. metadata +132 -15
  160. data/templates/default/content/home%20page.textile +0 -17
  161. data/templates/instiki/content/AutomaticSummary.textile +0 -24
  162. data/templates/instiki/content/home%20page.textile +0 -23
  163. data/templates/rails/content/AutomaticSummary.textile +0 -24
  164. data/templates/rails/content/home%20page.textile +0 -23
  165. /data/templates/instiki/content/{Pointers%20on%20adjusting%20the%20settings.textile → How%20to%20administrate%20this%20wiki.textile} +0 -0
  166. /data/templates/instiki/content/{Improving%20the%20style%20of%20this%20wiki.textile → How%20to%20change%20the%20way%20this%20wiki%20looks.textile} +0 -0
  167. /data/templates/rails/content/{Pointers%20on%20adjusting%20the%20settings.textile → How%20to%20administrate%20this%20wiki.textile} +0 -0
  168. /data/templates/rails/content/{Improving%20the%20style%20of%20this%20wiki.textile → How%20to%20change%20the%20way%20this%20wiki%20looks.textile} +0 -0
@@ -0,0 +1,77 @@
1
+ h1. Automatic Summaries
2
+
3
+ Any class can register to be notified of changes to the wiki by:
4
+ <code>
5
+ @wiki.watch_for( :page_created ) { |event, page, revision| do whatever you want }
6
+ @wiki.watch_for( :page_revised ) { |event, page, revision| do whatever you want }
7
+ @wiki.watch_for( :page_deleted ) { |event, page, revision| do whatever you want }
8
+ </code>
9
+
10
+ These notifications are sent by a separate low priority thread from the one that is interacting with the user. Using these notifications a class can make changes to the wiki by calling:
11
+ <code>
12
+ @wiki.revise( pagename, newcontent, author )
13
+ </code>
14
+
15
+ In soks-helpers.rb you will find some classes that make use of this api. One particular one is the AutomaticSummary class. This watches for changes to the wiki, and if the page that is changed matches a given regexp, adds it to a summary page.
16
+
17
+ It has quite a powerful set of settings, defaults are:
18
+ <code>
19
+ DEFAULT_SETTINGS = {
20
+ :regexp_for_title => /.*/, # These three regexps act as an AND
21
+ :regexp_for_author => nil,
22
+ :regexp_for_content => nil,
23
+ :max_pages_to_show => nil,
24
+ :pagename => 'Summary',
25
+ :author => 'AutomaticSummary',
26
+ :lines_to_include => nil, # If nil then justs puts a link, otherwise includes X number of lines from the page in the summary
27
+ :only_new_pages => false, # Otherwise includes changes
28
+ :sort_pages_by => :created_on, # Could be :revised_on or :score or :name or :name_for_index, or :author
29
+ :reverse_sort => false,
30
+ :include_metadata => false, # If true includes author and time in summary
31
+ :summarise_revisions => false, # If true, then can contain several revisions for same page
32
+ :remove_deleted_pages => true, # If false will keep references to deleted pages
33
+ }
34
+ </code>
35
+
36
+ Two examples of its use, included in the soks-helpers.rb file, are the Site Index and the Recent Changes page:
37
+
38
+ <code>
39
+ AutomaticSummary.new( wiki, {
40
+ :regexp_for_title => /.*/ # Match all pages
41
+ :pagename => 'Site Index',
42
+ :author => 'Automatic Site Indexer',
43
+ :only_new_pages => true,
44
+ :sort_pages_by => :name_for_index,
45
+ } )
46
+ </code>
47
+
48
+ <code>
49
+ AutomaticSummary.new( wiki, {
50
+ :regexp_for_title => /.*/ # Match all pages
51
+ :pagename => 'Recent Changes',
52
+ :author => 'Automatic Recent Changes',
53
+ :only_new_pages => false,
54
+ :sort_pages_by => :revised_on,
55
+ :include_metadata => true,
56
+ :summarise_revisions => true,
57
+ :reverse_sort => true,
58
+ :remove_deleted_pages => false,
59
+ })
60
+ </code>
61
+
62
+ You might also use it to construct a basic blog class:
63
+ <code>
64
+ AutomaticSummary.new( wiki, {
65
+ :regexp_for_title => /^Blog:.*/ # Match all pages starting with blog
66
+ :pagename => 'Recent Blog Entries',
67
+ :author => 'Automatic Blog Watcher',
68
+ :max_pages_to_show => 10 # Only show the ten most recent blogs
69
+ :lines_to_include => 20 # Show the first 20 lines of each blog entry
70
+ :only_new_pages =>true,
71
+ :sort_pages_by => :created_on,
72
+ :include_metadata => true,
73
+ :reverse_sort => true,
74
+ })
75
+ </code>
76
+
77
+ If you have any other ideas or examples, please add them here
@@ -0,0 +1,5 @@
1
+ h1. Automatic linking between pages
2
+
3
+ Any reference to the title of another page in the wiki will be automatically linked. e.g. home page is linked to the home page.
4
+
5
+ The links are made left to right, top to bottom, with the longest possible link made at any given time.
@@ -0,0 +1 @@
1
+ content moved to [[Fixed bug: automatic link links to stuff inside <html> tags]]
@@ -0,0 +1 @@
1
+ Currently tells the browser to not cache any page. This is wasteful of bandwidth and increases server load. Should handle the if-modified-since request headers to return 'not modified' messages instead.
@@ -0,0 +1 @@
1
+ On the right hand side of a page are normally links to other pages that link to this page. In some cases these might have several copies of the same link.
@@ -0,0 +1 @@
1
+ External links, such as www.slashdot.org incorrectly include trailing punctuation like the full stop on the end of this sentence: www.slashdot.org.
@@ -0,0 +1 @@
1
+ It seems that Ruby GEM limits filename lengths, which means there is a limit on title lengths. I am unclear what the limit for filename length is? and how this varies by platform?
@@ -0,0 +1 @@
1
+ content moved to [[Fixed Bug: In a list of links, the last link is sometimes not linked]]
@@ -0,0 +1 @@
1
+ content moved to [[Fixed Bug: Inserted pages are not refreshed when new autolinks are made]]
@@ -0,0 +1 @@
1
+ By default no robots.txt or favicon.ico (and no way of including favicon.ico at all?)
@@ -0,0 +1 @@
1
+ Any page that has anything like an html tag <pre><html></pre> or whatever cannot be autolinked, and if a forced link is made then server errors occur.
@@ -0,0 +1 @@
1
+ content moved to [[Fixed Bug: RSS feed shows oldest 15 revisions (not newest!)]]
@@ -0,0 +1 @@
1
+ content moved to [[Fixed Bug: Search box width does not match column width]]
@@ -0,0 +1 @@
1
+ content moved to [[Fixed Bug: Site Index updates on every revision]]
@@ -0,0 +1 @@
1
+ content moved to [[Fixed Bug: Symbols are not always correctly rendered in html]]
@@ -8,3 +8,6 @@ e.g: 'How to administrate this wiki' might not be linked in this list:
8
8
  * How to use this wiki
9
9
  * How to change the way this wiki looks
10
10
  * How to administrate this wiki
11
+
12
+
13
+ Fixed in v0-0-4
@@ -0,0 +1,9 @@
1
+ If page one inserts the content of page two using [ [ insert page two ]] then if the content of page two is changed, page one correctly updates. However, if a page three is created, and this is automatically linked from page two, it does not automatically trigger a refresh on page one.
2
+
3
+ Solution is probably to modify /lib/soks-view.rb to put:
4
+ <code>
5
+ page.inserted_into.each { |page| refresh_redcloth( page ) }
6
+ </code>
7
+ On line 453, or somerwhere nearby in the refresh_redcloth method.
8
+
9
+ Fixed in v0-0-4
@@ -0,0 +1,15 @@
1
+ The RSS feed only includes 15 items (in order to meet with the standard as I understand it). Unfortunately when the number of revisions > 15 it only shows the oldest revisions. Dopey.
2
+
3
+ Fixed in v0-0-4
4
+
5
+ Fix is in templates/default/views/Page_rss.rhtml
6
+
7
+ Replace
8
+ <code>
9
+ for revision in page.revisions
10
+ </code>
11
+
12
+ with
13
+ <code>
14
+ page.revisions.reverse_each do |revision|
15
+ </code>
@@ -0,0 +1,3 @@
1
+ The search box on the right does not match the width of the bar, making it look odd.
2
+
3
+ Fixed in v0-0-4
@@ -0,0 +1,3 @@
1
+ Recent Changes suggests that the Site Index updates on every revision, not just on page created or deleted.
2
+
3
+ Not sure it does anymore? Maybe fixed? Hope so.
@@ -1,3 +1,5 @@
1
1
  Symbols are often incorrectly encoded in the textile to html conversion.
2
2
 
3
3
  Eg. > should be the same as <notextile>></notextile>
4
+
5
+ Fixed in v0-0-4
@@ -0,0 +1,19 @@
1
+ h1. Congratulations, you have installed SOKS
2
+
3
+ Welcome to Soks. It is yet another wiki, written in ruby. Please bear in mind that it is alpha, and therefore do not trust your mission critical sites to it. Please feel free to use and adapt, the soks licence is free and liberal (although if you feel like contributing towards a new mac for the author that would be apreciated).
4
+
5
+ p{background:yellow;padding:10px;}. A limited selection of help and bug reports are included here. For more information, and to share experiences, please visit http://soks.counsell.org
6
+
7
+ [[insert SOKS features]]
8
+
9
+ [[insert Instructions and Howtos]]
10
+
11
+ [[insert known bugs]]
12
+
13
+ h2. Feedback
14
+
15
+ * Please send me your feedback. tamc@rubyforge.com.
16
+ * Or submit a bug at http://rubyforge.org/projects/soks/.
17
+ * To keep track of developments, you may wish to subscribe to the mailing list at http://rubyforge.org/projects/soks.
18
+
19
+ [[insert picture of a pair of soks]]
@@ -58,4 +58,4 @@ The WikiServlet deals with file uploads by separately writing the uploaded file
58
58
 
59
59
  h4. soks-helpers.rb
60
60
 
61
- These are a series of classes that may be optionally loaded by a wiki's start.rb script. They receive notifications of page changes from the View object and can use this information to update other pages in the wiki.
61
+ These are a series of classes that may be optionally loaded by a wiki's start.rb script. They receive notifications of page changes from the View object and can use this information to update other pages in the wiki. See automatic summaries for a little more detail.
@@ -0,0 +1,27 @@
1
+ h1. How to install Soks
2
+
3
+ h2. Requirements
4
+
5
+ Essential: Ruby 1.8.2 from http://www.ruby-lang.org/en/
6
+ Preferred: Ruby Gems from http://rubyforge.org/projects/rubygems/
7
+
8
+ h2. The easy install
9
+
10
+ If you have ruby gems, type:
11
+ <code>
12
+ gem install Soks
13
+ soks-create-wiki.rb
14
+ </code>
15
+
16
+ ...and then surf to http://localhost:8000
17
+
18
+ h2. The harder install
19
+
20
+ Download the latest version of Soks from http://rubyforge.org/frs/?group_id=481
21
+
22
+ <code>
23
+ tar -xvzf Soks-0.0.3.tgz
24
+ ruby Soks-0.0.3/bin/soks-create-wiki.rb
25
+ </code>
26
+
27
+ ...and then surf to http://localhost:8000
@@ -0,0 +1,13 @@
1
+ h1. Keyboard Shortcuts
2
+
3
+ Soks has a number of keyboard short cuts. Depending on your browser, only some of them will work:
4
+
5
+ * ctrl-n : New page. Will use whatever text you had selected as the title of the new page (definitely only works on a few browsers)
6
+ * ctrl-e: Edit page, and if you are editing:
7
+ ** ctrl-s saves the page
8
+ ** ctrl-c cancels the editing
9
+ ** ctrl-u undos the previous edit
10
+ ** ctrl-a shows all the previous changes
11
+ * ctrl-h: Home page
12
+ * ctrl-i: Site Index
13
+ * ctrl-r: Recent changes to this site
@@ -10,11 +10,11 @@ There are several ways to add pages to soks:
10
10
 
11
11
  Yes, this means it is very easy to create orphaned pages. No I don't think this is a problem, because there is a site index.
12
12
 
13
- fn1. This only works on some browsers. It doesn't seem to work on Mac Firefox or Mac OmniWeb. It does on Mac Safari. Please report your successes and failiures.
13
+ fn1. This only works on some browsers. It doesn't seem to work on Mac Firefox or Mac OmniWeb. It does on Mac Safari. Please report your successes and failures.
14
14
 
15
15
  h2. Editing Pages
16
16
 
17
- * To edit a page, click edit.
17
+ * To edit a page, click edit this page at the bottom of the page.
18
18
  * The pages are written in textile. A reference is at http://hobix.com/textile/quick.html
19
19
  * Links to other pages within this wiki, and to web addresses, and to e-mail addresses, happen automatically
20
20
  * To force a link put it inside double square brackets e.g. <notextile>[[a forced link]]</notextile>
@@ -0,0 +1,17 @@
1
+ h2. Instructions and Howtos
2
+
3
+ p{font-size: x-small;}. Instructions and Howtos was created automatically from pages whose title matches /^How to /i.
4
+
5
+ <automaticsummary>
6
+
7
+ * [[ How to administrate this wiki ]]
8
+ * [[ How to change the way this wiki looks ]]
9
+ * [[ How to export a site from this wiki ]]
10
+ * [[ How to hack soks ]]
11
+ * [[ How to import a site from instiki ]]
12
+ * [[ How to install Soks ]]
13
+ * [[ How to use the keyboard shortcuts ]]
14
+ * [[ How to use this wiki ]]
15
+
16
+
17
+ </automaticsummary>
@@ -0,0 +1,16 @@
1
+ h2. Known bugs
2
+
3
+ p{font-size: x-small;}. Known bugs was created automatically from pages whose title matches /^Bug:/i.
4
+
5
+ <automaticsummary>
6
+
7
+ * [[ Bug: Does not make use of if-modified-since request headers ]] revised on 2005 Jan 25 18:23 by AutomaticImport
8
+ * [[ Bug: Duplicate links-to a page sometimes appear ]] revised on 2005 Jan 25 18:23 by AutomaticImport
9
+ * [[ Bug: External links incorrectly include trailing punctuation ]] revised on 2005 Jan 25 18:23 by AutomaticImport
10
+ * [[ Bug: Uploads are not password protected ]] revised on 2005 Jan 25 18:23 by AutomaticImport
11
+ * [[ Bug: Page titles cannot have html tags in them ]] revised on 2005 Jan 26 08:11 by tamc2
12
+ * [[ Bug: No robots.txt or favicon.ico ]] revised on 2005 Jan 26 08:12 by tamc2
13
+ * [[ Bug: GEM limits title lengths ]] revised on 2005 Jan 26 08:55 by tamc2
14
+
15
+
16
+ </automaticsummary>
@@ -0,0 +1,9 @@
1
+ h2. Latest News
2
+
3
+ p{font-size: x-small;}. Latest News was created automatically from pages whose title matches /^News:/i.
4
+
5
+ <automaticsummary>
6
+
7
+ No pages found to summarise
8
+
9
+ </automaticsummary>
@@ -0,0 +1,61 @@
1
+ h1. SOKS: Another Ruby Wiki
2
+
3
+ * This application is a Wiki (a system to allow the easy and collaborative editing of web pages).
4
+ * The project has been kindly hosted at http://rubyforge.org/projects/soks/
5
+
6
+ Quickstart:
7
+ 1. gem install Soks
8
+ 2. soks-create-wiki.rb
9
+ 3. http://localhost:8000
10
+
11
+ h2. REQUIRES
12
+
13
+ * Ruby 1.8.2
14
+ * A number of additional libraries are contained in contrib.
15
+
16
+ h2. AUTHOR
17
+
18
+ * This software is copyright (c) Thomas Counsell 2004, 2005. tamc@rubyforge.org
19
+ * It is licensed under the Ruby Licence, a liberal open source licence. See LICENCE for more details.
20
+
21
+ h2. INSTALL
22
+
23
+ Preferably:
24
+ 1. Install rubygems from http://rubyforge.org/projects/rubygems/
25
+ 2. gem install Soks (you may need to be root first)
26
+
27
+ Alternatively
28
+ 1. Download the tar or zip file from http://rubyforge.org/projects/soks/
29
+ 2. Unzip or untar it
30
+ 3. Change into the soks directory
31
+
32
+ h2. USE
33
+
34
+ execute soks-create-wiki.rb (will be in your path if installed by gems, otherwise ./bin/soks-create-wiki.rb from the soks directory)
35
+ This will create a folder called soks-wiki in the current directory and launch the wiki. Surfing to http://localhost:8000 to see it (it is initially accessible from localhost only)
36
+
37
+ To restart the wiki change into the soks-wiki directory and execute ruby start.rb
38
+
39
+ To change the settings (url, port, etc) edit the start.rb file in the soks-wiki directory.
40
+
41
+ h2. FEATURES
42
+
43
+ 1. Runs on its own webrick server (no independent web server required)
44
+ 2. Uses textile as its text coding (a proto-standard)
45
+ 3, Uses a combination of flat and yaml files for storage (no database, and page content human readable outside of soks)
46
+ 3. Allows uploads
47
+ 4. Allows authentication
48
+ 5. Automatically links pages within the wiki
49
+ 6. Pages can be deleted and moved easily (and these can be undone)
50
+ 7. Has a mechanism for external classes to manipulate the wiki to provide, for instance, automatic calendar pages, or automatic summaries or blog like pages.
51
+
52
+ h2. BUGS
53
+
54
+ I suspect there are many, as befits its version number. In particular it has:
55
+ * Not got any way of securing pictures or attachments added to the wiki
56
+ * Uses RedCloth 2.0.11 which has some formatting bugs (and no doubt some extra ones introduced by my clumsy extentions). RedCloth 3.0.1 is included but not enabled because it tends to hit stack overflows frequently for me.
57
+
58
+ h2. RELEASES
59
+
60
+ 2005 Jan 24 - soks-0.0.3 - Second public release (alpha)
61
+ 2005 Jan 11 - soks-0.0.2 - First public release (alpha)
@@ -0,0 +1,7 @@
1
+ h1. RSS Feed
2
+
3
+ Each page has an rss feed accesses at the url /rss/pagename. This contains the last 15 revisions to a page.
4
+
5
+ The rss currently only shows:
6
+ * Changes to the textile (not html)
7
+ * Added lines
@@ -0,0 +1,5 @@
1
+ h2. Recent Blog Entries
2
+
3
+ p{font-size: x-small;}. Recent Blog Entries was created automatically from pages whose title matches /^Blog:/i. Do not edit this page directly.
4
+
5
+ No pages found to summarise
@@ -0,0 +1,96 @@
1
+ h2. Recent Changes to This Site
2
+
3
+ p{font-size: x-small;}. Recent Changes to This Site was created automatically from pages whose title matches /.*/.
4
+
5
+ <automaticsummary>
6
+
7
+ * [[ Site Index ]] revised on 2005 Jan 26 08:55 by AutomaticIndex
8
+ * [[ Known bugs ]] revised on 2005 Jan 26 08:55 by AutomaticSummary
9
+ * [[ Bug: GEM limits title lengths ]] revised on 2005 Jan 26 08:55 by tamc2
10
+ * [[ Site Index ]] revised on 2005 Jan 26 08:12 by AutomaticIndex
11
+ * [[ Known bugs ]] revised on 2005 Jan 26 08:12 by AutomaticSummary
12
+ * [[ Bug: No robots.txt or favicon.ico ]] revised on 2005 Jan 26 08:12 by tamc2
13
+ * [[ Known bugs ]] revised on 2005 Jan 26 08:11 by AutomaticSummary
14
+ * [[ Bug: Page titles cannot have html tags in them ]] revised on 2005 Jan 26 08:11 by tamc2
15
+ * [[ Site Index ]] revised on 2005 Jan 26 08:10 by AutomaticIndex
16
+ * [[ Known bugs ]] revised on 2005 Jan 26 08:10 by AutomaticSummary
17
+ * [[ Bug: Page titles cannot have html tags in them ]] revised on 2005 Jan 26 08:10 by tamc2
18
+ * [[ Site Index ]] revised on 2005 Jan 26 07:59 by AutomaticIndex
19
+ * [[ Known bugs ]] revised on 2005 Jan 26 07:59 by AutomaticSummary
20
+ * [[ Site Index ]] revised on 2005 Jan 26 07:59 by AutomaticIndex
21
+ * [[ Known bugs ]] revised on 2005 Jan 26 07:59 by AutomaticSummary
22
+ * [[ Fixed Bug: Site Index updates on every revision ]] revised on 2005 Jan 26 07:59 by tamc2
23
+ * [[ Fixed Bug: Site Index updates on every revision ]] revised on 2005 Jan 26 07:59 by AutomaticPageMover
24
+ * [[ Bug: Site Index updates on every revision ]] revised on 2005 Jan 26 07:59 by tamc2
25
+ * [[ Known bugs ]] revised on 2005 Jan 26 07:58 by AutomaticSummary
26
+ * [[ Instructions and Howtos ]] revised on 2005 Jan 26 07:58 by AutomaticSummary
27
+ * [[ Site Index ]] revised on 2005 Jan 26 07:58 by AutomaticIndex
28
+ * [[ Known bugs ]] revised on 2005 Jan 25 18:50 by AutomaticSummary
29
+ * [[ Bug: Site Index updates on every revision ]] revised on 2005 Jan 25 18:50 by tamc2
30
+ * [[ Known bugs ]] revised on 2005 Jan 25 18:34 by AutomaticSummary
31
+ * [[ Bug: Site Index updates on every revision ]] revised on 2005 Jan 25 18:34 by tamc2
32
+ * [[ Site Index ]] revised on 2005 Jan 25 18:33 by AutomaticIndex
33
+ * [[ fixed bug: automatic link links to stuff inside html tags ]] revised on 2005 Jan 25 18:33 by tamc2
34
+ * [[ fixed bug: automatic link links to stuff inside html tags ]] revised on 2005 Jan 25 18:33 by AutomaticPageMover
35
+ * [[ Fixed bug: automatic link links to stuff inside <html> tags ]] revised on 2005 Jan 25 18:33 by tamc2
36
+ * [[ Fixed Bug: Inserted pages are not refreshed when new autolinks are made ]] revised on 2005 Jan 25 18:31 by tamc2
37
+ * [[ Fixed Bug: Inserted pages are not refreshed when new autolinks are made ]] revised on 2005 Jan 25 18:31 by AutomaticPageMover
38
+ * [[ Bug: Inserted pages are not refreshed when new autolinks are made on them ]] revised on 2005 Jan 25 18:31 by tamc2
39
+ * [[ RSS feed ]] revised on 2005 Jan 25 18:31 by tamc2
40
+ * [[ Fixed bug: automatic link links to stuff inside <html> tags ]] revised on 2005 Jan 25 18:28 by tamc2
41
+ * [[ Fixed bug: automatic link links to stuff inside <html> tags ]] revised on 2005 Jan 25 18:28 by AutomaticPageMover
42
+ * [[ Bug: Automatic link links to stuff inside <html> tags ]] revised on 2005 Jan 25 18:28 by tamc2
43
+ * [[ Fixed Bug: Search box width does not match column width ]] revised on 2005 Jan 25 18:27 by tamc2
44
+ * [[ Fixed Bug: Search box width does not match column width ]] revised on 2005 Jan 25 18:27 by AutomaticPageMover
45
+ * [[ Bug: Search box width does not match column width ]] revised on 2005 Jan 25 18:27 by tamc2
46
+ * [[ Fixed Bug: Symbols are not always correctly rendered in html ]] revised on 2005 Jan 25 18:26 by tamc2
47
+ * [[ Fixed Bug: Symbols are not always correctly rendered in html ]] revised on 2005 Jan 25 18:26 by AutomaticPageMover
48
+ * [[ Bug: Symbols are not always correctly rendered in html ]] revised on 2005 Jan 25 18:26 by tamc2
49
+ * [[ Instructions and Howtos ]] revised on 2005 Jan 25 18:23 by AutomaticSummary
50
+ * [[ Fixed Bug: RSS feed shows oldest 15 revisions (not newest!) ]] revised on 2005 Jan 25 18:23 by AutomaticImport
51
+ * [[ Fixed Bug: In a list of links, the last link is sometimes not linked ]] revised on 2005 Jan 25 18:23 by AutomaticImport
52
+ * [[ All News ]] revised on 2005 Jan 25 18:23 by AutomaticImport
53
+ * [[ Latest News ]] revised on 2005 Jan 25 18:23 by AutomaticImport
54
+ * [[ test page ]] revised on 2005 Jan 25 18:23 by AutomaticImport
55
+ * [[ tamc2 ]] revised on 2005 Jan 25 18:23 by AutomaticImport
56
+ * [[ sandbox ]] revised on 2005 Jan 25 18:23 by AutomaticImport
57
+ * [[ let me know ]] revised on 2005 Jan 25 18:23 by AutomaticImport
58
+ * [[ home page ]] revised on 2005 Jan 25 18:23 by AutomaticImport
59
+ * [[ Soks Licence ]] revised on 2005 Jan 25 18:23 by AutomaticImport
60
+ * [[ Site Index ]] revised on 2005 Jan 25 18:23 by AutomaticImport
61
+ * [[ SOKS features ]] revised on 2005 Jan 25 18:23 by AutomaticImport
62
+ * [[ Ruby ]] revised on 2005 Jan 25 18:23 by AutomaticImport
63
+ * [[ Recent News ]] revised on 2005 Jan 25 18:23 by AutomaticImport
64
+ * [[ Recent Blog Entries ]] revised on 2005 Jan 25 18:23 by AutomaticImport
65
+ * [[ README ]] revised on 2005 Jan 25 18:23 by AutomaticImport
66
+ * [[ Picture of a pair of soks ]] revised on 2005 Jan 25 18:23 by AutomaticImport
67
+ * [[ Picture of Type a title here ]] revised on 2005 Jan 25 18:23 by AutomaticImport
68
+ * [[ List of changes ]] revised on 2005 Jan 25 18:23 by AutomaticImport
69
+ * [[ Known bugs ]] revised on 2005 Jan 25 18:23 by AutomaticImport
70
+ * [[ Instructions and Howtos ]] revised on 2005 Jan 25 18:23 by AutomaticImport
71
+ * [[ How to use this wiki ]] revised on 2005 Jan 25 18:23 by AutomaticImport
72
+ * [[ How to use the keyboard shortcuts ]] revised on 2005 Jan 25 18:23 by AutomaticImport
73
+ * [[ How to install Soks ]] revised on 2005 Jan 25 18:23 by AutomaticImport
74
+ * [[ How to import a site from instiki ]] revised on 2005 Jan 25 18:23 by AutomaticImport
75
+ * [[ How to hack soks ]] revised on 2005 Jan 25 18:23 by AutomaticImport
76
+ * [[ How to export a site from this wiki ]] revised on 2005 Jan 25 18:23 by AutomaticImport
77
+ * [[ How to change the way this wiki looks ]] revised on 2005 Jan 25 18:23 by AutomaticImport
78
+ * [[ How to administrate this wiki ]] revised on 2005 Jan 25 18:23 by AutomaticImport
79
+ * [[ Distribution Home Page ]] revised on 2005 Jan 25 18:23 by AutomaticImport
80
+ * [[ Bug: Uploads are not password protected ]] revised on 2005 Jan 25 18:23 by AutomaticImport
81
+ * [[ Bug: Symbols are not always correctly rendered in html ]] revised on 2005 Jan 25 18:23 by AutomaticImport
82
+ * [[ Bug: Site Index updates on every revision ]] revised on 2005 Jan 25 18:23 by AutomaticImport
83
+ * [[ Bug: Search box width does not match column width ]] revised on 2005 Jan 25 18:23 by AutomaticImport
84
+ * [[ Bug: RSS feed shows oldest 15 revisions (not newest!) ]] revised on 2005 Jan 25 18:23 by AutomaticImport
85
+ * [[ Bug: Inserted pages are not refreshed when new autolinks are made on them ]] revised on 2005 Jan 25 18:23 by AutomaticImport
86
+ * [[ Bug: In a list of links, the last link is sometimes not linked ]] revised on 2005 Jan 25 18:23 by AutomaticImport
87
+ * [[ Bug: External links incorrectly include trailing punctuation ]] revised on 2005 Jan 25 18:23 by AutomaticImport
88
+ * [[ Bug: Duplicate links-to a page sometimes appear ]] revised on 2005 Jan 25 18:23 by AutomaticImport
89
+ * [[ Bug: Does not make use of if-modified-since request headers ]] revised on 2005 Jan 25 18:23 by AutomaticImport
90
+ * [[ Bug: Automatic link links to stuff inside <html> tags ]] revised on 2005 Jan 25 18:23 by AutomaticImport
91
+ * [[ Automatic linking between pages ]] revised on 2005 Jan 25 18:23 by AutomaticImport
92
+ * [[ Automatic Summaries ]] revised on 2005 Jan 25 18:23 by AutomaticImport
93
+ * [[ Author ]] revised on 2005 Jan 25 18:23 by AutomaticImport
94
+
95
+
96
+ </automaticsummary>
@@ -0,0 +1,9 @@
1
+ h2. Recent News
2
+
3
+ p{font-size: x-small;}. Recent News was created automatically from pages whose title matches /^News:/i.
4
+
5
+ <automaticsummary>
6
+
7
+ No pages found to summarise
8
+
9
+ </automaticsummary>
@@ -0,0 +1,9 @@
1
+ h1. Ruby
2
+
3
+ Soks is written in ruby. It relies on version 1.8.2 or greater.
4
+
5
+ Ruby is an enjoyably clear Japanese Perl, Python, Smalltalk, and LISP amalgam. It runs on Mac OS X, Windows and most unix variants.
6
+
7
+ * To download go to: http://www.ruby-lang.org/en/20020102.html
8
+ * To learn try: http://poignantguide.net/ruby/ or http://www.pragmaticprogrammer.com/titles/ruby/index.html
9
+ * To discuss: http://groups-beta.google.com/group/comp.lang.ruby
@@ -0,0 +1,12 @@
1
+ h2. Soks Features
2
+
3
+ * Automatic linking between pages (no need for wiki words or any bracket shenanigans).
4
+ * Easy to add, move and delete pages
5
+ * Calendars, automatic summaries and the like
6
+ * An api for classes to modify the wiki
7
+ * Flat file storage (incidentally, this makes it easy to import from instiki using its export function)
8
+ * Easy to edit the look of the wiki with per wiki templates.
9
+ * Built in web server (No need for Apache)
10
+ * Textile
11
+ * Uploads and Images
12
+ * RSS feed for changes to any page
@@ -0,0 +1,55 @@
1
+ h2. Site Index
2
+
3
+ p{font-size: x-small;}. Site Index was created automatically from pages whose title matches /.*/.
4
+
5
+ <automaticsummary>
6
+
7
+ * [[ Picture of a pair of soks ]]
8
+ * [[ All News ]]
9
+ * [[ Author ]]
10
+ * [[ Automatic linking between pages ]]
11
+ * [[ Automatic Summaries ]]
12
+ * [[ Bug: Does not make use of if-modified-since request headers ]]
13
+ * [[ Bug: Duplicate links-to a page sometimes appear ]]
14
+ * [[ Bug: External links incorrectly include trailing punctuation ]]
15
+ * [[ Bug: GEM limits title lengths ]]
16
+ * [[ Bug: No robots.txt or favicon.ico ]]
17
+ * [[ Bug: Page titles cannot have html tags in them ]]
18
+ * [[ Bug: Uploads are not password protected ]]
19
+ * [[ Distribution Home Page ]]
20
+ * [[ fixed bug: automatic link links to stuff inside html tags ]]
21
+ * [[ Fixed Bug: In a list of links, the last link is sometimes not linked ]]
22
+ * [[ Fixed Bug: Inserted pages are not refreshed when new autolinks are made ]]
23
+ * [[ Fixed Bug: RSS feed shows oldest 15 revisions (not newest!) ]]
24
+ * [[ Fixed Bug: Search box width does not match column width ]]
25
+ * [[ Fixed Bug: Site Index updates on every revision ]]
26
+ * [[ Fixed Bug: Symbols are not always correctly rendered in html ]]
27
+ * [[ home page ]]
28
+ * [[ How to administrate this wiki ]]
29
+ * [[ How to change the way this wiki looks ]]
30
+ * [[ How to export a site from this wiki ]]
31
+ * [[ How to hack soks ]]
32
+ * [[ How to import a site from instiki ]]
33
+ * [[ How to install Soks ]]
34
+ * [[ How to use the keyboard shortcuts ]]
35
+ * [[ How to use this wiki ]]
36
+ * [[ Instructions and Howtos ]]
37
+ * [[ Known bugs ]]
38
+ * [[ Latest News ]]
39
+ * [[ let me know ]]
40
+ * [[ List of changes ]]
41
+ * [[ README ]]
42
+ * [[ Recent Blog Entries ]]
43
+ * [[ Recent Changes to This Site ]]
44
+ * [[ Recent News ]]
45
+ * [[ RSS feed ]]
46
+ * [[ Ruby ]]
47
+ * [[ sandbox ]]
48
+ * [[ SOKS features ]]
49
+ * [[ Soks Licence ]]
50
+ * [[ tamc2 ]]
51
+ * [[ test page ]]
52
+ * [[ Picture of Type a title here ]]
53
+
54
+
55
+ </automaticsummary>
@@ -0,0 +1,3 @@
1
+ Automatic linking links to things inside tags. This is particularly noticable because v-0-0-3 was released with a page named AutomaticSummary and tags named <automaticsummary>.
2
+
3
+ Fixed in v0-0-4
@@ -0,0 +1 @@
1
+ Please email any comments, suggestions, bug reports and the like to me, Tom Counsell, at tamc@rubyforge.org
@@ -0,0 +1,2 @@
1
+ | one | two | three |
2
+ | a | b | c |
@@ -0,0 +1 @@
1
+ aka. Tom Counsell aka the author.
@@ -0,0 +1 @@
1
+ page deleted
@@ -54,13 +54,19 @@ module StartSoks
54
54
  )
55
55
 
56
56
  AutomaticSummary.new( wiki,
57
- :regexp_for_title => /^Blog:/i,
58
- :max_pages_to_show => 10,
57
+ :regexp_for_title => /^News:/i,
58
+ :max_pages_to_show => 1,
59
59
  :lines_to_include => 10,
60
- :include_metadata => true,
61
- :pagename => 'Recent Blog Entries'
60
+ :reverse_sort => true,
61
+ :pagename => 'Latest News'
62
62
  )
63
63
 
64
+ AutomaticSummary.new( wiki,
65
+ :regexp_for_title => /^News:/i,
66
+ :lines_to_include => 10,
67
+ :reverse_sort => true,
68
+ :pagename => 'All News'
69
+ )
64
70
 
65
71
  # Possible settings for the Automatic Summary (with defaults)
66
72
  # :regexp_for_title => /.*/, # These three regexps act as an AND
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4