// Retrieve the record details.
mg_news_get( id="#URL.id#" );
// Pass the active component down to the template.
component_xml = mg_news_xml;
component_fields = mg_news_fields;
component = StructCopy( mg_news );
#record_get.title#
#DateFormat(record_get.date_of,"yyyy mmm dd")#
#Replace(record_get.content,"#Chr(10)#","
","ALL")#
output = template; // Save into a variable.
output = Replace(output,"[WEBSITE]","http://fluidinc.net","ALL");
output = Replace(output,"[TITLE]","What's New at Fluid?","ALL");
output = Replace(output,"[CONTENT]","#content#","ONE");
#output#