pipeline:convertImageURLToTranscoder

Purpose

Rewrites all img and logo URLs in a page to be routed through the Media Access Proxy (MAP). The operation will calculate the most appropriate transcoding rule to use, based on the calling device characteristics.

Attributes

Attribute Description Type Default Options Use
server The address of the proxy server xs:anyURI none    required 

Examples

<?xml version="1.0" encoding="UTF-8"?>
<canvas layoutName="/sample_layout.mlyt">
  <region name="content" xmlns:pipeline="http://www.volantis.com/xmlns/marlin-pipeline"
    xmlns:urid="http://www.volantis.com/xmlns/marlin-uri-driver">
    <pipeline:convertImageURLToTranscoder server="http://localhost:8080/map/ics">
      <urid:fetch href="test.xdinc"/>
    </pipeline:convertImageURLToTranscoder>
  </region>
</canvas>

The test.xdinc file should contain the following code.

<?xml version="1.0" encoding="UTF-8"?>
<p>old logo: <img url="/images/volantis.gif"/></p>

Related topics