Ok, I'm looking at this from the perspective of trying to improve the xmlprc plugin, from
this post.
I have to say that I am really confused...
So, what we have is a metadesc plugin which has user defined "keywords" in the configuration, and then change the output of a page based on if those keywords exists (ie, it adds the meta-description). So this means keywords are pre-defined in for the entire blog...
Right?
And dolbex, your problem is that you want to add "keywords" at a post level... Or at least be able to update the keyword list when a post is added, right?
So one solution is keywords added to a post could be appended to the configuration string? (note, this is really likely to slow down your blog in the long run, since every post would be parsed though the ever growning list of keywords...)
Or does it make more sense to try to roll this into the freetag plugin, so that users can define a small list of standard words which are always parsed for metadesc, but so that users can also define tags which are used in the metadesc?
I think you could add a hook to the freetags plugin which just returns the tags for an entry (using getTagsForEntry). Then metadesc can call the hook, and toss those tags into the keyword list.
Then, from an xmlrpc perspective, we just have to add the keywords to the freetags plugin (which is actually already happening).