Mappify

Topic Maps to Topic Maps

This service converts Topic Maps syntaxes

Service Details

Service path http://ws.mappify.org/tm2tm/
Permits HTTP GET true
Permits HTTP POST false
Requires authentication false
Extra arguments ignored true

Arguments

Name Type Default Value Format Description
tm Required string An IRI which references a Topic Maps source
out Optional xtm string xtm, ctm, json, jtm, or jtm10

This parameter is optional if the client sends an Accept header with application/x-tm+ctm for Compact Topic Maps (CTM) 1.0 or application/x-tm+xtm for XML Topic Maps (XTM) 2.1 or application/x-tm+jtm for JSON Topic Maps (JTM) 1.1 or application/x-tm+jtm;version=1.0 for JSON Topic Maps (JTM) 1.0 or application/json for JSON (which is JTM 1.1 but served with media-type application/json).

callback Optional string JSONP callback function. This parameter is only evaluated if the requested media-type is application/json

Form

Examples

Converts a small topic map about Tom Waits from LTM to CTM.

http://ws.mappify.org/tm2tm/?tm=http://mappify.googlecode.com/svn/sandbox/tm2tm/waits.ltm&out=ctm

Same as above, but with a JSON callback (using JTM)

http://ws.mappify.org/tm2tm/?tm=http://mappify.googlecode.com/svn/sandbox/tm2tm/waits.ltm&out=json&callback=mappified

Converts a topic map about David Bowie from CTM to CTM (the included topic map templates.ctm is part of the the result).

http://ws.mappify.org/tm2tm/?tm=http://mappify.googlecode.com/svn/sandbox/tm2tm/bowie.ctm&out=ctm

Same as above, but with a JSON callback

http://ws.mappify.org/tm2tm/?tm=http://mappify.googlecode.com/svn/sandbox/tm2tm/bowie.ctm&out=json&callback=mappified

Same as above, using XTM 2.1 as output

http://ws.mappify.org/tm2tm/?tm=http://mappify.googlecode.com/svn/sandbox/tm2tm/bowie.ctm&out=xtm

Converts a TM/XML topic map to CTM

http://ws.mappify.org/tm2tm/?tm=http://psi.connectors.de/product/8974&out=ctm

Same as above, but in XTM 2.1

http://ws.mappify.org/tm2tm/?tm=http://psi.connectors.de/product/8974&out=xtm