Further to the question I raised in this post http://drupal.org/node/1895180, I have run into issues with the output of the node.
In the comment I added at 5:01 January 22, I mentioned the idea of multiple data elements being displayed on the page. I have the sql that correctly pulls out the nodes of the right type that are tagged with the right taxonomy term, and joins the node data to them. My issue now is displaying these items on the page with the "one at a time" data.
I have added code to hook_view in my module, as far as I can tell I put data into $node->content. I have done this with the static field title, I am at a loss as to how I should add data to the '#items' of the field structure. The documentation mentions using hook_field_formatter_view but, how do I use that for a content_type that is defined in the UI? I would like to use a teaser view of the "sub nodes" in this situation with the titles and links all set up as they would normally be. I know could write the html into the content field directly but this does not seem to be the right way of doing things, especially as the "body" field also seems to be rendered by the field api at some time after this.
Any ideas would be great at this point as the documentation is not very clear around this area and I am drawing a blank :(