aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmcv <smcv@web>2015-02-18 19:55:25 -0400
committeradmin <admin@branchable.com>2015-02-18 19:55:25 -0400
commit6000934615187707bf138d447e324633a72a39fd (patch)
tree324b3fa239350c280032661ef40f689d4ee67038
parentf04611a6d0e4738810dfa5af63cb06a33b45a4f5 (diff)
downloadikiwiki-6000934615187707bf138d447e324633a72a39fd.tar
ikiwiki-6000934615187707bf138d447e324633a72a39fd.tar.gz
Added a comment
-rw-r--r--doc/forum/Autotag_transient_pages/comment_1_7194ae3acb30bef38a7158bbfaaf22d2._comment25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/forum/Autotag_transient_pages/comment_1_7194ae3acb30bef38a7158bbfaaf22d2._comment b/doc/forum/Autotag_transient_pages/comment_1_7194ae3acb30bef38a7158bbfaaf22d2._comment
new file mode 100644
index 000000000..3166c3979
--- /dev/null
+++ b/doc/forum/Autotag_transient_pages/comment_1_7194ae3acb30bef38a7158bbfaaf22d2._comment
@@ -0,0 +1,25 @@
+[[!comment format=mdwn
+ username="smcv"
+ subject="comment 1"
+ date="2015-02-18T23:55:19Z"
+ content="""
+I think I can see why this wouldn't work: ikiwiki calculates the set of
+potential \"autofiles\" (automatically-created pages, normally in the transient
+underlay), once, then creates them. It does not check after it has created
+them to see whether it should create any more for some reason. I'm not sure
+whether it should or not.
+
+One possible workaround would be for your tag-extraction code to call
+`IkiWiki::Plugin::tag::gentag` itself, at the same time it calls
+`add_autofile` for its own automatically-created page.
+
+Having metadata like tags in transient pages seems a somewhat precarious
+situation anyway: your wiki is structurally different, depending whether the
+transient pages have turned up or not. That doesn't seem ideal?
+
+Whenever I've looked into making album extract metadata from photos, my idea
+had been that it would generate \"real pages\" that get committed to git, so that
+the metadata gets copied out of the opaque binary with no useful diff, that is not
+necessarily even in the VCS (I use an underlay for photos), and into an editable
+text format in git with useful diffs and history.
+"""]]