On 4/20/07, Scott Beardsley <[EMAIL PROTECTED]> wrote: > Far McKon wrote: > > I think that would be cool, but man. That is super ambitious. > > Once the schema is designed properly (I think I'm close) it shouldn't be > too difficult. Famous last words, I know. IMHO, the most difficult part > of this type of project will be converting a site like daviswiki over to > it. Site's like the one I'm most interested in (sacwiki) will be easy > because there's not much content yet. > > > A good midpoint (to start with) might be something like: > > > > [DisplayMetadata()] > > I've already got a macro that does this. This is a macro that gets all > metadata in the DB for the current page and displays it as an unordered > list. > > > [MetaData("Key:=Value)] > > Yes, the is the "set" function I was talking about. I hope to have this > working soon. > > Do you have any ideas on how to make the markup cleaner? I've simplified > it as much as I can see possible. Basically you have two bits of data > the name and the value. Everything else is done for you (including type).
Yeah, I think the final version is plenty clean, I think the [[get()]] [[set()]] was really ambiguous, but I see now that was just a quick simplistic example, not your final proposed syntax for this. > But that's just it. The contents are still just text. When comparing two > versions it might be cleaner to prevent the "get" expansions. Instead > just show the differences between where the metadata is set. OK. That answers my concern. > > Overall I think this is nifty & useful stuff. Either way it is/should > > be easy to add some convince functions on top to make it easier or > > more intuitive if we need. > > Yes, indeed. I imagine this feature will spawn many other features. Sweet. Sounds well thought through. Keep me up to date on process. If you have a play-install on the net sometime, I'd love to get on and see what I can do, and help test it. - Far _______________________________________________ Sycamore-Dev mailing list [EMAIL PROTECTED] http://www.projectsycamore.org/ https://tools.cernio.com/mailman/listinfo/sycamore-dev