About Askemos · design notes · documentation · news · download · On CD · thanks · forum · support
AskemosServer

MIMEConverter

Converting MIME types

(mime-cast to-type'from-type) =>converter
to-type
String; MIME type returned from converter
converter
String; MIME type of converter input
converter
function to convert from from-type to to-type The converter function should check whether the input is given as XML structure or plain string / bytevector data. The latter shall be treated as serialised form (as read from files).

Registering [[MIME]] converters

New MIME converters need to be registered with the converter selection system.

(register-mime-converter! to-type'from-type'converter)

Examples

implementation howto (german DTAUS)

The Converter Table

from to function
text/xml text/xml (and several XML based types) xml-parse
text/xml (and several XML based types) text/plain xml-format
text/xml text/html html-parse-permissive (up to html-prag)
multipart/mixed text/xml mime-format-multipart-output-element
text/xml zip-content (several zip based formats like ODF) zip-unpack-str
zip-content (several zip based formats) text/xml zip-pack
image/png image/svg+xml svg->png
text/wikipedia text/xml parse wiki syntax (slightly missnamed, derived from, but not exactly wikipedia syntax)
text/wikipedia text/xml serialise (some) html markup in the wikipedia-derived syntax




border
last modification: Sun, 09 Mar 2008 18:04:27 +0100
authors: jfw,
document identifier: A849640f672ed0df0958abc0712110f3c
delivered to public at Sat, 17 May 2008 14:56:48 +0200
short comments


rss

pdf :: context view

search



10 Mai 2008AskemosBibliograph
10 Mai 2008JerrysDreamAbstrac
09 Mai 2008ProgrammingLanguag
20 Apr 2008XSLT
11 Mar 2008CodingStyle
10 Mar 2008
09 Mar 2008MIMEConverter
BSD
07 Mar 2008XML
06 Mar 2008SRFI
01 Mar 2008RFC4810
01 Mar 2008RFC4998
01 Mar 2008KondratieffWerk
17 Feb 2008SystemRequirements
04 Jan 2008service-level
04 Jan 2008NameSpaceDSSSLinde
24 Jun 2004KommunikationsInfr
BOINC






Add


About Askemos · design notes · documentation · news · download · On CD · thanks · forum · support
Web Design by Schwill Dresden