[Yanel-dev] [Bug 5624] New: allow to configure mime-type etc. per view

bugzilla-daemon at bugzilla.wyona.com bugzilla-daemon at bugzilla.wyona.com
Sat Oct 27 09:43:21 CEST 2007


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=5624

           Summary: allow to configure mime-type etc. per view
           Product: Yanel
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: General
        AssignedTo: michael.wechner at wyona.org
        ReportedBy: josias.thoeny at wyona.org
         QAContact: yanel-development at wyona.com


it should be possible to configure mime-type, xslts, and serializer properties
per view in the rc.
e.g. (proposal):

<yanel:custom-config>
  <views>
    <view id="default">
      <mime-type>text/html</mime-type>
      <xslt>/xslt/global.xsl</xslt>
      <serializer key="HTML_TRANSITIONAL">
        <omit-xml-declaration>yes</omit-xml-declaration>
        <doctype-public>-//W3C//DTD XHTML 1.0 Transitional//EN</doctype-public>
        
<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</doctype-system>
     </serializer>
     </view>
    <view id="source">
      <mime-type>application/xml</mime-type>
    </view>
    <view id="xhtml">
      <mime-type>application/xhtml+xml</mime-type>
      <xslt>/xslt/global.xsl</xslt>
      <serializer key="XHTML_STRICT"/>
    </view>
    <view id="test">
      <mime-type>text/html</mime-type>
      <xslt>/xslt/viewtest.xsl</xslt>
      <xslt>/xslt/global.xsl</xslt>
    </view>
  </views>
</yanel:custom-config>



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the Yanel-development mailing list