Changeset 5705 for cats


Ignore:
Timestamp:
10/10/14 11:42:58 (10 years ago)
Author:
Menzo Windhouwer
Message:

M mod-ISOcat-site/site/clarin/vlo/mapping/facetConcepts.acc

  • get it to work

M mod-ISOcat-site/module.xml

  • skip cookies
Location:
cats/ISOcat/trunk/mod-ISOcat-site
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cats/ISOcat/trunk/mod-ISOcat-site/module.xml

    r5702 r5705  
    392392        </rule>
    393393        <rule>
    394                 <match>ffcpl:/clarin/vlo/mapping/facetConcepts.xml</match>
     394                <match>ffcpl:/clarin/vlo/mapping/facetConcepts.xml(.*)</match>
    395395                <to>active:sloot.accessor+operand@ffcpl:/site/clarin/vlo/mapping/facetConcepts.acc+representation@data:text/plain,xml</to>
    396396        </rule>
  • cats/ISOcat/trunk/mod-ISOcat-site/site/clarin/vlo/mapping/facetConcepts.acc

    r5702 r5705  
    11<?xml version="1.0" encoding="UTF-8"?>
    2 <accessor debug="false">
     2<accessor debug="true">
    33    <name>/clarin/vlo/mapping/facetConfig.xml</name>
    44    <descr>Turn the VLO facet mapping in some nice HTML.</descr>
     
    66                <name>representation</name>
    77                <descr>the profile to check</descr>
     8                <type canonical="true">string</type>
    89                <source>
    910                        <nvp/>
     
    4344                                <type>copy</type>
    4445                                <operand>curi:var:conf</operand>
     46                                <target>this:response</target>
     47                        </instr>
     48                        <instr>
     49                                <type>cast</type>
     50                                <operand>this:response</operand>
     51                                <operator>
     52                                        <cast>
     53                                                <mimetype>application/xml</mimetype>
     54                                        </cast>
     55                                </operator>
    4556                                <target>this:response</target>
    4657                        </instr>
     
    148159                                <target>this:response</target>
    149160                        </instr>
     161                        <instr>
     162                                <type>cast</type>
     163                                <operand>this:response</operand>
     164                                <operator>
     165                                        <cast>
     166                                                <mimetype>text/html</mimetype>
     167                                        </cast>
     168                                </operator>
     169                                <target>this:response</target>
     170                        </instr>
    150171                </else>
    151172        </choose>
     
    153174    <exception>
    154175        <debug/>
    155         <trace>ffcpl:/trace/clarin-ws-cmd-core.profile.exception.xml</trace>
     176        <trace>ffcpl:/trace/clarin-vlo-mapping.facetConcepts.exception.xml</trace>
    156177        <!--<throw/>-->
    157178        <response>
    158179            <fieldset style="border: red dotted 1px;padding:1em;">
    159                 <legend style="font-weight:bold;">The CMD profile couldn't be accesses!</legend>
    160                 Maybe the CMD ComponentRegistry is down? If this keeps on happening please contact: <a href="mailto:Menzo.Windhouwer@mpi.nl">Menzo Windhouwer</a>.
     180                <legend style="font-weight:bold;">The facetConcepts.xml couldn't be accesses!</legend>
     181                If this keeps on happening please contact: <a href="mailto:Menzo.Windhouwer@mpi.nl">Menzo Windhouwer</a>.
    161182            </fieldset>
    162183        </response>
    163184    </exception>
    164185    <response>
    165         <debug>ffcpl:/trace/clarin-ws-cmd-core.profile.response.xml</debug>
     186        <debug>ffcpl:/trace/clarin-vlo-mapping.facetConcepts.response.xml</debug>
    166187        <mime>text/html</mime>
    167188    </response>
Note: See TracChangeset for help on using the changeset viewer.