diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2023-10-21 06:53:29 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2023-10-21 06:53:29 +0900 |
commit | 2c3a16587c5a7d25b7b1e927609781e60b748a66 (patch) | |
tree | 473cdbd275d877e51f5c1d54f4130f2fe4fa3edc | |
parent | 11bfc0b7c7ba43708c90f43ac3bd2e6f61d800ad (diff) | |
download | site-2c3a16587c5a7d25b7b1e927609781e60b748a66.tar.gz |
Reflect new photo metadata format
-rw-r--r-- | blog/pixml.md | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/blog/pixml.md b/blog/pixml.md index 81d8ac0..95ca1de 100644 --- a/blog/pixml.md +++ b/blog/pixml.md @@ -206,13 +206,14 @@ page @ : prev "41" curr "42" next "43" - post : @ : title "foobar" - picture - @ : filename "foo" - desc "pic of foo" - picture ... - ... - time ... + post + @ : title "foobar" + time ... + picture + @ : filename "foo" + desc "pic of foo" + picture ... + ... post ... ... ``` @@ -303,7 +304,7 @@ xsl:stylesheet @ : src "{$base}{@filename}.jpg" alt "{@desc}" title "{@desc}" - updated : xsl:value-of : @ : select "time" + updated : xsl:value-of : @ : select "@time" ``` The trickier part here is concatenating the entries together. |