> So, if the editor pane has the following:
>
>   [phone:=(916) 123-4567]
>   [address:=123 main st, Davis, CA 95616]
>
>   The phone number for Tupelo is [[get(phone)]] and the address is
> [[get(address)]].
>
> The final page will look something like:
>
> The phone number for Tupelo is (916) 123-4567 and the address is 123
> main st, Davis, CA 95616.

I think that would be cool, but man. That is super ambitious.

A good midpoint (to start with) might be something like:

[DisplayMetadata()]
[MetaData("Key:=Value)]

The second could show up anywhere on a page, and it's contents
woundn't be displayed, the first would display all of the data set
within the second. Does that sound like a good starting point?

I think anything is better than nothing, but here are also my
at-first-glance concerns about the path your taking.

I think the [[get(phone)]] and [[get(adddress)]] detaches the data yet
another level/step from just typing crap in on some page, breaks the
idea of simple markup, and can makes revision stuff harder. IE, now
the contents aren't text, they are dependant on some other data some
other place. I also think it is a good tech-thing, but the average
non-cs joe might not 'get it' intuitively (and I think we should be as
intuitive as possible).

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.

- Far

On 4/20/07, Scott Beardsley <[EMAIL PROTECTED]> wrote:
> Far McKon wrote:
> > How are you doing the macro?
>
> I thought about this overnight and I think a "get" and "set" macro might
> work well. Eventually we might want to merge the set macro into the main
> regex code so we can use the [name:=value] syntax. The get macro could
> eventually turn into a powerful metadata query tool.
>
> >  Will it look to the end user like the
> > [something:= blarg] on the semantic wiki?
>
> The way Wikipedia sets metadata is to display all the metadata about the
> page in a little window on the bottom of the page. We could do the same
> or just not display it at all and use the "get" macro to retrieve that
> data wherever we want it.
>

>
> Scott
>
>
> _______________________________________________
> Sycamore-Dev mailing list
> [EMAIL PROTECTED]
> http://www.projectsycamore.org/
> https://tools.cernio.com/mailman/listinfo/sycamore-dev
>
_______________________________________________
Sycamore-Dev mailing list
[EMAIL PROTECTED]
http://www.projectsycamore.org/
https://tools.cernio.com/mailman/listinfo/sycamore-dev

Reply via email to