- [[!meta author="""smcv"""]]
- [[!meta authorurl="""http://ikiwiki.info/ikiwiki.cgi?page=users%2Fsmcv&do=goto"""]]
- [[!meta title="""change to todo/auto-create_tag_pages_according_to_a_template todo/autoindex_should_use_add__95__autofile todo/transient_in-memory_pages on ikiwiki"""]]
- [[!meta permalink="http://ikiwiki.info/recentchanges/#change-9d26a72468fad69d633875b4ffb4aff8abd80023"]]
- <div id="change-9d26a72468fad69d633875b4ffb4aff8abd80023" class="metadata">
- <span class="desc"><br />Changed pages:</span>
- <span class="pagelinks">
- <a href="http://git.ikiwiki.info/?p=ikiwiki;a=blobdiff;f=doc/todo/auto-create_tag_pages_according_to_a_template.mdwn;h=e065c4a3d6646cd4ede0ec96e93bd32d8f4f3a55;hp=676e2bc00dba7a139a1d606da79a46c46104c257;hb=9d26a72468fad69d633875b4ffb4aff8abd80023;hpb=98d0883c8949e6cde8db019bb282d5fa815ffc1a" title="diff" rel="nofollow">[[diff|wikiicons/diff.png]]</a><a href="http://ikiwiki.info/ikiwiki.cgi?page=todo%2Fauto-create_tag_pages_according_to_a_template&do=goto" rel="nofollow">todo/auto-create tag pages according to a template</a>
- <a href="http://git.ikiwiki.info/?p=ikiwiki;a=blobdiff;f=doc/todo/autoindex_should_use_add__95__autofile.mdwn;h=64f81c82e3970ea09784097d39be481fd61d16b0;hp=517567e583fb5a9d3489419f6f50c208fcc6bf32;hb=9d26a72468fad69d633875b4ffb4aff8abd80023;hpb=98d0883c8949e6cde8db019bb282d5fa815ffc1a" title="diff" rel="nofollow">[[diff|wikiicons/diff.png]]</a><a href="http://ikiwiki.info/ikiwiki.cgi?page=todo%2Fautoindex_should_use_add__95__autofile&do=goto" rel="nofollow">todo/autoindex should use add_autofile</a>
- <a href="http://git.ikiwiki.info/?p=ikiwiki;a=blobdiff;f=doc/todo/transient_in-memory_pages.mdwn;h=5dbbe4f8271b2d6519363618e1f2b50e8923af33;hp=9808ffdfe476a9ed70e54a7e00748103e21e0f65;hb=9d26a72468fad69d633875b4ffb4aff8abd80023;hpb=98d0883c8949e6cde8db019bb282d5fa815ffc1a" title="diff" rel="nofollow">[[diff|wikiicons/diff.png]]</a><a href="http://ikiwiki.info/ikiwiki.cgi?page=todo%2Ftransient_in-memory_pages&do=goto" rel="nofollow">todo/transient in-memory pages</a>
- </span>
- <span class="desc"><br />Changed by:</span>
- <span class="committer">
- <a href="http://ikiwiki.info/ikiwiki.cgi?page=users%2Fsmcv&do=goto" rel="nofollow">smcv</a>
- </span>
- <span class="desc"><br />Commit type:</span>
- <span class="committype">git</span>
- <span class="desc"><br />Date:</span>
- <span class="changedate"><span class="relativedate" title="Sun, 14 Nov 2010 14:19:46 -0400">14:19:46 11/14/10</span></span>
- <span class="desc"><br /></span>
- </div>
- <span class="revert">
- <a href="http://ikiwiki.info/ikiwiki.cgi?rev=9d26a72468fad69d633875b4ffb4aff8abd80023&do=revert" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
- </span>
- <div class="changelog">
- point to my 'transient' branch<br />
- </div>
- <div class="diff">
- <pre>
- diff --git a/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn b/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn
- index 676e2bc..e065c4a 100644
- --- a/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn
- +++ b/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn
- @@ -262,4 +262,6 @@ other pages claim it as an alias. --[[chrysn]]
-
- I agree with [[chrysn]]. In fact, is there any good reason that the core tag plugin doesn't do this? The current usability is horrible, to the point that I have gone 2.5 years with Ikiwiki and haven't yet started using tags. -- [[Eric|http://wiki.pdxhub.org/people/eric]]
-
- +> See [[todo/transient in-memory pages]] for progress on this. --[[smcv]]
- +
- [[!tag done]]
- diff --git a/doc/todo/autoindex_should_use_add__95__autofile.mdwn b/doc/todo/autoindex_should_use_add__95__autofile.mdwn
- index 517567e..64f81c8 100644
- --- a/doc/todo/autoindex_should_use_add__95__autofile.mdwn
- +++ b/doc/todo/autoindex_should_use_add__95__autofile.mdwn
- @@ -1,2 +1,4 @@
- `add_autofile` is a generic version of [[plugins/autoindex]]'s code,
- so the latter should probably use the former. --[[smcv]]
- +
- +> See [[todo/transient in-memory pages]] for progress on this. --[[smcv]]
- diff --git a/doc/todo/transient_in-memory_pages.mdwn b/doc/todo/transient_in-memory_pages.mdwn
- index 9808ffd..5dbbe4f 100644
- --- a/doc/todo/transient_in-memory_pages.mdwn
- +++ b/doc/todo/transient_in-memory_pages.mdwn
- @@ -18,3 +18,26 @@ This would also be useful for autoindex, as suggested on
- One refinement I'd suggest is that if the transient page is edited,
- its transient contents are evaluated and used as the initial
- content for the edit box; after that, it'd become a static page. --[[smcv]]
- +
- +--------------------------
- +
- +[[!template id=gitbranch branch=smcv/transient author="[[smcv]]"]]
- +[[!tag patch]]
- +
- +I had a look at implementing this. It turns out to be harder than I thought
- +to have purely in-memory pages (several plugins want to be able to access the
- +source file as a file), but I did get this proof-of-concept branch
- +to write tag and autoindex pages into an underlay.
- +
- +This loses the ability to delete the auto-created pages (although they don't
- +clutter up git this way, at least), and a lot of the code in autoindex is
- +probably now redundant, so this is probably not quite ready for merge, but
- +I'd welcome opinions.
- +
- +Usage: set `tag_underlay` and/or `autoindex_underlay` to an absolute path,
- +which you must create beforehand. I suggest *srcdir* + `/.ikiwiki/transient`.
- +
- +Refinements that could be made if this approach seems reasonable:
- +
- +* make these options boolean, and have the path always be `.ikiwiki/transient`
- +* improve the `remove` plugin so it also deletes from this special underlay
- </pre>
- </div>
- <!-- 9d26a72468fad69d633875b4ffb4aff8abd80023 -->
|