Publishing non-standard technology Web site content

If you want to publish to a Web site that is not a JSP or ASP.NET Web site, but PHP, for example, transform your TCDL tags at request time rather than at publish time, and implement a transformation from TCDL to your target language at request time.

Procedure

  1. Create a Java class that transforms all TCDL tags (both built-in tags and your own custom tags) into the language of your Web site.
  2. If you created any custom TCDL tags (which must take the form of a Java class that extends com.tridion.tcdl.TagRenderer), add their tag definitions to the Storage Layer configuration file, cd_storage_conf.xml.
  3. Open Content Manager Explorer.
  4. Open each Component Template that renders content intended for Web service consumption, and set its Output Format property the values REL. REL stands for Render Engine Language.
  5. In the same Component Template, set the Component Presentations based on this Component Template will be to the value Published as a Dynamic Component.
  6. Save and close the Component Template.
  7. Repeat the process for each Component Template.
  8. Open each of the Publication Targets to which you publish your rendered content, and set its Target Language property to REL.
  9. Save and close the Publication Target.
  10. Repeat the process for each Publication Target.

Results

Your TCDL tags are now published 'as is', and at request time, your custom Java class transforms the TCDL tags to the language of your Web site.