From 3fe59803d5a0e3cf8754128c62e3c683359e4d4d Mon Sep 17 00:00:00 2001 From: "http://xma.myopenid.com/" Date: Mon, 20 Oct 2008 10:02:45 -0400 Subject: --- doc/users/hb/discussion.mdwn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/users') diff --git a/doc/users/hb/discussion.mdwn b/doc/users/hb/discussion.mdwn index 6dfa6a23b..15c065e45 100644 --- a/doc/users/hb/discussion.mdwn +++ b/doc/users/hb/discussion.mdwn @@ -1,4 +1,5 @@ I'd love to see any notes you have on using ikiwiki for GTD. Would you consider documenting them? Perhaps we could turn the result into a [[tip|tips]]. -[[JoshTriplett]] -> Well, certainly. Basically it's just inline + tag feature. I'm going to have more time in May for ikiwiki, I hope. \ No newline at end of file +> Well, certainly. Basically it's just inline + tag feature. I'm going to have more time in May for ikiwiki, I hope. +> > Any news about that ? -- cgit v1.2.3 From 217eb43aec4cf2ef8bab745a6d0d76dccfa286b4 Mon Sep 17 00:00:00 2001 From: "http://xma.myopenid.com/" Date: Mon, 20 Oct 2008 10:12:49 -0400 Subject: --- doc/users/xma/discussion.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/users/xma/discussion.mdwn (limited to 'doc/users') diff --git a/doc/users/xma/discussion.mdwn b/doc/users/xma/discussion.mdwn new file mode 100644 index 000000000..6e1134c24 --- /dev/null +++ b/doc/users/xma/discussion.mdwn @@ -0,0 +1 @@ +How do you edit this wiki (I mean [ikiwiki]) without the web browser ? Is there a way to git clone/pull/push and thus to use our favorite [text editor](http://www.gnu.org/software/emacs) ? --[[xma]] -- cgit v1.2.3 From 09c648cf85ee5b422649dbecfb82ef5a9b275c89 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 20 Oct 2008 13:14:36 -0400 Subject: response --- doc/users/xma/discussion.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/users') diff --git a/doc/users/xma/discussion.mdwn b/doc/users/xma/discussion.mdwn index 6e1134c24..2aed71b70 100644 --- a/doc/users/xma/discussion.mdwn +++ b/doc/users/xma/discussion.mdwn @@ -1 +1,8 @@ How do you edit this wiki (I mean [ikiwiki]) without the web browser ? Is there a way to git clone/pull/push and thus to use our favorite [text editor](http://www.gnu.org/software/emacs) ? --[[xma]] + +> You can clone ikiwiki's [[git]] repo. I have not implemented a way to +> allow users to push doc wiki only changesets anonymously, but you can +> mails changesets to me. It would be nice to have a git recieve hook that +> checked that a commit contained only changes to .mdwn or other allowed +> extensions.. if someone writes up a good one, I'd be willing to deploy it +> for ikiwiki. --[[Joey]] -- cgit v1.2.3 From 0f2764e6a6bbb9c600dc8f578ed8fa72a0202689 Mon Sep 17 00:00:00 2001 From: "http://xma.myopenid.com/" Date: Mon, 20 Oct 2008 15:44:36 -0400 Subject: --- doc/users/xma/discussion.mdwn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc/users') diff --git a/doc/users/xma/discussion.mdwn b/doc/users/xma/discussion.mdwn index 2aed71b70..d7c50f8a0 100644 --- a/doc/users/xma/discussion.mdwn +++ b/doc/users/xma/discussion.mdwn @@ -2,7 +2,10 @@ How do you edit this wiki (I mean [ikiwiki]) without the web browser ? Is there > You can clone ikiwiki's [[git]] repo. I have not implemented a way to > allow users to push doc wiki only changesets anonymously, but you can -> mails changesets to me. It would be nice to have a git recieve hook that +> mails changesets to me. --[[Joey]] +> > How can I send you the changesets ? (git command) --[[xma]] + +> It would be nice to have a git recieve hook that > checked that a commit contained only changes to .mdwn or other allowed > extensions.. if someone writes up a good one, I'd be willing to deploy it > for ikiwiki. --[[Joey]] -- cgit v1.2.3 From 08352165290f44d63582a6f60c88944d57701b1e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 20 Oct 2008 16:19:10 -0400 Subject: response --- doc/users/xma/discussion.mdwn | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/users') diff --git a/doc/users/xma/discussion.mdwn b/doc/users/xma/discussion.mdwn index d7c50f8a0..20cb80ee9 100644 --- a/doc/users/xma/discussion.mdwn +++ b/doc/users/xma/discussion.mdwn @@ -4,6 +4,7 @@ How do you edit this wiki (I mean [ikiwiki]) without the web browser ? Is there > allow users to push doc wiki only changesets anonymously, but you can > mails changesets to me. --[[Joey]] > > How can I send you the changesets ? (git command) --[[xma]] +> > > `git-format-patch` --[[Joey]] > It would be nice to have a git recieve hook that > checked that a commit contained only changes to .mdwn or other allowed -- cgit v1.2.3 From c746aa1a7c49ef41262a7f4853155432f10a5b30 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Mon, 20 Oct 2008 18:39:01 -0400 Subject: response --- doc/users/xma/discussion.mdwn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/users') diff --git a/doc/users/xma/discussion.mdwn b/doc/users/xma/discussion.mdwn index 20cb80ee9..c2bb62062 100644 --- a/doc/users/xma/discussion.mdwn +++ b/doc/users/xma/discussion.mdwn @@ -6,7 +6,11 @@ How do you edit this wiki (I mean [ikiwiki]) without the web browser ? Is there > > How can I send you the changesets ? (git command) --[[xma]] > > > `git-format-patch` --[[Joey]] +> > > > Glad to hear I can mail changesets to you, since I wrote the [[todo/applydiff_plugin]] wishlist entry. --[[intrigeri]] + > It would be nice to have a git recieve hook that > checked that a commit contained only changes to .mdwn or other allowed > extensions.. if someone writes up a good one, I'd be willing to deploy it > for ikiwiki. --[[Joey]] + +> > I'll think about it. It may solve some of my offline-being issues. --[[intrigeri]] -- cgit v1.2.3 From 53292eea63726309707576eab8c6893a029e260c Mon Sep 17 00:00:00 2001 From: "http://jblevins.org/" Date: Tue, 21 Oct 2008 11:43:37 -0400 Subject: Notes on MathML and SVG support --- doc/users/jasonblevins.mdwn | 59 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 55 insertions(+), 4 deletions(-) (limited to 'doc/users') diff --git a/doc/users/jasonblevins.mdwn b/doc/users/jasonblevins.mdwn index a07d5d14b..8e51e7f7c 100644 --- a/doc/users/jasonblevins.mdwn +++ b/doc/users/jasonblevins.mdwn @@ -5,14 +5,18 @@ which, with some patches and a (currently unreleased) plugin, will convert inline LaTeX expressions to MathML. I'm working towards a patchset and instructions for others to do the same. -There is one thing that needs to be decided first: whether or not to -include [[sanitization|todo/svg]] of MathML in htmlscrubber (and while -we're at it, why not SVG). +I've setup a test ikiwiki [here](http://xbeta.org/colab/) where I've +started keeping a few notes on my progress. There is an example of +inline SVG on the homepage (note that the logo scales along with the +font size). There are a few example mathematical expressions in the +[sandbox](http://xbeta.org/colab/sandbox/). The MathML is generated +automatically from inline LaTeX expressions using an experimental +plugin I'm working on. My (also MathML-enabled) homepage: (still using Blosxom...maybe one day I'll convert it to ikiwiki...) -Current issues of interest: +Current ikiwki issues of interest: * [[bugs/recentchanges_feed_links]] * [[bugs/HTML_inlined_into_Atom_not_necessarily_well-formed]] @@ -20,3 +24,50 @@ Current issues of interest: * [[todo/BibTeX]] * [[todo/svg]] * [[todo/Option_to_make_title_an_h1?]] + * [[bugs/SVG_files_not_recognized_as_images]] + +## MathML and SVG support + +So far, I've made some notes on sanitizing MathML and SVG via +htmlscrubber on the [[todo/svg]] todo item. + +I've also worked out some content-negotiation issues. First of all, +one needs to modify the default templates to use the +XHTML+MathML+SVG doctype (see e.g., this [patch][template-patch]). +For most browsers, the content type of the pages should be +`application/xhtml+xml`. The solution is easy if you want to +just send `application/xhtml+xml` to everybody: +just change the content type of `.html` files across the board. + +However, if you want to support browsers that don't accept +`application/xhtml+xml` (and those that will but say they +don't, such as IE with the MathPlayer plugin), then one +needs a `mod_rewrite` rule like the following: + + RewriteCond %{HTTP_ACCEPT} application\/xhtml\+xml [OR] + RewriteCond %{HTTP_USER_AGENT} (W3C.*Validator|MathPlayer) + RewriteRule \.html$ - [T=application/xhtml+xml] + +This solves the problem of MathML and inline SVG in static pages +but some additional work is required for dynamically generated +pages, like page previews, that are generated by `ikiwiki.cgi`. +We need to allow `ikiwiki.cgi` to set the content type dynamically +based on the `HTTP_CONTENT_TYPE` environment variable +(e.g., with the following [patch][cgi-patch]). Then, the following +rewrite rules can pass the correct content type to ikiwiki: + + RewriteCond %{HTTP_ACCEPT} application\/xhtml\+xml [OR] + RewriteCond %{HTTP_USER_AGENT} (W3C.*Validator|MathPlayer) + RewriteRule ikiwiki.cgi$ - [T=application/xhtml+xml] + +One final critical issue is that a production-ready setup needs to +implement some sort of on-the-fly error handling. If a user submits +an invalid LaTeX expression or SVG code (not malicious, just invalid) +and saves the page, then browsers like Firefox will halt processing of +the page, preventing any further viewing or editing. A less than +optimal solution is to force users to preview the page before saving. +That way if someone introduces invalid XHTML then they can't save the +page in the first place (unless they post directly to the right URL). + + [template-patch]: http://xbeta.org/gitweb/?p=xbeta/ikiwiki.git;a=blobdiff;f=templates/page.tmpl;h=380ef699fa72223744eb5c1ee655fb79aa6bce5b;hp=9084ba7e11e92a10528b2ab12c9b73cf7b0f40a7;hb=416d5d1b15b94e604442e4e209a30dee4b77b684;hpb=ececf4fb8766a4ff7eff943b3ef600be81a0df49 + [cgi-patch]: http://xbeta.org/gitweb/?p=xbeta/ikiwiki.git;a=commitdiff;h=fa538c375250ab08f396634135f7d79fce2a9d36 -- cgit v1.2.3 From f1f7b9a38e5d66fb8b1e03183728de5f2b1e266b Mon Sep 17 00:00:00 2001 From: "http://xma.myopenid.com/" Date: Tue, 21 Oct 2008 17:51:26 -0400 Subject: --- doc/users/xma.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/users') diff --git a/doc/users/xma.mdwn b/doc/users/xma.mdwn index 782b6eab6..97a8ef869 100644 --- a/doc/users/xma.mdwn +++ b/doc/users/xma.mdwn @@ -20,3 +20,9 @@ Various channels to contact me: - mobile: +33 621-964-362 (I only anwser to people I know though) Voila. + +## Plans + +I am planning to make a presentation of [[ikiwiki]]to my [local LUG](http://lolica.org) for our next montly meeting. Any help would be greatly appreciated. + +We are discussing to replace our old unmaintained (and unmaintainable) [SPIP](http://spip.net) website with a wiki. This is why I would like using ikiwiki ;) -- cgit v1.2.3 From 7fe2744d48a75a447fbe124839c3db2756c24795 Mon Sep 17 00:00:00 2001 From: "http://jblevins.org/" Date: Wed, 22 Oct 2008 13:57:45 -0400 Subject: Added links to a couple of experimental plugins --- doc/users/jasonblevins.mdwn | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'doc/users') diff --git a/doc/users/jasonblevins.mdwn b/doc/users/jasonblevins.mdwn index 8e51e7f7c..f69a8040c 100644 --- a/doc/users/jasonblevins.mdwn +++ b/doc/users/jasonblevins.mdwn @@ -1,7 +1,7 @@ [[!meta title="Jason Blevins"]] I'm currently hosting a private ikiwiki for keeping research notes -which, with some patches and a (currently unreleased) plugin, will +which, with some patches and a plugin (below), will convert inline LaTeX expressions to MathML. I'm working towards a patchset and instructions for others to do the same. @@ -26,6 +26,17 @@ Current ikiwki issues of interest: * [[todo/Option_to_make_title_an_h1?]] * [[bugs/SVG_files_not_recognized_as_images]] +## Plugins + +These plugins are experimental. Use them at your own risk. Read the +perldoc documentation for more details. + + * [mdwn_itex][] - Works with the `mdwn` plugin to convert inline LaTeX + expressions to MathML using `itex2MML`. + + * [h1title][] - If present, use the leading level 1 Markdown header to + set the page title and remove it from the page body. + ## MathML and SVG support So far, I've made some notes on sanitizing MathML and SVG via @@ -71,3 +82,5 @@ page in the first place (unless they post directly to the right URL). [template-patch]: http://xbeta.org/gitweb/?p=xbeta/ikiwiki.git;a=blobdiff;f=templates/page.tmpl;h=380ef699fa72223744eb5c1ee655fb79aa6bce5b;hp=9084ba7e11e92a10528b2ab12c9b73cf7b0f40a7;hb=416d5d1b15b94e604442e4e209a30dee4b77b684;hpb=ececf4fb8766a4ff7eff943b3ef600be81a0df49 [cgi-patch]: http://xbeta.org/gitweb/?p=xbeta/ikiwiki.git;a=commitdiff;h=fa538c375250ab08f396634135f7d79fce2a9d36 + [mdwn_itex]: http://code.jblevins.org/ikiwiki/plugins/mdwn_itex.pm + [h1title]: http://code.jblevins.org/ikiwiki/plugins/h1title.pm -- cgit v1.2.3 From 0196e1f9fcfebbf904e59c029e494cb2186793e6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 24 Oct 2008 13:29:41 -0400 Subject: updates --- IkiWiki/Plugin/git.pm | 2 +- doc/plugins/pingee.mdwn | 2 +- doc/users/xma/discussion.mdwn | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'doc/users') diff --git a/IkiWiki/Plugin/git.pm b/IkiWiki/Plugin/git.pm index e565f6369..3a8476e7d 100644 --- a/IkiWiki/Plugin/git.pm +++ b/IkiWiki/Plugin/git.pm @@ -619,7 +619,7 @@ sub rcs_receive () { #{{{ # Avoid chdir when running git here, because the changes # are in the master git repo, not the srcdir repo. - # The pre-recieve hook already puts us in the right place. + # The pre-receive hook already puts us in the right place. $no_chdir=1; my @changes=git_commit_info($oldrev."..".$newrev); $no_chdir=0; diff --git a/doc/plugins/pingee.mdwn b/doc/plugins/pingee.mdwn index d012004f9..6156c235f 100644 --- a/doc/plugins/pingee.mdwn +++ b/doc/plugins/pingee.mdwn @@ -3,7 +3,7 @@ This plugin causes ikiwiki to listen for pings, typically delivered from another ikiwiki instance using the [[pinger]] plugin. When a ping is -recieved, ikiwiki will update the wiki, the same as if `ikiwiki --refresh` +received, ikiwiki will update the wiki, the same as if `ikiwiki --refresh` were ran at the command line. An url such as the following is used to trigger a ping: diff --git a/doc/users/xma/discussion.mdwn b/doc/users/xma/discussion.mdwn index c2bb62062..34adbf821 100644 --- a/doc/users/xma/discussion.mdwn +++ b/doc/users/xma/discussion.mdwn @@ -14,3 +14,5 @@ How do you edit this wiki (I mean [ikiwiki]) without the web browser ? Is there > for ikiwiki. --[[Joey]] > > I'll think about it. It may solve some of my offline-being issues. --[[intrigeri]] + +>>>> Now developed! --[[Joey]] -- cgit v1.2.3 From 79b5509ed87ffd8d0ca77e78a3da0bf7b35054cd Mon Sep 17 00:00:00 2001 From: Jason Blevins Date: Mon, 27 Oct 2008 20:45:33 -0400 Subject: Redirect username (for git commits) to user page --- doc/users/jrblevin.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/users/jrblevin.mdwn (limited to 'doc/users') diff --git a/doc/users/jrblevin.mdwn b/doc/users/jrblevin.mdwn new file mode 100644 index 000000000..4eb250bfa --- /dev/null +++ b/doc/users/jrblevin.mdwn @@ -0,0 +1 @@ +[[!meta redir=users/jasonblevins]] -- cgit v1.2.3 From 900d1c5600ee1821c1837c6cfb9cc37d85e0de99 Mon Sep 17 00:00:00 2001 From: neale Date: Tue, 28 Oct 2008 18:11:37 -0400 Subject: --- doc/users/neale.mdwn | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'doc/users') diff --git a/doc/users/neale.mdwn b/doc/users/neale.mdwn index 364e58a02..fef0c4ddb 100644 --- a/doc/users/neale.mdwn +++ b/doc/users/neale.mdwn @@ -1 +1,10 @@ -I have a keyboard and I'm not afraid to use it. +I used IkiWiki to supplant some custom journal software. I like that it uses +the filesystem, my intent is to make journal entries as future-proof as +possible. I'll probably start using it for generation of entire sites, soon. + +Things generated by IkiWiki with some fancypants stylesheets: + +* [woozle.org](http://woozle.org/) +* [My page](http://woozle.org/~neale/) +* [Amy's page](http://woozle.org/~aim/) +* [Heidi's page](http://woozle.org/~heidi/) -- cgit v1.2.3 From 41926f3d99098959ba2a664f4718c68aca39c19d Mon Sep 17 00:00:00 2001 From: neale Date: Tue, 28 Oct 2008 18:13:13 -0400 Subject: better entry points --- doc/users/neale.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/users') diff --git a/doc/users/neale.mdwn b/doc/users/neale.mdwn index fef0c4ddb..5245c2c99 100644 --- a/doc/users/neale.mdwn +++ b/doc/users/neale.mdwn @@ -6,5 +6,5 @@ Things generated by IkiWiki with some fancypants stylesheets: * [woozle.org](http://woozle.org/) * [My page](http://woozle.org/~neale/) -* [Amy's page](http://woozle.org/~aim/) -* [Heidi's page](http://woozle.org/~heidi/) +* [Amy's blog](http://woozle.org/~aim/blog/) +* [Heidi's blog](http://woozle.org/~heidi/blog/) -- cgit v1.2.3 From 4100eeb3dddcc81a1b4368f9262adea738018f71 Mon Sep 17 00:00:00 2001 From: jwalzer Date: Thu, 30 Oct 2008 05:37:51 -0400 Subject: Userpage setup --- doc/users/jwalzer.mdwn | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/users/jwalzer.mdwn (limited to 'doc/users') diff --git a/doc/users/jwalzer.mdwn b/doc/users/jwalzer.mdwn new file mode 100644 index 000000000..e66ad1a52 --- /dev/null +++ b/doc/users/jwalzer.mdwn @@ -0,0 +1,3 @@ +Jan Walzer started to look on ikiwiki just recently. + +Read [here](http://wa.lzer.net/wiki/ikiwiki/whyikiwiki/) why he uses ikiwiki. -- cgit v1.2.3 From 8f7e6e76ace0ba0a402176518eca282fe356358b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 31 Oct 2008 18:02:03 -0400 Subject: rename --- doc/plugins/calendar/alexander.mdwn | 1 - doc/users/alexander.mdwn | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 doc/plugins/calendar/alexander.mdwn create mode 100644 doc/users/alexander.mdwn (limited to 'doc/users') diff --git a/doc/plugins/calendar/alexander.mdwn b/doc/plugins/calendar/alexander.mdwn deleted file mode 100644 index b2894a90c..000000000 --- a/doc/plugins/calendar/alexander.mdwn +++ /dev/null @@ -1 +0,0 @@ -I use ikiwiki to organize information - projects, reading notes, outlines, todo lists, etc. diff --git a/doc/users/alexander.mdwn b/doc/users/alexander.mdwn new file mode 100644 index 000000000..b2894a90c --- /dev/null +++ b/doc/users/alexander.mdwn @@ -0,0 +1 @@ +I use ikiwiki to organize information - projects, reading notes, outlines, todo lists, etc. -- cgit v1.2.3 From 230dcd5ac111740baef22ba085d86ebc2594b28b Mon Sep 17 00:00:00 2001 From: "http://thewordnerd.info/" Date: Fri, 31 Oct 2008 19:06:26 -0400 Subject: --- doc/users/nolan.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/users/nolan.mdwn (limited to 'doc/users') diff --git a/doc/users/nolan.mdwn b/doc/users/nolan.mdwn new file mode 100644 index 000000000..64b405e60 --- /dev/null +++ b/doc/users/nolan.mdwn @@ -0,0 +1 @@ +Hi, I'm Nolan. I'll add more later. -- cgit v1.2.3