<component name = "programContentReader" extends = "Task" >
<interface>
<field id = "content" type = "node" />
<field id = "myfield" type = "string" />
</interface>
<script type = "text/brightscript" >
<![CDATA[
sub init()
m.top.functionName = "readcontent"
end sub
Function readcontent() as object
content = CreateObject("roSGNode", "ContentNode")
Stuff going on here to parse
dataItem = content.CreateChild("ContentNode")
dataitem.myfield= whatever is in parse
m.topcontent=content
end function
<component name="extendprogram" extends="ContentNode" >
<interface>
<field id ="myfield" type="string" />
</interface>
dataItem.addFields({myField: "some value here - string or array or dictionary"})