13
Ok to answer your first question. If I have this right:
Basically you want to take information from a module, using a block (as the hook) and have this displayed in the theme?
In theory yes it can be done and here is how (untested)
1. Get the sql statement to pull out the information that you require.
Then use the following line to add the information to the tempate metatag.
$GLOBALS['xoTheme']->addMeta( 'meta', 'keywords', $keywordvalues );
Hopefully 'xoTheme' will be in the global scope and usable at that time.
Try that and see if it works :)
Catz