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

Luca Barbato lu_zero at gentoo.org
Wed Sep 24 00:03:59 CEST 2008


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

and so on.

lu

-- 

Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero




More information about the NUT-devel mailing list