Quote:
Originally Posted by rubeus
Thats easy: write a class offering high level methods and hide the basic stuff in protected methods. Publish it here so that everyone can access the data more easily.
|
My argument in favor of having such a new function in the Plugin API was in fact to
avoid duplicating the same code in several plugins.
Quote:
The builtin plugin API should be stable and not change in every version just because someone thinks of a new interesting thing you can add to it.
|
Agreed. In fact, I was suggesting adding a new function, not changing existing one.
Anyway, if there is consensus my proposal is unwarranted, no problem, feel free to copy the code above (or modify it with bk.getmetadataxml()), in case you need to extract the value of a metadatum.