-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi, Tobi
As I said, change parse_yaml() in Spoon is a big thing, and I think
we should discuss with ingy's first before making change into Spoon.
He had
lots of ideas ongoing and may be neglecting Kwiki from time to time.
Besides, changing parse_yaml() also requres all Kwiki admin to update
their config.yaml, that's considerably harmful, too. Besides, YAML.pm is
also known to be buggy sometimes.
Ingy, what's in your mind about refactoring prase_yaml() ? Should we
change the format of config.yaml into valid YAML ?
Cheers,
Kang-min Liu
On Nov 14, 2005, at 2:21 AM, Tobias Oetiker wrote:
Hi Liu,
apropos yaml, the reason I switched was that the parser in Spoon
does not actually parse propper yaml ... I tried to put in some
default page content ... that what got me started in looking at the
parsing ...
default_content: |-
.pageinfo
Author: Your Name
Contact: mailto:[EMAIL PROTECTED]
.pageinfo
= Title =
Some Content
once I had switched to YAML i found that the yaml parser in kwiki
reads
list_name:
- First
- Second
- Last
wheras this should read
list_name:
- First
- Second
- Last
to satisfy YAML ...
so if it is not a full YAML parser then it would at least be great
if it parsed a valid subset of YAML, especially also multi-line
content ...
any ideas ?
tobi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFDeIGFCSIfi0PaMDQRAmdRAKC3hyA/QS0tKhZZ82uEBQNKYM7HMwCfeuQZ
Nzu8Yqmcy8zBDfxx2UygqPY=
=cj5V
-----END PGP SIGNATURE-----