[Citadel Development] Re: webcit: Splitting vcard_edit.c into templates not too trivial
Don't spend too much time on the vCard editor. I will probably rewrite it in the not too distant future.
[Citadel Development] Re: webcit: Splitting vcard_edit.c into templates not too trivial
Sure, there's a ton of that kind of work that needs to be done. I do it when I'm already in there somewhere and notice little things that need adjusting, but having someone around to focus on it would be great.
[Citadel Development] webcit: Splitting vcard_edit.c into templates not too trivial
I tried to extract vcard_edit into templates this weekend. I wanted to do it in a way that gets us tokens like VCARD_FIRSTNAME, VCARD_LASTNAME etc. so they can easily be used to populate a template form e.g. vcard_edit.html. It doesn't seem to be so easy, it seems I'd have to RegisterNamespace for every single one of those tokens and then register callback functions to extract that information into a token one by one? The function that extracts all VCard information in do_edit_vcard() couldn't be changed to populate all those tokens in one run, because RegisterNamespace is only available in an InitModule, correct? My C really isn't up to this, I think. I don't know how i'd pre-populate a VCard data structure in memory and then extract each token from it through a callback as requested in RegisterNamespace. I think I'll drop this -- is there anything else I could help with? I can clean up HTML once things move closer to release, if that helps.
[Citadel Development] Commit log to refs/heads/master
Files: 5997fde089dc30134d802f5759de77dee0fc79bb citadel/modules/rssclient/serv_rssclient.c branches config description git-daemon-export-ok HEAD hooks info objects packed-refs refs add additional chars for shorter url detection branches config description git-daemon-export-ok HEAD hooks info objects packed-refs refs fix some warnings