FrontPage 

TB Wiki

Login

Regression Test

Expected HTML for page "Multipage_Blog_Dev_Notes"


expected html
nothing
t1 t
2<table align="right"><tr><td><div class="toc">
3Contents:
4<ul>
5  <li><a href="#To_Do">To&nbsp;Do</a></li>
6  <ul>
7    <li><a href="#done">done</a></li>
8  </ul>
9  <li><a href="#Features_I_want_the_blog_to_have">Features&nbsp;I&nbsp;want&nbsp;the&nbsp;blog&nbsp;to&nbsp;have</a></li>
10  <ul>
11    <li><a href="#Storage/Format">Storage/Format</a></li>
12    <li><a href="#Layout">Layout</a></li>
13    <li><a href="#Comments">Comments</a></li>
14    <li><a href="#Features_that_are_not_done_yet">Features&nbsp;that&nbsp;are&nbsp;not&nbsp;done&nbsp;yet</a></li>
15  </ul>
16  <li><a href="#Ideas_and_references">Ideas&nbsp;and&nbsp;references</a></li>
17  <ul>
18    <li><a href="#Blogs_that_I_like_the_look_of">Blogs&nbsp;that&nbsp;I&nbsp;like&nbsp;the&nbsp;look&nbsp;of</a></li>
19    <li><a href="#Blog_idea_resources">Blog&nbsp;idea&nbsp;resources</a></li>
20  </ul>
21  <li><a href="#design_details_for_ProcessorMultipageBlog">design&nbsp;details&nbsp;for&nbsp;ProcessorMultipageBlog</a></li>
22  <ul>
23    <li><a href="#page_names">page&nbsp;names</a></li>
24    <li><a href="#discussion_page_names">discussion&nbsp;page&nbsp;names</a></li>
25    <li><a href="#meta_data_format">meta&nbsp;data&nbsp;format</a></li>
26    <li><a href="#meta_data_format_for_discussion_pages">meta&nbsp;data&nbsp;format&nbsp;for&nbsp;discussion&nbsp;pages</a></li>
27    <li><a href="#processor_arguments">processor&nbsp;arguments</a></li>
28    <li><a href="#processor_actions">processor&nbsp;actions</a></li>
29  </ul>
30</ul>
31</div></td></tr></table>
32<p>
33Here are things I am working on finishing for the MultipageBlog feature.
34<p>
35Here are the test blogs:
36<ul><li><a href="https://bird.org/test/TestBlog">test:TestBlog</a> - single-page
37<li><a href="http://bird.org/test/TestProcessorMultipageBlog">test:TestProcessorMultipageBlog</a> - multi-page
38</ul>
39<p>
40Here is a sample personal blog (that is multi-page), see:
41<p>
42<a href="https://bird.org/tbwiki/TimsBlog">https://bird.org/tbwiki/TimsBlog</a>
43<p>
44<h1><a name="To_Do">To Do</a>
45<span align=right class="section_edit_link">[<a href="/tbwiki/Multipage_Blog_Dev_Notes?action=edit&section=To_Do">edit section</a>]</font></span>
46</h1>
47<ul><li>Layout:
48<ul><li>Make it look like Jeff Geerling's blog
49<ul><li>**1** <b> <i>create preview page</i> </b>
50<ul><li>blog page is a single-column list of shortened blog entries
51</ul><li>link takes you to an individual blog entry
52<li>entry page:
53<ul><li>title, date, content, comments, search bar
54</ul></ul></ul><li>Housekeeping:
55<ul><li>make a sidebar page for the test blog
56<ul><li>define default sidebar (show most recent 3 blog entries as a linked list, excluding the current entry)
57</ul>
58</ul>
59</ul>
60<p>
61<ul><li>Features:
62<ul><li>make a default sidebar, if no sidebar page is provided
63<li>don't show the entry edit link if user does not match the entry author
64</ul>
65</ul>
66<p>
67<ul><li>create comment section
68<ul><li>have each comment be its own page? or all comments on one talk page?
69<ul><li>leaning towards each comment its own page
70<ul><li>page name would be: comment_for_Test_blog_2025-10-11_22:50:27.11_on_2025-10-12_8:45:23.02
71<ul><li>prefix is comment_for_
72<li>separator is _on_
73</ul></ul><li>all on one page:
74<ul><li>page name would be: Talk:Test_blog_2025-10-11_22:50:27.11
75</ul><li>either parse a single page into a complex (threaded) display
76<li>or parse multiple pages into a complex (threaded) display
77</ul>
78</ul>
79</ul>
80<p>
81<ul><li>Fix bugs:
82<ul><li>blog entry list shows last entry first and last in list
83</ul>
84</ul>
85<p>
86<ul><li>Niceties: (nice to have items)
87<ul><li>add 'return to Blog' on page showing 'saved' on a page edit
88<ul><li>see 'save' action in tbwiki_engine.py
89</ul><li>add a 'share' button, with a fixed url for accessing a blog entry
90     in blog context (not using entry number, which will change over time)
91</ul>
92</ul>
93<p>
94<h2><a name="done">done</a>
95<span align=right class="section_edit_link">[<a href="/tbwiki/Multipage_Blog_Dev_Notes?action=edit&section=done">edit section</a>]</font></span>
96</h2>
97<ul><li>2025-10-11 - by default, show pages in reverse chronological order
98<li>2025-10-11 - add instructions to Blog entry form
99<ul><li>markdown help, and tags field help (use commas for separators)
100</ul><li>2025-10-11 - rename ProcessorBlogMultipage to ProcessorMultipageBlog
101</ul>
102<p>
103<h1><a name="Features_I_want_the_blog_to_have">Features I want the blog to have</a>
104<span align=right class="section_edit_link">[<a href="/tbwiki/Multipage_Blog_Dev_Notes?action=edit&section=Features_I_want_the_blog_to_have">edit section</a>]</font></span>
105</h1>
106<p>
107<h2><a name="Storage/Format">Storage/Format</a>
108<span align=right class="section_edit_link">[<a href="/tbwiki/Multipage_Blog_Dev_Notes?action=edit&section=Storage/Format">edit section</a>]</font></span>
109</h2>
110<ul><li>use individual pages for each post
111<ul><li>Each page has a header with fixed data fields, and then the blog content
112<li>The talk page has
113<li>the page name has the format:
114</ul>
115</ul>
116<p>
117<h2><a name="Layout">Layout</a>
118<span align=right class="section_edit_link">[<a href="/tbwiki/Multipage_Blog_Dev_Notes?action=edit&section=Layout">edit section</a>]</font></span>
119</h2>
120<ul><li>nicer Blog layout
121<ul><li>sidebar with navigation
122<ul><li>recent posts
123<li>categories
124<li>search bar
125<li>tags
126</ul><li>page with background, layout, blog css
127</ul>
128</ul>
129<p>
130<ul><li>use graphics instead of characters for navigation arrows
131<li>customizable background image
132</ul>
133<p>
134<h2><a name="Comments">Comments</a>
135<span align=right class="section_edit_link">[<a href="/tbwiki/Multipage_Blog_Dev_Notes?action=edit&section=Comments">edit section</a>]</font></span>
136</h2>
137<ul><li>support for comments
138<ul><li>all-in-one - use talk page, with indentation for nesting
139</ul>
140</ul>
141<p>
142<ul><li>create add-post form
143<ul><li>page schema has title, content, date, tags, id
144</ul>
145</ul>
146<p>
147<ul><li>navigation to previous and next posts
148<ul><li>response area
149<ul><li>show threaded responses with "reply" button on each one
150<li>response form with "post comment button
151</ul>
152</ul>
153</ul>
154<p>
155<ul><li>show date, tags, response count
156</ul>
157<p>
158<ul><li>ability to drag and drop images to upload to wiki
159</ul>
160<p>
161<h2><a name="Features_that_are_not_done_yet">Features that are not done yet</a>
162<span align=right class="section_edit_link">[<a href="/tbwiki/Multipage_Blog_Dev_Notes?action=edit&section=Features_that_are_not_done_yet">edit section</a>]</font></span>
163</h2>
164<p>
165<h1><a name="Ideas_and_references">Ideas and references</a>
166<span align=right class="section_edit_link">[<a href="/tbwiki/Multipage_Blog_Dev_Notes?action=edit&section=Ideas_and_references">edit section</a>]</font></span>
167</h1>
168<h2><a name="Blogs_that_I_like_the_look_of">Blogs that I like the look of</a>
169<span align=right class="section_edit_link">[<a href="/tbwiki/Multipage_Blog_Dev_Notes?action=edit&section=Blogs_that_I_like_the_look_of">edit section</a>]</font></span>
170</h2>
171<ul><li><a href="https://www.jeffgeerling.com/blog/2025/how-much-radiation-can-pi-handle-space">https://www.jeffgeerling.com/blog/2025/how-much-radiation-can-pi-handle-space</a>
172<li><a href="https://borretti.me/article/unbundling-tools-for-thought">https://borretti.me/article/unbundling-tools-for-thought</a>
173<li><a href="https://caseyhandmer.wordpress.com/">https://caseyhandmer.wordpress.com/</a>
174<ul><li>obviously, this is a wordpress blog
175</ul><li><a href="https://idlewords.com/">https://idlewords.com/</a>
176<li><a href="https://daniel.haxx.se/blog/2025/10/10/">https://daniel.haxx.se/blog/2025/10/10/</a>
177<li><a href="https://pebblebed.com/blog/kernel-bugs">https://pebblebed.com/blog/kernel-bugs</a> - simple and effective
178<ul><li>and <a href="https://pebblebed.com/blog">https://pebblebed.com/blog</a>
179</ul>
180</ul>
181<p>
182<h2><a name="Blog_idea_resources">Blog idea resources</a>
183<span align=right class="section_edit_link">[<a href="/tbwiki/Multipage_Blog_Dev_Notes?action=edit&section=Blog_idea_resources">edit section</a>]</font></span>
184</h2>
185<ul><li>(read this first) <a href="https://borretti.me/article/unbundling-tools-for-thought">https://borretti.me/article/unbundling-tools-for-thought</a>
186<li><a href="https://jekyllrb.com/docs/posts/">https://jekyllrb.com/docs/posts/</a>
187<li>See <a href="https://bird.org/tbwiki/Blog_Layouts_and_Features">https://bird.org/tbwiki/Blog_Layouts_and_Features</a>
188</ul>
189<p>
190<h1><a name="design_details_for_ProcessorMultipageBlog">design details for ProcessorMultipageBlog</a>
191<span align=right class="section_edit_link">[<a href="/tbwiki/Multipage_Blog_Dev_Notes?action=edit&section=design_details_for_ProcessorMultipageBlog">edit section</a>]</font></span>
192</h1>
193<p>
194Here are some details about ProcessorMultipageBlog.
195<p>
196<h2><a name="page_names">page names</a>
197<span align=right class="section_edit_link">[<a href="/tbwiki/Multipage_Blog_Dev_Notes?action=edit&section=page_names">edit section</a>]</font></span>
198</h2>
199blog pages consist of a prefix, and a date and time stamp.
200<p>
201Here are some example page names:
202<ul><li>Test_blog_2023-03-31_11:12:34
203<li>Space_blog_2023-04-03_15:21:56
204</ul>
205<p>
206Note that '_blog_' is not required.  It is a convention to use
207'_blog_' in the prefix of the blog page name, though.
208<p>
209<h2><a name="discussion_page_names">discussion page names</a>
210<span align=right class="section_edit_link">[<a href="/tbwiki/Multipage_Blog_Dev_Notes?action=edit&section=discussion_page_names">edit section</a>]</font></span>
211</h2>
212Comments are saved on the talk page for a blog page, and will
213thus have names like:
214<ul><li>Talk:Test_blog_2023-03-31_11:12:34
215<li>Talk:Space_blog_2023-04-03_15:21:56
216</ul>
217<p>
218<h2><a name="meta_data_format">meta data format</a>
219<span align=right class="section_edit_link">[<a href="/tbwiki/Multipage_Blog_Dev_Notes?action=edit&section=meta_data_format">edit section</a>]</font></span>
220</h2>
221Here is a sample page from a blog, showing the meta-data format.
222<p>
223Note that a page can be edited as a wiki page.
224<ul><div style="background-color:#ffffe0; padding:5px; border-style: solid solid solid solid; border-width: 1px 1px 1px 1px;">
225<pre>----
226; Subject: Blog entry title
227; Date: 2023-03-31_11:12:34
228; Tags: test, blog, first
229; Author: tbird
230----
231Blog entry content
232 * in ''tbwiki'' Markdown!!
233Hurray!</pre></div></ul>
234 
235<p>
236<h2><a name="meta_data_format_for_discussion_pages">meta data format for discussion pages</a>
237<span align=right class="section_edit_link">[<a href="/tbwiki/Multipage_Blog_Dev_Notes?action=edit&section=meta_data_format_for_discussion_pages">edit section</a>]</font></span>
238</h2>
239Here is a sample page from a blog, showing the discussion meta-data format.
240<p>
241Note that a page can be edited as a wiki page.
242<div style="background-color:#ffffe0; padding:5px; border-style: solid none solid none; border-width: 1px 1px 1px 1px;">
243<p>
244<b>TBD</b>
245</div>
246<p>
247<h2><a name="processor_arguments">processor arguments</a>
248<span align=right class="section_edit_link">[<a href="/tbwiki/Multipage_Blog_Dev_Notes?action=edit&section=processor_arguments">edit section</a>]</font></span>
249</h2>
250<ul><li>prefix=&lt;page_prefix&gt; - a string indicating the prefix for the set of pages that make up the blog
251<li>title - blog title
252<li>sidebar=&lt;sidebar_page_name&gt; - the name of the wiki page which has the sidebar definition
253<li>entries_to_show=x - number of entries to show (default is 5)
254<li>show_standalone=1 - show page without wiki decorations
255<li>show_edit_link=1 - show a link to edit the entry
256<li>background_image - filename of background image
257<li>show_entry_list=1 - show a list of entries, rather than the blog itself
258</ul>
259<p>
260<h2><a name="processor_actions">processor actions</a>
261<span align=right class="section_edit_link">[<a href="/tbwiki/Multipage_Blog_Dev_Notes?action=edit&section=processor_actions">edit section</a>]</font></span>
262</h2>
263<ul><li>show_entry_form - used to show the edit form for creating a new blog entry
264<li>add_entry - used to save a new blog entry
265<li>main - show the blog
266</ul>
267<p>
268<p>
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op

Differences for page "Multipage_Blog_Dev_Notes"


expected html
generated html
t No Differences Found t No Differences Found 
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op

Update saved output

Back to diff page

Return to Regression_Test page
Categories: Features|Blog
TBWiki engine 2.0.1 by Tim Bird