[NUT-devel] [RFC][PATCH] recursive metadata and language & contry for metadata

ods15 at ods15.dyndns.org ods15 at ods15.dyndns.org
Wed Sep 24 08:02:09 CEST 2008


On Wed, Sep 24, 2008 at 12:03:59AM +0200, Luca Barbato wrote:
> Michael Niedermayer wrote:
> > Hi
> > 
> > Patch below would add $subj
> > 
> > comments and alternative suggestions are welcome!
> > 
> > Index: nut.txt
> > ===================================================================
> > --- nut.txt	(revision 660)
> > +++ nut.txt	(working copy)
> > @@ -970,6 +970,29 @@
> >          might be less pretty.
> >      Note: Nonstandard fields should be prefixed by "X-".
> >  
> > +    When there are multiple tags with the same name but different values,
> > +    then each except the first MUST have a sequential number starting at 2
> > +    appended, for example
> > +    "Author", "Author2", "Author3", ...
> > +    This is required to avoid ambiguity when info packets are repeated.
> > +
> 
> I'm not sure if it's likely to have a field with $number-$text or 
> $text$number.
> 
> Since we have already the idea of prefixes I'd put the numbering as 
> prefix so
> 
> 1-Author
> 2-Author
> 
> 1-X-Flavour
> 2-X-Flavour

I preffer Michael's idea, due to easy sorting.

I'd rather not have escaping, it unnecessarily complicates...

- ods15



More information about the NUT-devel mailing list