Tridion 2009 SP1 Publish HTML Fragment DCP to file store

In a client's SDL Tridion 2009 SP1 implementation, I'm looking to publish some DCPs as HTML fragments onto the file store. This is because a current implementation uses ASCX components on the file store and we need to replace this functionality with HTML fragments as the output.

Looking in the 2009 SP1 Content Delivery Implementation Manual, there only appear to be 4 configuration settings that can be used within the Publication -> Dcp configuration node within the cd_broker_conf.xml file. These are:

  • Jsp
  • Asp
  • Xml
  • Txt

Is it possible to store DCP HTML fragments on the file store and if so, which config setting should be chosen?

I understand that I could just store these as .txt files, but I'd much prefer them to be .html files.


Solution 1:

Yes this is possible, but as you mention in your post, You will need to just use TXT as your output format. These options are design to support the 3 different ways of handling DCP content.

  1. ASCX and JSP need to get resolved so any code will get executed (dynamic component links etc)
  2. XML DCPs can optionally be transformed using a Dynamic Component Template in the form of an XSLT at request time
  3. All other DCPs are handled as plain text as the can't contain any server side code.

Can I ask why you don't want to use the TXT type?