hobix 0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. data/COPYING +18 -0
  2. data/README +18 -0
  3. data/Rakefile +96 -0
  4. data/bin/hobix +94 -0
  5. data/contrib/blosxom-to-hobix.rb +253 -0
  6. data/contrib/txp-to-hobix.rb +56 -0
  7. data/contrib/webrick-all-mine.rb +20 -0
  8. data/doc/CHANGELOG +285 -0
  9. data/doc/rdoc/classes/Hobix/API.html +382 -0
  10. data/doc/rdoc/classes/Hobix/Article.html +111 -0
  11. data/doc/rdoc/classes/Hobix/BaseContent.html +692 -0
  12. data/doc/rdoc/classes/Hobix/BaseEntry.html +218 -0
  13. data/doc/rdoc/classes/Hobix/BaseFacet.html +205 -0
  14. data/doc/rdoc/classes/Hobix/BaseOutput.html +122 -0
  15. data/doc/rdoc/classes/Hobix/BasePlugin.html +201 -0
  16. data/doc/rdoc/classes/Hobix/BaseProperties/ClassMethods.html +243 -0
  17. data/doc/rdoc/classes/Hobix/BaseProperties.html +218 -0
  18. data/doc/rdoc/classes/Hobix/BasePublish.html +157 -0
  19. data/doc/rdoc/classes/Hobix/BaseStorage.html +417 -0
  20. data/doc/rdoc/classes/Hobix/BixWik/Entry.html +196 -0
  21. data/doc/rdoc/classes/Hobix/BixWik/IndexEntry.html +170 -0
  22. data/doc/rdoc/classes/Hobix/BixWik/WikiRedCloth.html +111 -0
  23. data/doc/rdoc/classes/Hobix/BixWik.html +418 -0
  24. data/doc/rdoc/classes/Hobix/BixWikPlugin.html +158 -0
  25. data/doc/rdoc/classes/Hobix/CommandLine.html +1970 -0
  26. data/doc/rdoc/classes/Hobix/Comment.html +113 -0
  27. data/doc/rdoc/classes/Hobix/Config.html +212 -0
  28. data/doc/rdoc/classes/Hobix/DataMarsh.html +667 -0
  29. data/doc/rdoc/classes/Hobix/Entry.html +178 -0
  30. data/doc/rdoc/classes/Hobix/EntryEnum.html +162 -0
  31. data/doc/rdoc/classes/Hobix/Enumerable.html +170 -0
  32. data/doc/rdoc/classes/Hobix/Facets/WikiEdit.html +180 -0
  33. data/doc/rdoc/classes/Hobix/Facets.html +111 -0
  34. data/doc/rdoc/classes/Hobix/LinkList.html +182 -0
  35. data/doc/rdoc/classes/Hobix/Out/Quick.html +412 -0
  36. data/doc/rdoc/classes/Hobix/Out.html +119 -0
  37. data/doc/rdoc/classes/Hobix/Page.html +381 -0
  38. data/doc/rdoc/classes/Hobix/Trackback.html +113 -0
  39. data/doc/rdoc/classes/Hobix/UriStr.html +198 -0
  40. data/doc/rdoc/classes/Hobix/WebApp/QueryString.html +207 -0
  41. data/doc/rdoc/classes/Hobix/WebApp/QueryValidationFailure.html +111 -0
  42. data/doc/rdoc/classes/Hobix/WebApp.html +1383 -0
  43. data/doc/rdoc/classes/Hobix/Weblog/AuthorNotFound.html +111 -0
  44. data/doc/rdoc/classes/Hobix/Weblog.html +2082 -0
  45. data/doc/rdoc/classes/Hobix.html +399 -0
  46. data/doc/rdoc/classes/Kernel.html +139 -0
  47. data/doc/rdoc/classes/Regexp.html +154 -0
  48. data/doc/rdoc/classes/YAML/Omap.html +144 -0
  49. data/doc/rdoc/classes/YAML.html +111 -0
  50. data/doc/rdoc/created.rid +1 -0
  51. data/doc/rdoc/files/COPYING.html +129 -0
  52. data/doc/rdoc/files/README.html +131 -0
  53. data/doc/rdoc/files/doc/CHANGELOG.html +101 -0
  54. data/doc/rdoc/files/lib/hobix/api_rb.html +119 -0
  55. data/doc/rdoc/files/lib/hobix/article_rb.html +126 -0
  56. data/doc/rdoc/files/lib/hobix/base_rb.html +128 -0
  57. data/doc/rdoc/files/lib/hobix/bixwik_rb.html +126 -0
  58. data/doc/rdoc/files/lib/hobix/commandline_rb.html +140 -0
  59. data/doc/rdoc/files/lib/hobix/comments_rb.html +126 -0
  60. data/doc/rdoc/files/lib/hobix/config_rb.html +125 -0
  61. data/doc/rdoc/files/lib/hobix/datamarsh_rb.html +108 -0
  62. data/doc/rdoc/files/lib/hobix/entry_rb.html +118 -0
  63. data/doc/rdoc/files/lib/hobix/linklist_rb.html +127 -0
  64. data/doc/rdoc/files/lib/hobix/publisher_rb.html +126 -0
  65. data/doc/rdoc/files/lib/hobix/trackbacks_rb.html +128 -0
  66. data/doc/rdoc/files/lib/hobix/webapp_rb.html +127 -0
  67. data/doc/rdoc/files/lib/hobix/weblog_rb.html +135 -0
  68. data/doc/rdoc/files/lib/hobix_rb.html +127 -0
  69. data/doc/rdoc/fr_class_index.html +67 -0
  70. data/doc/rdoc/fr_file_index.html +44 -0
  71. data/doc/rdoc/fr_method_index.html +307 -0
  72. data/doc/rdoc/index.html +24 -0
  73. data/doc/rdoc/rdoc-style.css +208 -0
  74. data/git_hobix_update.php +13 -0
  75. data/lib/hobix/api.rb +91 -0
  76. data/lib/hobix/article.rb +22 -0
  77. data/lib/hobix/base.rb +480 -0
  78. data/lib/hobix/bixwik.rb +200 -0
  79. data/lib/hobix/commandline.rb +677 -0
  80. data/lib/hobix/comments.rb +98 -0
  81. data/lib/hobix/config.rb +39 -0
  82. data/lib/hobix/datamarsh.rb +110 -0
  83. data/lib/hobix/entry.rb +84 -0
  84. data/lib/hobix/facets/comments.rb +99 -0
  85. data/lib/hobix/facets/publisher.rb +314 -0
  86. data/lib/hobix/facets/trackbacks.rb +80 -0
  87. data/lib/hobix/linklist.rb +81 -0
  88. data/lib/hobix/out/atom.rb +101 -0
  89. data/lib/hobix/out/erb.rb +64 -0
  90. data/lib/hobix/out/okaynews.rb +55 -0
  91. data/lib/hobix/out/quick.rb +314 -0
  92. data/lib/hobix/out/rdf.rb +97 -0
  93. data/lib/hobix/out/redrum.rb +26 -0
  94. data/lib/hobix/out/rss.rb +128 -0
  95. data/lib/hobix/plugin/akismet.rb +196 -0
  96. data/lib/hobix/plugin/bloglines.rb +73 -0
  97. data/lib/hobix/plugin/calendar.rb +212 -0
  98. data/lib/hobix/plugin/flickr.rb +110 -0
  99. data/lib/hobix/plugin/recent_comments.rb +84 -0
  100. data/lib/hobix/plugin/sections.rb +91 -0
  101. data/lib/hobix/plugin/tags.rb +60 -0
  102. data/lib/hobix/publish/ping.rb +53 -0
  103. data/lib/hobix/publish/replicate.rb +283 -0
  104. data/lib/hobix/publisher.rb +18 -0
  105. data/lib/hobix/search/dictionary.rb +141 -0
  106. data/lib/hobix/search/porter_stemmer.rb +203 -0
  107. data/lib/hobix/search/simple.rb +209 -0
  108. data/lib/hobix/search/vector.rb +100 -0
  109. data/lib/hobix/storage/filesys.rb +408 -0
  110. data/lib/hobix/trackbacks.rb +93 -0
  111. data/lib/hobix/util/objedit.rb +193 -0
  112. data/lib/hobix/util/patcher.rb +155 -0
  113. data/lib/hobix/webapp/cli.rb +195 -0
  114. data/lib/hobix/webapp/htmlform.rb +107 -0
  115. data/lib/hobix/webapp/message.rb +177 -0
  116. data/lib/hobix/webapp/urigen.rb +141 -0
  117. data/lib/hobix/webapp/webrick-servlet.rb +90 -0
  118. data/lib/hobix/webapp.rb +723 -0
  119. data/lib/hobix/weblog.rb +893 -0
  120. data/lib/hobix.rb +230 -0
  121. data/share/default-blog/hobix.yaml +16 -0
  122. data/share/default-blog/htdocs/site.css +174 -0
  123. data/share/default-blog/skel/entry.html.quick +0 -0
  124. data/share/default-blog/skel/index.atom.atom +0 -0
  125. data/share/default-blog/skel/index.html.quick-summary +0 -0
  126. data/share/default-blog/skel/index.xml.rss +0 -0
  127. data/share/default-blog/skel/index.yaml.okaynews +0 -0
  128. data/share/default-blog/skel/monthly.html.quick-archive +0 -0
  129. data/share/default-blog/skel/section.html.quick-archive +0 -0
  130. data/share/default-blog/skel/yearly.html.quick-archive +0 -0
  131. data/share/default-blog-modes.yaml +7 -0
  132. data/share/default-blog.apache-cgi.patch +8 -0
  133. data/share/default-blog.apache-ssi.patch +38 -0
  134. data/share/default-blog.apache2-ssi.patch +3 -0
  135. data/share/default-blog.cgi.patch +8 -0
  136. data/share/default-blog.comments.patch +5 -0
  137. data/share/default-blog.prototype.patch +766 -0
  138. data/share/default-blog.publisher.patch +5 -0
  139. data/share/default-blog.wiki.patch +29 -0
  140. data/share/publisher/css/control.css +90 -0
  141. data/share/publisher/css/form.css +238 -0
  142. data/share/publisher/css/form.import.css +72 -0
  143. data/share/publisher/css/main-menu.css +134 -0
  144. data/share/publisher/i/hobix-emblazen-1.png +0 -0
  145. data/share/publisher/i/hobix-emblazen-2.png +0 -0
  146. data/share/publisher/i/hobix-emblazen-3.png +0 -0
  147. data/share/publisher/i/hobix-emblazen-4.png +0 -0
  148. data/share/publisher/i/hobix-emblazen-5.png +0 -0
  149. data/share/publisher/i/hobix-emblazen-6.png +0 -0
  150. data/share/publisher/i/hobix-emblazen-7.png +0 -0
  151. data/share/publisher/index.erb +66 -0
  152. data/share/publisher/js/controls.js +261 -0
  153. data/share/publisher/js/dragdrop.js +476 -0
  154. data/share/publisher/js/effects.js +570 -0
  155. data/share/publisher/js/prototype.js +1011 -0
  156. metadata +230 -0
@@ -0,0 +1,381 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Hobix::Page</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Hobix::Page</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/hobix/weblog_rb.html">
59
+ lib/hobix/weblog.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ Object
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+
81
+ <div id="description">
82
+ <p>
83
+ The <a href="Page.html">Page</a> class is very simple class which contains
84
+ information specific to a template.
85
+ </p>
86
+ <h2>Introduction</h2>
87
+ <p>
88
+ The <tt><a href="Page.html#M000111">id</a></tt>, <tt>next</tt> and
89
+ <tt>prev</tt> accessors provide ids for the current page and its neighbors
90
+ (for example, in the case of monthly archives, which may have surrounding
91
+ months.)
92
+ </p>
93
+ <p>
94
+ To get complete URLs for each of the above, use: <tt><a
95
+ href="Page.html#M000112">link</a></tt>, <tt><a
96
+ href="Page.html#M000113">next_link</a></tt>, and <tt><a
97
+ href="Page.html#M000114">prev_link</a></tt>.
98
+ </p>
99
+ <p>
100
+ The <tt>timestamp</tt> accessor contains the earliest date pertinent to the
101
+ page. For example, in the case of a monthly archive, it will contain a
102
+ <tt>Time</tt> object for the first day of the month. In the case of the
103
+ `index&#8217; page, you&#8216;ll get a Time object for the earliest entry
104
+ on the page.
105
+ </p>
106
+ <p>
107
+ The <tt>updated</tt> accessor contains the latest date pertinent to the
108
+ page. Usually this would be the most recent modification time among entries
109
+ on the page. This accessor is used by the regeneration system to determine
110
+ if a page needs regeneration. See +<a
111
+ href="Weblog.html#M000240">Hobix::Weblog#regenerate</a>+ for more.
112
+ </p>
113
+ <h2>Context in <a href="../Hobix.html">Hobix</a></h2>
114
+ <p>
115
+ There are only two places you&#8216;ll encounter this class in <a
116
+ href="../Hobix.html">Hobix</a>.
117
+ </p>
118
+ <p>
119
+ If you are writing an output plugin, a <a href="Page.html">Page</a> class
120
+ is passed in the <em>vars</em> hash to the +BaseOutput#load+ method.
121
+ You&#8216;ll find the class in vars[:page].
122
+ </p>
123
+ <p>
124
+ If you are writing ERB or RedRum templates, these vars are passed into the
125
+ templates. The <a href="Page.html">Page</a> class is accessible as a
126
+ variable called `page&#8217;.
127
+ </p>
128
+ <h1>Examples</h1>
129
+ <h2>Example 1: Pagination in a Template</h2>
130
+ <p>
131
+ Let&#8216;s say we want every entry in our site to contain links to the
132
+ entries which are chronologically nearby.
133
+ </p>
134
+ <p>
135
+ If we&#8216;re using RedRum templates, we could do the following in
136
+ entry.html.redrum:
137
+ </p>
138
+ <pre>
139
+ &lt;% if page.prev %&gt;&quot;last&quot;:&lt;%= page.prev_link %&gt;&lt;% end %&gt;
140
+ &lt;% if page.next %&gt;&quot;next&quot;:&lt;%= page.next_link %&gt;&lt;% end %&gt;
141
+ </pre>
142
+
143
+ </div>
144
+
145
+
146
+ </div>
147
+
148
+ <div id="method-list">
149
+ <h3 class="section-bar">Methods</h3>
150
+
151
+ <div class="name-list">
152
+ <a href="#M000111">id</a>&nbsp;&nbsp;
153
+ <a href="#M000112">link</a>&nbsp;&nbsp;
154
+ <a href="#M000110">new</a>&nbsp;&nbsp;
155
+ <a href="#M000113">next_link</a>&nbsp;&nbsp;
156
+ <a href="#M000114">prev_link</a>&nbsp;&nbsp;
157
+ <a href="#M000115">reference_fields</a>&nbsp;&nbsp;
158
+ <a href="#M000116">references</a>&nbsp;&nbsp;
159
+ </div>
160
+ </div>
161
+
162
+ </div>
163
+
164
+
165
+ <!-- if includes -->
166
+
167
+ <div id="section">
168
+
169
+
170
+
171
+
172
+
173
+ <div id="attribute-list">
174
+ <h3 class="section-bar">Attributes</h3>
175
+
176
+ <div class="name-list">
177
+ <table>
178
+ <tr class="top-aligned-row context-row">
179
+ <td class="context-item-name">id</td>
180
+ <td class="context-item-value">&nbsp;[R]&nbsp;</td>
181
+ <td class="context-item-desc"></td>
182
+ </tr>
183
+ <tr class="top-aligned-row context-row">
184
+ <td class="context-item-name">link</td>
185
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
186
+ <td class="context-item-desc"></td>
187
+ </tr>
188
+ <tr class="top-aligned-row context-row">
189
+ <td class="context-item-name">next</td>
190
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
191
+ <td class="context-item-desc"></td>
192
+ </tr>
193
+ <tr class="top-aligned-row context-row">
194
+ <td class="context-item-name">prev</td>
195
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
196
+ <td class="context-item-desc"></td>
197
+ </tr>
198
+ <tr class="top-aligned-row context-row">
199
+ <td class="context-item-name">timestamp</td>
200
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
201
+ <td class="context-item-desc"></td>
202
+ </tr>
203
+ <tr class="top-aligned-row context-row">
204
+ <td class="context-item-name">updated</td>
205
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
206
+ <td class="context-item-desc"></td>
207
+ </tr>
208
+ </table>
209
+ </div>
210
+ </div>
211
+
212
+
213
+
214
+ <!-- if method_list -->
215
+ <div id="methods">
216
+ <h3 class="section-bar">Public Class methods</h3>
217
+
218
+ <div id="method-M000110" class="method-detail">
219
+ <a name="M000110"></a>
220
+
221
+ <div class="method-heading">
222
+ <a href="#M000110" class="method-signature">
223
+ <span class="method-name">new</span><span class="method-args">( id, dir='.' )</span>
224
+ </a>
225
+ </div>
226
+
227
+ <div class="method-description">
228
+ <p><a class="source-toggle" href="#"
229
+ onclick="toggleCode('M000110-source');return false;">[Source]</a></p>
230
+ <div class="method-source-code" id="M000110-source">
231
+ <pre>
232
+ <span class="ruby-comment cmt"># File lib/hobix/weblog.rb, line 97</span>
233
+ 97: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">id</span>, <span class="ruby-identifier">dir</span>=<span class="ruby-value str">'.'</span> )
234
+ 98: <span class="ruby-ivar">@id</span>, <span class="ruby-ivar">@dir</span> = <span class="ruby-identifier">id</span>, <span class="ruby-identifier">dir</span>
235
+ 99: <span class="ruby-keyword kw">end</span>
236
+ </pre>
237
+ </div>
238
+ </div>
239
+ </div>
240
+
241
+ <h3 class="section-bar">Public Instance methods</h3>
242
+
243
+ <div id="method-M000111" class="method-detail">
244
+ <a name="M000111"></a>
245
+
246
+ <div class="method-heading">
247
+ <a href="#M000111" class="method-signature">
248
+ <span class="method-name">id</span><span class="method-args">()</span>
249
+ </a>
250
+ </div>
251
+
252
+ <div class="method-description">
253
+ <p><a class="source-toggle" href="#"
254
+ onclick="toggleCode('M000111-source');return false;">[Source]</a></p>
255
+ <div class="method-source-code" id="M000111-source">
256
+ <pre>
257
+ <span class="ruby-comment cmt"># File lib/hobix/weblog.rb, line 100</span>
258
+ 100: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">id</span>; <span class="ruby-identifier">dirj</span>( <span class="ruby-ivar">@dir</span>, <span class="ruby-ivar">@id</span> ).<span class="ruby-identifier">gsub</span>( <span class="ruby-regexp re">/^\/+/</span>, <span class="ruby-value str">''</span> ); <span class="ruby-keyword kw">end</span>
259
+ </pre>
260
+ </div>
261
+ </div>
262
+ </div>
263
+
264
+ <div id="method-M000112" class="method-detail">
265
+ <a name="M000112"></a>
266
+
267
+ <div class="method-heading">
268
+ <a href="#M000112" class="method-signature">
269
+ <span class="method-name">link</span><span class="method-args">()</span>
270
+ </a>
271
+ </div>
272
+
273
+ <div class="method-description">
274
+ <p><a class="source-toggle" href="#"
275
+ onclick="toggleCode('M000112-source');return false;">[Source]</a></p>
276
+ <div class="method-source-code" id="M000112-source">
277
+ <pre>
278
+ <span class="ruby-comment cmt"># File lib/hobix/weblog.rb, line 101</span>
279
+ 101: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">link</span>; <span class="ruby-identifier">dirj</span>( <span class="ruby-ivar">@dir</span>, <span class="ruby-ivar">@id</span> ) <span class="ruby-operator">+</span> <span class="ruby-ivar">@ext</span>; <span class="ruby-keyword kw">end</span>
280
+ </pre>
281
+ </div>
282
+ </div>
283
+ </div>
284
+
285
+ <div id="method-M000113" class="method-detail">
286
+ <a name="M000113"></a>
287
+
288
+ <div class="method-heading">
289
+ <a href="#M000113" class="method-signature">
290
+ <span class="method-name">next_link</span><span class="method-args">()</span>
291
+ </a>
292
+ </div>
293
+
294
+ <div class="method-description">
295
+ <p><a class="source-toggle" href="#"
296
+ onclick="toggleCode('M000113-source');return false;">[Source]</a></p>
297
+ <div class="method-source-code" id="M000113-source">
298
+ <pre>
299
+ <span class="ruby-comment cmt"># File lib/hobix/weblog.rb, line 102</span>
300
+ 102: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">next_link</span>; <span class="ruby-identifier">dirj</span>( <span class="ruby-ivar">@dir</span>, <span class="ruby-ivar">@next</span> ) <span class="ruby-operator">+</span> <span class="ruby-ivar">@ext</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@next</span>; <span class="ruby-keyword kw">end</span>
301
+ </pre>
302
+ </div>
303
+ </div>
304
+ </div>
305
+
306
+ <div id="method-M000114" class="method-detail">
307
+ <a name="M000114"></a>
308
+
309
+ <div class="method-heading">
310
+ <a href="#M000114" class="method-signature">
311
+ <span class="method-name">prev_link</span><span class="method-args">()</span>
312
+ </a>
313
+ </div>
314
+
315
+ <div class="method-description">
316
+ <p><a class="source-toggle" href="#"
317
+ onclick="toggleCode('M000114-source');return false;">[Source]</a></p>
318
+ <div class="method-source-code" id="M000114-source">
319
+ <pre>
320
+ <span class="ruby-comment cmt"># File lib/hobix/weblog.rb, line 103</span>
321
+ 103: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prev_link</span>; <span class="ruby-identifier">dirj</span>( <span class="ruby-ivar">@dir</span>, <span class="ruby-ivar">@prev</span> ) <span class="ruby-operator">+</span> <span class="ruby-ivar">@ext</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@prev</span>; <span class="ruby-keyword kw">end</span>
322
+ </pre>
323
+ </div>
324
+ </div>
325
+ </div>
326
+
327
+ <div id="method-M000115" class="method-detail">
328
+ <a name="M000115"></a>
329
+
330
+ <div class="method-heading">
331
+ <a href="#M000115" class="method-signature">
332
+ <span class="method-name">reference_fields</span><span class="method-args">()</span>
333
+ </a>
334
+ </div>
335
+
336
+ <div class="method-description">
337
+ <p><a class="source-toggle" href="#"
338
+ onclick="toggleCode('M000115-source');return false;">[Source]</a></p>
339
+ <div class="method-source-code" id="M000115-source">
340
+ <pre>
341
+ <span class="ruby-comment cmt"># File lib/hobix/weblog.rb, line 113</span>
342
+ 113: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reference_fields</span>; [<span class="ruby-identifier">:next</span>, <span class="ruby-identifier">:prev</span>]; <span class="ruby-keyword kw">end</span>
343
+ </pre>
344
+ </div>
345
+ </div>
346
+ </div>
347
+
348
+ <div id="method-M000116" class="method-detail">
349
+ <a name="M000116"></a>
350
+
351
+ <div class="method-heading">
352
+ <a href="#M000116" class="method-signature">
353
+ <span class="method-name">references</span><span class="method-args">()</span>
354
+ </a>
355
+ </div>
356
+
357
+ <div class="method-description">
358
+ <p><a class="source-toggle" href="#"
359
+ onclick="toggleCode('M000116-source');return false;">[Source]</a></p>
360
+ <div class="method-source-code" id="M000116-source">
361
+ <pre>
362
+ <span class="ruby-comment cmt"># File lib/hobix/weblog.rb, line 114</span>
363
+ 114: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">references</span>; <span class="ruby-identifier">reference_fields</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">send</span> <span class="ruby-identifier">f</span> }.<span class="ruby-identifier">compact</span>; <span class="ruby-keyword kw">end</span>
364
+ </pre>
365
+ </div>
366
+ </div>
367
+ </div>
368
+
369
+
370
+ </div>
371
+
372
+
373
+ </div>
374
+
375
+
376
+ <div id="validator-badges">
377
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
378
+ </div>
379
+
380
+ </body>
381
+ </html>
@@ -0,0 +1,113 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Hobix::Trackback</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Hobix::Trackback</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/hobix/trackbacks_rb.html">
59
+ lib/hobix/trackbacks.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ <a href="BaseContent.html">
69
+ BaseContent
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+
83
+
84
+
85
+ </div>
86
+
87
+
88
+ </div>
89
+
90
+
91
+ <!-- if includes -->
92
+
93
+ <div id="section">
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+ <!-- if method_list -->
103
+
104
+
105
+ </div>
106
+
107
+
108
+ <div id="validator-badges">
109
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
110
+ </div>
111
+
112
+ </body>
113
+ </html>