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 Tue, 06 Jan 2009 15:11:22 +0100
short comments


rss

pdf :: context view

search



27 Dez 2008ProjectsOnThePlate
27 Dez 2008JKomG
27 Dez 2008SystemRequirements
27 Dez 2008SQLITE
26 Dez 2008FanOut
26 Dez 2008MIME
NetBSD
NOTE
02 Mai 2006AskemosTopMenu
18 Nov 2008StorageAdaptor
18 Nov 2008PStoreStorageAdapt
18 Nov 2008OperationTips
15 Nov 2008PCRE
04 Nov 2008ProgrammingLanguag
09 Sep 2008RelatedProjects
23 Jul 2008ModuleStructure05
17 Jun 2008NEWS
17 Jun 2008HTML
17 Jun 2008ACM
22 Mai 2008HTTP
22 Mai 2008BOSH
10 Mai 2008AskemosBibliograph
10 Mai 2008JerrysDreamAbstrac
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
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