From 723aaf1f4694aae1cc84ac13e84c6c784f8b101b Mon Sep 17 00:00:00 2001 From: "http://alcopop.org/me/openid/" Date: Mon, 20 Oct 2008 10:27:56 -0400 Subject: I like the forum idea - but a map instead of inline? --- doc/forum/discussion.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/forum/discussion.mdwn (limited to 'doc/forum') diff --git a/doc/forum/discussion.mdwn b/doc/forum/discussion.mdwn new file mode 100644 index 000000000..5e2399108 --- /dev/null +++ b/doc/forum/discussion.mdwn @@ -0,0 +1 @@ +I like the idea of this forum heirarchy -- but I think a map would be clearer than inlining the sub-pages. Here (will be) an experimental example: [[forum/discussion/mapexample]] -- [[JonDowland]] -- cgit v1.2.3 From 38289006e72d654825b35beed4300350e47f670f Mon Sep 17 00:00:00 2001 From: "http://alcopop.org/me/openid/" Date: Mon, 20 Oct 2008 10:30:19 -0400 Subject: a test to see if this is clearer --- doc/forum/forum/discussion/mapexample.mdwn | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/forum/forum/discussion/mapexample.mdwn (limited to 'doc/forum') diff --git a/doc/forum/forum/discussion/mapexample.mdwn b/doc/forum/forum/discussion/mapexample.mdwn new file mode 100644 index 000000000..9edfd179b --- /dev/null +++ b/doc/forum/forum/discussion/mapexample.mdwn @@ -0,0 +1,8 @@ +This is an experiment to see if a map would be clearer for the forum sub-pages than an inline. +---- +[[!inline pages="forum/* and !forum/discussion and !forum/*/*" +actions=yes rootpage="forum" postformtext="Add a new thread titled:" show=-1]] + +[[!map pages="forum/* and !forum/discussion and !forum/*/*"]] + -- cgit v1.2.3 From b8c7f3d4c4d59e3560198538a42aebbc2c8efb88 Mon Sep 17 00:00:00 2001 From: "http://alcopop.org/me/openid/" Date: Mon, 20 Oct 2008 10:31:32 -0400 Subject: remove inadvertent header --- doc/forum/forum/discussion/mapexample.mdwn | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/forum') diff --git a/doc/forum/forum/discussion/mapexample.mdwn b/doc/forum/forum/discussion/mapexample.mdwn index 9edfd179b..9933de596 100644 --- a/doc/forum/forum/discussion/mapexample.mdwn +++ b/doc/forum/forum/discussion/mapexample.mdwn @@ -1,4 +1,5 @@ This is an experiment to see if a map would be clearer for the forum sub-pages than an inline. + ---- [[!inline pages="forum/* and !forum/discussion and !forum/*/*" actions=yes rootpage="forum" postformtext="Add a new thread titled:" show=-1]] -- cgit v1.2.3 From a15b8a62c2d2183c256ebead1d46c41e5edeb0b3 Mon Sep 17 00:00:00 2001 From: "http://alcopop.org/me/openid/" Date: Mon, 20 Oct 2008 10:32:26 -0400 Subject: --- doc/forum/discussion.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/forum') diff --git a/doc/forum/discussion.mdwn b/doc/forum/discussion.mdwn index 5e2399108..483e5e7cf 100644 --- a/doc/forum/discussion.mdwn +++ b/doc/forum/discussion.mdwn @@ -1 +1 @@ -I like the idea of this forum heirarchy -- but I think a map would be clearer than inlining the sub-pages. Here (will be) an experimental example: [[forum/discussion/mapexample]] -- [[JonDowland]] +I like the idea of this forum heirarchy -- but I think a map would be clearer than inlining the sub-pages. Here is an experimental example: [[forum/discussion/mapexample]] (apologies for the double forum/forum) -- [[JonDowland]] -- cgit v1.2.3 From 9bad51a77661173a4126f49da8e726ae839c6922 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 20 Oct 2008 15:37:27 -0400 Subject: response --- doc/forum/discussion.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/forum') diff --git a/doc/forum/discussion.mdwn b/doc/forum/discussion.mdwn index 483e5e7cf..dc77d43b1 100644 --- a/doc/forum/discussion.mdwn +++ b/doc/forum/discussion.mdwn @@ -1 +1,7 @@ I like the idea of this forum heirarchy -- but I think a map would be clearer than inlining the sub-pages. Here is an experimental example: [[forum/discussion/mapexample]] (apologies for the double forum/forum) -- [[JonDowland]] + +> The easier way to accomplish this is to set archive=yes in the inline. +> Switching to archive view can be useful when there are a lot of long +> posts and people tend to want to scan by title to find interesting ones +> and not necessarily read them all, which probably fits this forum pretty +> well --[[Joey]] -- cgit v1.2.3 From 947fd054723473c2aabf497bbe5960da5e3fed04 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 20 Oct 2008 15:38:17 -0400 Subject: turn on archive mode for forum --- doc/forum.mdwn | 2 +- doc/forum/discussion.mdwn | 2 +- doc/forum/forum/discussion/mapexample.mdwn | 9 --------- 3 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 doc/forum/forum/discussion/mapexample.mdwn (limited to 'doc/forum') diff --git a/doc/forum.mdwn b/doc/forum.mdwn index bab65cac6..729540774 100644 --- a/doc/forum.mdwn +++ b/doc/forum.mdwn @@ -5,4 +5,4 @@ _This is a bold experiment by me, since I have exactly such a question. This ove ## Current topics ## [[!inline pages="forum/* and !forum/discussion and !forum/*/*" -actions=yes rootpage="forum" postformtext="Add a new thread titled:" show=0]] +archive=yes rootpage="forum" postformtext="Add a new thread titled:" show=0]] diff --git a/doc/forum/discussion.mdwn b/doc/forum/discussion.mdwn index dc77d43b1..1e55d3f57 100644 --- a/doc/forum/discussion.mdwn +++ b/doc/forum/discussion.mdwn @@ -1,4 +1,4 @@ -I like the idea of this forum heirarchy -- but I think a map would be clearer than inlining the sub-pages. Here is an experimental example: [[forum/discussion/mapexample]] (apologies for the double forum/forum) -- [[JonDowland]] +I like the idea of this forum heirarchy -- but I think a map would be clearer than inlining the sub-pages. -- [[JonDowland]] > The easier way to accomplish this is to set archive=yes in the inline. > Switching to archive view can be useful when there are a lot of long diff --git a/doc/forum/forum/discussion/mapexample.mdwn b/doc/forum/forum/discussion/mapexample.mdwn deleted file mode 100644 index 9933de596..000000000 --- a/doc/forum/forum/discussion/mapexample.mdwn +++ /dev/null @@ -1,9 +0,0 @@ -This is an experiment to see if a map would be clearer for the forum sub-pages than an inline. - ----- -[[!inline pages="forum/* and !forum/discussion and !forum/*/*" -actions=yes rootpage="forum" postformtext="Add a new thread titled:" show=-1]] - -[[!map pages="forum/* and !forum/discussion and !forum/*/*"]] - -- cgit v1.2.3 From 100c68003b8d5214b8de3101c97b9af79e064369 Mon Sep 17 00:00:00 2001 From: Jason Blevins Date: Wed, 29 Oct 2008 23:25:34 -0400 Subject: Forum question --- doc/forum/wiki_name_in_page_titles.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 doc/forum/wiki_name_in_page_titles.mdwn (limited to 'doc/forum') diff --git a/doc/forum/wiki_name_in_page_titles.mdwn b/doc/forum/wiki_name_in_page_titles.mdwn new file mode 100644 index 000000000..16c27c24a --- /dev/null +++ b/doc/forum/wiki_name_in_page_titles.mdwn @@ -0,0 +1,6 @@ +I'd like to have the wiki name appear in page titles as in "WikiName: +Page Title." If I use `: ` in the +template this works for all pages except the index page itself which +will have title "WikiName: WikiName" as its title. Does anyone know +of a template-based solution to this or do I need to write a plugin +that provides a `IS_HOMEPAGE` template variable? --[[JasonBlevins]] -- cgit v1.2.3 From 7ea0f92aadb40563a84c58841c316e827af1d570 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 30 Oct 2008 14:14:57 -0400 Subject: response --- doc/forum/wiki_name_in_page_titles.mdwn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/forum') diff --git a/doc/forum/wiki_name_in_page_titles.mdwn b/doc/forum/wiki_name_in_page_titles.mdwn index 16c27c24a..385e7a3f2 100644 --- a/doc/forum/wiki_name_in_page_titles.mdwn +++ b/doc/forum/wiki_name_in_page_titles.mdwn @@ -4,3 +4,7 @@ template this works for all pages except the index page itself which will have title "WikiName: WikiName" as its title. Does anyone know of a template-based solution to this or do I need to write a plugin that provides a `IS_HOMEPAGE` template variable? --[[JasonBlevins]] + +> Hmm, one way to work around this is to put a meta title directive on the +> index page. Then TITLE will be that, rather than WIKINAME, and your +> template should work. --[[Joey]] -- cgit v1.2.3 From c2684b94b27c12b5e39bfbb026163b62842a9908 Mon Sep 17 00:00:00 2001 From: "http://thewordnerd.info/" Date: Fri, 31 Oct 2008 19:34:49 -0400 Subject: --- doc/forum/Adding_new_markup_to_markdown.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/forum/Adding_new_markup_to_markdown.mdwn (limited to 'doc/forum') diff --git a/doc/forum/Adding_new_markup_to_markdown.mdwn b/doc/forum/Adding_new_markup_to_markdown.mdwn new file mode 100644 index 000000000..39d233add --- /dev/null +++ b/doc/forum/Adding_new_markup_to_markdown.mdwn @@ -0,0 +1,11 @@ +I'm using ikiwiki to manage my personal wiki. One of the things I'm toying with is storing my grocery list in a wiki. The way I typically grocery-shop is to make one huge master list containing all the items I typically buy in a single cycle. Then, on any given trip, I make a subset list containing only the items I need. I'd like to streamline this process by making the master list a series of checkboxes. Before each trip, I load the list page on my phone, check off all the items I already have, then check off individual items as I get them. + +I'm not sure if there's a convenient way of adding checkboxes to wiki pages, and after a bit of thought I decided that "( )" would be a good markup for this. Ideally I'd like to still have access to other markdown conventions so I could, say, organize the list with headings and such when it grows large, so I don't want to create an entirely separate format, or a separate copy of the markdown plugin. + +Is there an existing means of, say, adding supersets to wiki markup? I suppose I could use an inline directive that inserts a multisellect HTML element, but I really like ( ). :) + +Ideal would be some sort of filter infrastructure. Plugins could register with a larger filter plugin that adds an inline directive. I could then invoke the checkbox filter at the top of my grocery list, and all instances of ( ) would be replaced with HTML. Might also make sense for the individual filters to specify whether or not they're invoked before or after the page template, or perhaps just always invoke them after. *shrug* + +Does something like this exist? I'd really like to avoid messing around with raw HTML or an inline for each of 40-50 list items. :) + +-- [[Nolan]] -- cgit v1.2.3