Article Templates#

TECHNICAL DISCUSSION

This serves mainly as a way to jog Joe Ruggeri's memory on how article templates are structured and rendered.

Everything begins with gen_art.pbs in the Templates dirdectory.

This template calls a macro, article_render_content.pbo, which checks for special conditions to render the correct article objects for the article.

In the templates/objects folder is article2001.pbo, which is the default article object, used for 99 percent of all stories.

The other article objects and their correspoding templates are:

  • article2001a.pbo -- "A" = LONGFORM ARTICLE TEMPLATE
  • article2001b.pbo -- "B" = PodCasts Template
  • article2001c.pbo -- "C" = Photoblogs Template (not fully implemented)
  • article2001d.pbo -- "D" = 'Case Unsolved' podcasts

Letters in each of the podcasts name correspond to a template assigned to that letter in the CMS.