]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/forum/Autotag_transient_pages/comment_1_7194ae3acb30bef38a7158bbfaaf22d2._comment
Merge remote-tracking branch 'smcv/pagestats-show'
[git.ikiwiki.info.git] / doc / forum / Autotag_transient_pages / comment_1_7194ae3acb30bef38a7158bbfaaf22d2._comment
1 [[!comment format=mdwn
2  username="smcv"
3  subject="comment 1"
4  date="2015-02-18T23:55:19Z"
5  content="""
6 I think I can see why this wouldn't work: ikiwiki calculates the set of
7 potential \"autofiles\" (automatically-created pages, normally in the transient
8 underlay), once, then creates them. It does not check after it has created
9 them to see whether it should create any more for some reason. I'm not sure
10 whether it should or not.
12 One possible workaround would be for your tag-extraction code to call
13 `IkiWiki::Plugin::tag::gentag` itself, at the same time it calls
14 `add_autofile` for its own automatically-created page.
16 Having metadata like tags in transient pages seems a somewhat precarious
17 situation anyway: your wiki is structurally different, depending whether the
18 transient pages have turned up or not. That doesn't seem ideal?
20 Whenever I've looked into making album extract metadata from photos, my idea
21 had been that it would generate \"real pages\" that get committed to git, so that
22 the metadata gets copied out of the opaque binary with no useful diff, that is not
23 necessarily even in the VCS (I use an underlay for photos), and into an editable
24 text format in git with useful diffs and history.
25 """]]