hobix 0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +18 -0
- data/README +18 -0
- data/Rakefile +96 -0
- data/bin/hobix +94 -0
- data/contrib/blosxom-to-hobix.rb +253 -0
- data/contrib/txp-to-hobix.rb +56 -0
- data/contrib/webrick-all-mine.rb +20 -0
- data/doc/CHANGELOG +285 -0
- data/doc/rdoc/classes/Hobix/API.html +382 -0
- data/doc/rdoc/classes/Hobix/Article.html +111 -0
- data/doc/rdoc/classes/Hobix/BaseContent.html +692 -0
- data/doc/rdoc/classes/Hobix/BaseEntry.html +218 -0
- data/doc/rdoc/classes/Hobix/BaseFacet.html +205 -0
- data/doc/rdoc/classes/Hobix/BaseOutput.html +122 -0
- data/doc/rdoc/classes/Hobix/BasePlugin.html +201 -0
- data/doc/rdoc/classes/Hobix/BaseProperties/ClassMethods.html +243 -0
- data/doc/rdoc/classes/Hobix/BaseProperties.html +218 -0
- data/doc/rdoc/classes/Hobix/BasePublish.html +157 -0
- data/doc/rdoc/classes/Hobix/BaseStorage.html +417 -0
- data/doc/rdoc/classes/Hobix/BixWik/Entry.html +196 -0
- data/doc/rdoc/classes/Hobix/BixWik/IndexEntry.html +170 -0
- data/doc/rdoc/classes/Hobix/BixWik/WikiRedCloth.html +111 -0
- data/doc/rdoc/classes/Hobix/BixWik.html +418 -0
- data/doc/rdoc/classes/Hobix/BixWikPlugin.html +158 -0
- data/doc/rdoc/classes/Hobix/CommandLine.html +1970 -0
- data/doc/rdoc/classes/Hobix/Comment.html +113 -0
- data/doc/rdoc/classes/Hobix/Config.html +212 -0
- data/doc/rdoc/classes/Hobix/DataMarsh.html +667 -0
- data/doc/rdoc/classes/Hobix/Entry.html +178 -0
- data/doc/rdoc/classes/Hobix/EntryEnum.html +162 -0
- data/doc/rdoc/classes/Hobix/Enumerable.html +170 -0
- data/doc/rdoc/classes/Hobix/Facets/WikiEdit.html +180 -0
- data/doc/rdoc/classes/Hobix/Facets.html +111 -0
- data/doc/rdoc/classes/Hobix/LinkList.html +182 -0
- data/doc/rdoc/classes/Hobix/Out/Quick.html +412 -0
- data/doc/rdoc/classes/Hobix/Out.html +119 -0
- data/doc/rdoc/classes/Hobix/Page.html +381 -0
- data/doc/rdoc/classes/Hobix/Trackback.html +113 -0
- data/doc/rdoc/classes/Hobix/UriStr.html +198 -0
- data/doc/rdoc/classes/Hobix/WebApp/QueryString.html +207 -0
- data/doc/rdoc/classes/Hobix/WebApp/QueryValidationFailure.html +111 -0
- data/doc/rdoc/classes/Hobix/WebApp.html +1383 -0
- data/doc/rdoc/classes/Hobix/Weblog/AuthorNotFound.html +111 -0
- data/doc/rdoc/classes/Hobix/Weblog.html +2082 -0
- data/doc/rdoc/classes/Hobix.html +399 -0
- data/doc/rdoc/classes/Kernel.html +139 -0
- data/doc/rdoc/classes/Regexp.html +154 -0
- data/doc/rdoc/classes/YAML/Omap.html +144 -0
- data/doc/rdoc/classes/YAML.html +111 -0
- data/doc/rdoc/created.rid +1 -0
- data/doc/rdoc/files/COPYING.html +129 -0
- data/doc/rdoc/files/README.html +131 -0
- data/doc/rdoc/files/doc/CHANGELOG.html +101 -0
- data/doc/rdoc/files/lib/hobix/api_rb.html +119 -0
- data/doc/rdoc/files/lib/hobix/article_rb.html +126 -0
- data/doc/rdoc/files/lib/hobix/base_rb.html +128 -0
- data/doc/rdoc/files/lib/hobix/bixwik_rb.html +126 -0
- data/doc/rdoc/files/lib/hobix/commandline_rb.html +140 -0
- data/doc/rdoc/files/lib/hobix/comments_rb.html +126 -0
- data/doc/rdoc/files/lib/hobix/config_rb.html +125 -0
- data/doc/rdoc/files/lib/hobix/datamarsh_rb.html +108 -0
- data/doc/rdoc/files/lib/hobix/entry_rb.html +118 -0
- data/doc/rdoc/files/lib/hobix/linklist_rb.html +127 -0
- data/doc/rdoc/files/lib/hobix/publisher_rb.html +126 -0
- data/doc/rdoc/files/lib/hobix/trackbacks_rb.html +128 -0
- data/doc/rdoc/files/lib/hobix/webapp_rb.html +127 -0
- data/doc/rdoc/files/lib/hobix/weblog_rb.html +135 -0
- data/doc/rdoc/files/lib/hobix_rb.html +127 -0
- data/doc/rdoc/fr_class_index.html +67 -0
- data/doc/rdoc/fr_file_index.html +44 -0
- data/doc/rdoc/fr_method_index.html +307 -0
- data/doc/rdoc/index.html +24 -0
- data/doc/rdoc/rdoc-style.css +208 -0
- data/git_hobix_update.php +13 -0
- data/lib/hobix/api.rb +91 -0
- data/lib/hobix/article.rb +22 -0
- data/lib/hobix/base.rb +480 -0
- data/lib/hobix/bixwik.rb +200 -0
- data/lib/hobix/commandline.rb +677 -0
- data/lib/hobix/comments.rb +98 -0
- data/lib/hobix/config.rb +39 -0
- data/lib/hobix/datamarsh.rb +110 -0
- data/lib/hobix/entry.rb +84 -0
- data/lib/hobix/facets/comments.rb +99 -0
- data/lib/hobix/facets/publisher.rb +314 -0
- data/lib/hobix/facets/trackbacks.rb +80 -0
- data/lib/hobix/linklist.rb +81 -0
- data/lib/hobix/out/atom.rb +101 -0
- data/lib/hobix/out/erb.rb +64 -0
- data/lib/hobix/out/okaynews.rb +55 -0
- data/lib/hobix/out/quick.rb +314 -0
- data/lib/hobix/out/rdf.rb +97 -0
- data/lib/hobix/out/redrum.rb +26 -0
- data/lib/hobix/out/rss.rb +128 -0
- data/lib/hobix/plugin/akismet.rb +196 -0
- data/lib/hobix/plugin/bloglines.rb +73 -0
- data/lib/hobix/plugin/calendar.rb +212 -0
- data/lib/hobix/plugin/flickr.rb +110 -0
- data/lib/hobix/plugin/recent_comments.rb +84 -0
- data/lib/hobix/plugin/sections.rb +91 -0
- data/lib/hobix/plugin/tags.rb +60 -0
- data/lib/hobix/publish/ping.rb +53 -0
- data/lib/hobix/publish/replicate.rb +283 -0
- data/lib/hobix/publisher.rb +18 -0
- data/lib/hobix/search/dictionary.rb +141 -0
- data/lib/hobix/search/porter_stemmer.rb +203 -0
- data/lib/hobix/search/simple.rb +209 -0
- data/lib/hobix/search/vector.rb +100 -0
- data/lib/hobix/storage/filesys.rb +408 -0
- data/lib/hobix/trackbacks.rb +93 -0
- data/lib/hobix/util/objedit.rb +193 -0
- data/lib/hobix/util/patcher.rb +155 -0
- data/lib/hobix/webapp/cli.rb +195 -0
- data/lib/hobix/webapp/htmlform.rb +107 -0
- data/lib/hobix/webapp/message.rb +177 -0
- data/lib/hobix/webapp/urigen.rb +141 -0
- data/lib/hobix/webapp/webrick-servlet.rb +90 -0
- data/lib/hobix/webapp.rb +723 -0
- data/lib/hobix/weblog.rb +893 -0
- data/lib/hobix.rb +230 -0
- data/share/default-blog/hobix.yaml +16 -0
- data/share/default-blog/htdocs/site.css +174 -0
- data/share/default-blog/skel/entry.html.quick +0 -0
- data/share/default-blog/skel/index.atom.atom +0 -0
- data/share/default-blog/skel/index.html.quick-summary +0 -0
- data/share/default-blog/skel/index.xml.rss +0 -0
- data/share/default-blog/skel/index.yaml.okaynews +0 -0
- data/share/default-blog/skel/monthly.html.quick-archive +0 -0
- data/share/default-blog/skel/section.html.quick-archive +0 -0
- data/share/default-blog/skel/yearly.html.quick-archive +0 -0
- data/share/default-blog-modes.yaml +7 -0
- data/share/default-blog.apache-cgi.patch +8 -0
- data/share/default-blog.apache-ssi.patch +38 -0
- data/share/default-blog.apache2-ssi.patch +3 -0
- data/share/default-blog.cgi.patch +8 -0
- data/share/default-blog.comments.patch +5 -0
- data/share/default-blog.prototype.patch +766 -0
- data/share/default-blog.publisher.patch +5 -0
- data/share/default-blog.wiki.patch +29 -0
- data/share/publisher/css/control.css +90 -0
- data/share/publisher/css/form.css +238 -0
- data/share/publisher/css/form.import.css +72 -0
- data/share/publisher/css/main-menu.css +134 -0
- data/share/publisher/i/hobix-emblazen-1.png +0 -0
- data/share/publisher/i/hobix-emblazen-2.png +0 -0
- data/share/publisher/i/hobix-emblazen-3.png +0 -0
- data/share/publisher/i/hobix-emblazen-4.png +0 -0
- data/share/publisher/i/hobix-emblazen-5.png +0 -0
- data/share/publisher/i/hobix-emblazen-6.png +0 -0
- data/share/publisher/i/hobix-emblazen-7.png +0 -0
- data/share/publisher/index.erb +66 -0
- data/share/publisher/js/controls.js +261 -0
- data/share/publisher/js/dragdrop.js +476 -0
- data/share/publisher/js/effects.js +570 -0
- data/share/publisher/js/prototype.js +1011 -0
- metadata +230 -0
@@ -0,0 +1,412 @@
|
|
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::Out::Quick</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::Out::Quick</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../../files/lib/hobix/bixwik_rb.html">
|
59
|
+
lib/hobix/bixwik.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
<a href="../../../files/lib/hobix/comments_rb.html">
|
63
|
+
lib/hobix/comments.rb
|
64
|
+
</a>
|
65
|
+
<br />
|
66
|
+
<a href="../../../files/lib/hobix/trackbacks_rb.html">
|
67
|
+
lib/hobix/trackbacks.rb
|
68
|
+
</a>
|
69
|
+
<br />
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
|
73
|
+
<tr class="top-aligned-row">
|
74
|
+
<td><strong>Parent:</strong></td>
|
75
|
+
<td>
|
76
|
+
Object
|
77
|
+
</td>
|
78
|
+
</tr>
|
79
|
+
</table>
|
80
|
+
</div>
|
81
|
+
<!-- banner header -->
|
82
|
+
|
83
|
+
<div id="bodyContent">
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
<div id="contextContent">
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
</div>
|
92
|
+
|
93
|
+
<div id="method-list">
|
94
|
+
<h3 class="section-bar">Methods</h3>
|
95
|
+
|
96
|
+
<div class="name-list">
|
97
|
+
<a href="#M000028">banner_erb</a>
|
98
|
+
<a href="#M000033">entry_comment_erb</a>
|
99
|
+
<a href="#M000034">entry_comment_form_erb</a>
|
100
|
+
<a href="#M000030">entry_content_erb</a>
|
101
|
+
<a href="#M000032">entry_footer_erb</a>
|
102
|
+
<a href="#M000029">entry_title_erb</a>
|
103
|
+
<a href="#M000036">entry_trackback_erb</a>
|
104
|
+
<a href="#M000035">entry_trackback_rdf_erb</a>
|
105
|
+
<a href="#M000031">sidebar_erb</a>
|
106
|
+
</div>
|
107
|
+
</div>
|
108
|
+
|
109
|
+
</div>
|
110
|
+
|
111
|
+
|
112
|
+
<!-- if includes -->
|
113
|
+
|
114
|
+
<div id="section">
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
<!-- if method_list -->
|
124
|
+
<div id="methods">
|
125
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
126
|
+
|
127
|
+
<div id="method-M000028" class="method-detail">
|
128
|
+
<a name="M000028"></a>
|
129
|
+
|
130
|
+
<div class="method-heading">
|
131
|
+
<a href="#M000028" class="method-signature">
|
132
|
+
<span class="method-name">banner_erb</span><span class="method-args">()</span>
|
133
|
+
</a>
|
134
|
+
</div>
|
135
|
+
|
136
|
+
<div class="method-description">
|
137
|
+
<p><a class="source-toggle" href="#"
|
138
|
+
onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
|
139
|
+
<div class="method-source-code" id="M000028-source">
|
140
|
+
<pre>
|
141
|
+
<span class="ruby-comment cmt"># File lib/hobix/bixwik.rb, line 166</span>
|
142
|
+
166: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">banner_erb</span>; <span class="ruby-value str">%{
|
143
|
+
167: <% page_id = page.id %>
|
144
|
+
168: <% page_id = 'HomePage' if page.id == 'index' %>
|
145
|
+
169: <% page_name = Hobix::BixWik::wiki_word( page_id ) %>
|
146
|
+
170: <div id="banner">
|
147
|
+
171: <% if page_id == "HomePage" %>
|
148
|
+
172: <h1 id="title"><%= weblog.title %></h1>
|
149
|
+
173: <% if weblog.tagline %><div id="tagline"><%= weblog.tagline %></div><% end %>
|
150
|
+
174: <% else %>
|
151
|
+
175: <div id="title"><%= weblog.title %></div>
|
152
|
+
176: <h1 id="pageName"><%= page_name %></h1>
|
153
|
+
177: <% end %>
|
154
|
+
178: <form id="navigationForm" class="navigation" action="<%= weblog.expand_path( 'search' ) %>" action="get" style="font-size: 10px">
|
155
|
+
179: <% Hobix::BixWik::QUICK_MENU.each do |menu_link, attr| %>
|
156
|
+
180: <% if page_id == menu_link %>
|
157
|
+
181: <%= attr[0] %>
|
158
|
+
182: <% else %>
|
159
|
+
183: <a href="<%= weblog.abs_link( menu_link ) %>" title="<% if attr[1] %>[<%= attr[1] %>] <% end %><%= attr[2] %>"
|
160
|
+
184: accesskey="<%= attr[1] %>"><%= attr[0] %></a>
|
161
|
+
185: <% end %> |
|
162
|
+
186: <% end %>
|
163
|
+
187: <input type="text" id="searchField" name="query" style="font-size: 10px" value="Search" onClick="this.value == 'Search' ? this.value = '' : true">
|
164
|
+
188: </form>
|
165
|
+
189: </div> }</span>
|
166
|
+
190: <span class="ruby-keyword kw">end</span>
|
167
|
+
</pre>
|
168
|
+
</div>
|
169
|
+
</div>
|
170
|
+
</div>
|
171
|
+
|
172
|
+
<div id="method-M000033" class="method-detail">
|
173
|
+
<a name="M000033"></a>
|
174
|
+
|
175
|
+
<div class="method-heading">
|
176
|
+
<a href="#M000033" class="method-signature">
|
177
|
+
<span class="method-name">entry_comment_erb</span><span class="method-args">()</span>
|
178
|
+
</a>
|
179
|
+
</div>
|
180
|
+
|
181
|
+
<div class="method-description">
|
182
|
+
<p><a class="source-toggle" href="#"
|
183
|
+
onclick="toggleCode('M000033-source');return false;">[Source]</a></p>
|
184
|
+
<div class="method-source-code" id="M000033-source">
|
185
|
+
<pre>
|
186
|
+
<span class="ruby-comment cmt"># File lib/hobix/comments.rb, line 46</span>
|
187
|
+
46: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">entry_comment_erb</span>; <span class="ruby-value str">%{
|
188
|
+
47: <% entry_id = entry.id %>
|
189
|
+
48: <div id="comments">
|
190
|
+
49: <% comments = weblog.storage.load_attached( entry_id, "comments" ) rescue [] %>
|
191
|
+
50: <% comments.each do |comment| %>
|
192
|
+
51: <div class="entry">
|
193
|
+
52: <div class="entryAttrib">
|
194
|
+
53: <div class="entryAuthor"><h3><%= comment.author %></h3></div>
|
195
|
+
54: <div class="entryTime">said on <%= comment.created.strftime( "<nobr>%d %b %Y</nobr> at <nobr>%H:%M</nobr>" ) %></div>
|
196
|
+
55: </div>
|
197
|
+
56: <div class="entryContentOuter"><div class="entryContent"><%= comment.content.to_html %></div></div>
|
198
|
+
57: </div>
|
199
|
+
58: <% end %>
|
200
|
+
59: }</span> <span class="ruby-keyword kw">end</span>
|
201
|
+
</pre>
|
202
|
+
</div>
|
203
|
+
</div>
|
204
|
+
</div>
|
205
|
+
|
206
|
+
<div id="method-M000034" class="method-detail">
|
207
|
+
<a name="M000034"></a>
|
208
|
+
|
209
|
+
<div class="method-heading">
|
210
|
+
<a href="#M000034" class="method-signature">
|
211
|
+
<span class="method-name">entry_comment_form_erb</span><span class="method-args">()</span>
|
212
|
+
</a>
|
213
|
+
</div>
|
214
|
+
|
215
|
+
<div class="method-description">
|
216
|
+
<p><a class="source-toggle" href="#"
|
217
|
+
onclick="toggleCode('M000034-source');return false;">[Source]</a></p>
|
218
|
+
<div class="method-source-code" id="M000034-source">
|
219
|
+
<pre>
|
220
|
+
<span class="ruby-comment cmt"># File lib/hobix/comments.rb, line 61</span>
|
221
|
+
61: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">entry_comment_form_erb</span>; <span class="ruby-value str">%{
|
222
|
+
62: <div class="entry">
|
223
|
+
63: <form id="userComment" method="post" action="<%= weblog.expand_path( '/control/comment/' + entry_id )%>">
|
224
|
+
64: <div class="entryAttrib">
|
225
|
+
65: <div class="entryAuthor"><input name="<%= Hobix::Facets::Comments.form_field 'author' %>" type="textbox" size="15" maxlength="50" /></div>
|
226
|
+
66: <div id="liveTime" class="entryTime">said on <%= Time.now.strftime( "<nobr>%d %b %Y</nobr> at <nobr>%H:%M</nobr>")%></div>
|
227
|
+
67: </div>
|
228
|
+
68: <div class="entryContentOuter"><div class="entryContent">
|
229
|
+
69: <textarea name="<%= Hobix::Facets::Comments.form_field 'content' %>" rows="6" cols="50"></textarea>
|
230
|
+
70: <p><input type="button" name="pleasePreview" value="preview"
|
231
|
+
71: onClick="new Ajax.Request( '<%= weblog.expand_path '/control/preview' %>', {parameters: Form.serialize('userComment'), onComplete: function(req) { $('textilePreview').innerHTML = req.responseText }})" />
|
232
|
+
72: <input type="submit" name="<%= Hobix::Facets::Comments.form_field 'submit' %>" value="&gt;&gt;" />
|
233
|
+
73: <small>* do <a href="javascript:quickRedReference();">fancy stuff</a> in your comment.</small>
|
234
|
+
74: </p>
|
235
|
+
75: <div id="textileWrap"><!-- <h4>PREVIEW PANE</h4> -->
|
236
|
+
76: <div id="textilePreview"></div>
|
237
|
+
77: </div>
|
238
|
+
78: </div>
|
239
|
+
79: </div></div>
|
240
|
+
80:
|
241
|
+
81: </form>
|
242
|
+
82: </div>
|
243
|
+
83: }</span> <span class="ruby-keyword kw">end</span>
|
244
|
+
</pre>
|
245
|
+
</div>
|
246
|
+
</div>
|
247
|
+
</div>
|
248
|
+
|
249
|
+
<div id="method-M000030" class="method-detail">
|
250
|
+
<a name="M000030"></a>
|
251
|
+
|
252
|
+
<div class="method-heading">
|
253
|
+
<a href="#M000030" class="method-signature">
|
254
|
+
<span class="method-name">entry_content_erb</span><span class="method-args">()</span>
|
255
|
+
</a>
|
256
|
+
</div>
|
257
|
+
|
258
|
+
<div class="method-description">
|
259
|
+
<p><a class="source-toggle" href="#"
|
260
|
+
onclick="toggleCode('M000030-source');return false;">[Source]</a></p>
|
261
|
+
<div class="method-source-code" id="M000030-source">
|
262
|
+
<pre>
|
263
|
+
<span class="ruby-comment cmt"># File lib/hobix/bixwik.rb, line 192</span>
|
264
|
+
192: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">entry_content_erb</span>
|
265
|
+
193: <span class="ruby-value str">%{ <div class="entryContent"><%= weblog.wiki_page( entry.content.to_html ) %></div> }</span>
|
266
|
+
194: <span class="ruby-keyword kw">end</span>
|
267
|
+
</pre>
|
268
|
+
</div>
|
269
|
+
</div>
|
270
|
+
</div>
|
271
|
+
|
272
|
+
<div id="method-M000032" class="method-detail">
|
273
|
+
<a name="M000032"></a>
|
274
|
+
|
275
|
+
<div class="method-heading">
|
276
|
+
<a href="#M000032" class="method-signature">
|
277
|
+
<span class="method-name">entry_footer_erb</span><span class="method-args">()</span>
|
278
|
+
</a>
|
279
|
+
</div>
|
280
|
+
|
281
|
+
<div class="method-description">
|
282
|
+
<p><a class="source-toggle" href="#"
|
283
|
+
onclick="toggleCode('M000032-source');return false;">[Source]</a></p>
|
284
|
+
<div class="method-source-code" id="M000032-source">
|
285
|
+
<pre>
|
286
|
+
<span class="ruby-comment cmt"># File lib/hobix/bixwik.rb, line 196</span>
|
287
|
+
196: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">entry_footer_erb</span>; <span class="ruby-value str">%{
|
288
|
+
197: Revision from <%= ( entry.modified || entry.created ).strftime( "%d %B %Y at %H:%M" ) %> by <%= weblog.wiki_link( "authors/" + entry.author ) %> }</span>
|
289
|
+
198: <span class="ruby-keyword kw">end</span>
|
290
|
+
</pre>
|
291
|
+
</div>
|
292
|
+
</div>
|
293
|
+
</div>
|
294
|
+
|
295
|
+
<div id="method-M000029" class="method-detail">
|
296
|
+
<a name="M000029"></a>
|
297
|
+
|
298
|
+
<div class="method-heading">
|
299
|
+
<a href="#M000029" class="method-signature">
|
300
|
+
<span class="method-name">entry_title_erb</span><span class="method-args">()</span>
|
301
|
+
</a>
|
302
|
+
</div>
|
303
|
+
|
304
|
+
<div class="method-description">
|
305
|
+
<p><a class="source-toggle" href="#"
|
306
|
+
onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
|
307
|
+
<div class="method-source-code" id="M000029-source">
|
308
|
+
<pre>
|
309
|
+
<span class="ruby-comment cmt"># File lib/hobix/bixwik.rb, line 191</span>
|
310
|
+
191: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">entry_title_erb</span>; <span class="ruby-keyword kw">end</span>
|
311
|
+
</pre>
|
312
|
+
</div>
|
313
|
+
</div>
|
314
|
+
</div>
|
315
|
+
|
316
|
+
<div id="method-M000036" class="method-detail">
|
317
|
+
<a name="M000036"></a>
|
318
|
+
|
319
|
+
<div class="method-heading">
|
320
|
+
<a href="#M000036" class="method-signature">
|
321
|
+
<span class="method-name">entry_trackback_erb</span><span class="method-args">()</span>
|
322
|
+
</a>
|
323
|
+
</div>
|
324
|
+
|
325
|
+
<div class="method-description">
|
326
|
+
<p><a class="source-toggle" href="#"
|
327
|
+
onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
|
328
|
+
<div class="method-source-code" id="M000036-source">
|
329
|
+
<pre>
|
330
|
+
<span class="ruby-comment cmt"># File lib/hobix/trackbacks.rb, line 38</span>
|
331
|
+
38: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">entry_trackback_erb</span>; <span class="ruby-value str">%{
|
332
|
+
39: <div id="trackbacks">
|
333
|
+
40: <% entry_id = entry.id %>
|
334
|
+
41: <% trackbacks = weblog.storage.load_attached( entry_id, "trackbacks") rescue [] %>
|
335
|
+
42: <% trackbacks.each do |trackback| %>
|
336
|
+
43: <div class="entry">
|
337
|
+
44: <div class="entryAttrib">
|
338
|
+
45: <div class="entryAuthor"><h3><%= trackback.blog_name %></h3></div>
|
339
|
+
46: <div class="entryTime">tracked back on <%= trackback.created.strftime("<nobr>%d %b %Y</nobr> at <nobr>%H:%M</nobr>" ) %></div>
|
340
|
+
47: </div>
|
341
|
+
48: <div class="entryContentOuter"><div class="entryContent">
|
342
|
+
49: <h3><a href="<%= trackback.url %>"><%= trackback.title %></a></h3>
|
343
|
+
50: <%= trackback.excerpt %>
|
344
|
+
51: </div></div>
|
345
|
+
52: </div>
|
346
|
+
53: <% end %>
|
347
|
+
54: </div>
|
348
|
+
55: }</span> <span class="ruby-keyword kw">end</span>
|
349
|
+
</pre>
|
350
|
+
</div>
|
351
|
+
</div>
|
352
|
+
</div>
|
353
|
+
|
354
|
+
<div id="method-M000035" class="method-detail">
|
355
|
+
<a name="M000035"></a>
|
356
|
+
|
357
|
+
<div class="method-heading">
|
358
|
+
<a href="#M000035" class="method-signature">
|
359
|
+
<span class="method-name">entry_trackback_rdf_erb</span><span class="method-args">()</span>
|
360
|
+
</a>
|
361
|
+
</div>
|
362
|
+
|
363
|
+
<div class="method-description">
|
364
|
+
<p><a class="source-toggle" href="#"
|
365
|
+
onclick="toggleCode('M000035-source');return false;">[Source]</a></p>
|
366
|
+
<div class="method-source-code" id="M000035-source">
|
367
|
+
<pre>
|
368
|
+
<span class="ruby-comment cmt"># File lib/hobix/trackbacks.rb, line 28</span>
|
369
|
+
28: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">entry_trackback_rdf_erb</span>; <span class="ruby-value str">%{
|
370
|
+
29: <!--
|
371
|
+
30: <%= trackback_rdf_for( weblog, entry ) %>
|
372
|
+
31: -->
|
373
|
+
32: }</span> <span class="ruby-keyword kw">end</span>
|
374
|
+
</pre>
|
375
|
+
</div>
|
376
|
+
</div>
|
377
|
+
</div>
|
378
|
+
|
379
|
+
<div id="method-M000031" class="method-detail">
|
380
|
+
<a name="M000031"></a>
|
381
|
+
|
382
|
+
<div class="method-heading">
|
383
|
+
<a href="#M000031" class="method-signature">
|
384
|
+
<span class="method-name">sidebar_erb</span><span class="method-args">()</span>
|
385
|
+
</a>
|
386
|
+
</div>
|
387
|
+
|
388
|
+
<div class="method-description">
|
389
|
+
<p><a class="source-toggle" href="#"
|
390
|
+
onclick="toggleCode('M000031-source');return false;">[Source]</a></p>
|
391
|
+
<div class="method-source-code" id="M000031-source">
|
392
|
+
<pre>
|
393
|
+
<span class="ruby-comment cmt"># File lib/hobix/bixwik.rb, line 195</span>
|
394
|
+
195: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sidebar_erb</span>; <span class="ruby-keyword kw">nil</span>; <span class="ruby-keyword kw">end</span>
|
395
|
+
</pre>
|
396
|
+
</div>
|
397
|
+
</div>
|
398
|
+
</div>
|
399
|
+
|
400
|
+
|
401
|
+
</div>
|
402
|
+
|
403
|
+
|
404
|
+
</div>
|
405
|
+
|
406
|
+
|
407
|
+
<div id="validator-badges">
|
408
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
409
|
+
</div>
|
410
|
+
|
411
|
+
</body>
|
412
|
+
</html>
|
@@ -0,0 +1,119 @@
|
|
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>Module: Hobix::Out</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>Module</strong></td>
|
53
|
+
<td class="class-name-in-header">Hobix::Out</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/lib/hobix/bixwik_rb.html">
|
59
|
+
lib/hobix/bixwik.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
<a href="../../files/lib/hobix/comments_rb.html">
|
63
|
+
lib/hobix/comments.rb
|
64
|
+
</a>
|
65
|
+
<br />
|
66
|
+
<a href="../../files/lib/hobix/trackbacks_rb.html">
|
67
|
+
lib/hobix/trackbacks.rb
|
68
|
+
</a>
|
69
|
+
<br />
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
|
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
|
+
<div id="class-list">
|
96
|
+
<h3 class="section-bar">Classes and Modules</h3>
|
97
|
+
|
98
|
+
Class <a href="Out/Quick.html" class="link">Hobix::Out::Quick</a><br />
|
99
|
+
|
100
|
+
</div>
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
<!-- if method_list -->
|
109
|
+
|
110
|
+
|
111
|
+
</div>
|
112
|
+
|
113
|
+
|
114
|
+
<div id="validator-badges">
|
115
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
116
|
+
</div>
|
117
|
+
|
118
|
+
</body>
|
119
|
+
</html>
|