[TxMt] Re: Patch to blogging bundle to enable custom fields

Allan Odgaard mailinglist at textmate.org
Sat Dec 6 11:39:25 UTC 2008

On 28 Nov 2008, at 23:58, Michael Tyson wrote:

> I'm not entirely sure if it's WP-specific - it's certainly not part  
> of the MT spec, from what I understand.
> WP provides for multiple values for the one key, which is why the  
> numeric ids are there; if no ID is present, WP will create a new  
> field, regardless of prior fields with the same key.
> I like your idea of using the x- prefix; perhaps a syntax like:
> x-«field»-«identifier»: «value»
> ..Would provide for the numeric ID?  Thoughts?

That sounds good, but I still do not understand the numeric identifier.

It sounds like this is the alternative to provide an array as value?

So instead of:

     x-tags: ( foo, bar )

I would do:

     x-tags-1: foo
     x-tags-2: bar

Is this correct? Can you give an example of keys where you supply  
multiple values?

More information about the textmate mailing list