#### This file: a.k.a. Inetdbase:Mimemap #### #### !Boot.Resources.!Internet.files.mimemap #### #### and http://www.timil.com/riscos/mimemap #### #### v. 20100501a - see end of file #### #### This file is known to work with RISC OS 5.16 but install it #### #### at your own risk. No warranty is given AT ALL that it will do #### #### things the way you want them to be done. Near the end of this #### #### file is the catch-all entry (which begins */*). You may not #### #### want unknown filetypes to be interpreted as text. As it #### #### happens, I do and this is MY file! #### #### If you make changes I suggest you add your own note which may #### #### help identify future problems which I hope you don't have. #### #### See History (at the END of this file) for its full story. #### #### This is my file 'mimemap' in use on RISC OS 5.16 in #### #### !Boot.Resources.!Internet.files #### #### I aim to keep this 'mimemap' as up-to-date as possible and #### #### therefore maintain this www copy as it is on my own machines. #### #### It may not be not perfect but it works. ;-) #### #### Tim Hill's comments appear ####between####. #### #### Feedback to < t i m (at) t i m i l . c o m > please. #### #### I welcome suggestions for alterations and additions. T.#### #------------------------------------------------------------------------ # FILE FORMAT: # Lines starting with a '#' are comments, blank lines are ignored. # # A '*' is a wildcard before or after the / or for the RISC OS file type # The first match that does not map to a wildcard is the one that is used. # # If the file type name is not known but a hex value is given that type # is used, otherwise it is not considered a match. # # x- (or X-) denotes an unofficial non-IANA mapping, and should come after # the 'official' types in that group. # # The eight IANA MIME type groupings are: # application/ audio/ image/ message/ model/ multipart/ text/ video/ # # Some versions of RISC OS may not support all the attributes in particular # Mac filetypes (enclosed between ""). # (There are not v. many of these, and they have been commented out # for the time being to avoid trouble.) # # Arranged IANA subtypes in alphabetical order. Non-IANA subtypes are essentially # guesswork, so grouped very roughly by alphabet or topic. # # MimeMap File Format used is: # MIME type/subtype RISC OS name Hex Extensions #----------------------------------------------------------------------- #### The following segment added per !DigitalCD by Tim Hill 2008-01-21. #### #### Ogg amendments to this section 2008-09-23 (thanks to Ivo). #### #### Some lines are commented out as they already appear further down #### #### this file. #### # required for a correct mapping of internet radio playlists # audio/x-mpegurl M3UFile aa7 .m3u # audio/x-scpls pls aa8 .pls # required for a correct mapping of internet radio streams and PC files audio/x-ogg Vorbis 1a8 .ogg audio/ogg Vorbis 1a8 .oga .ogg .spx audio/x-vorbis Vorbis 1a8 application/x-ogg Vorbis 1a8 #application/ogg Vorbis 1a8 #audio/mpeg AMPEG 1ad .mpa .mp3 "MP3\00ISO\00" audio/x-mpeg AMPEG 1ad #### Next line has .mp3 appended so !Rename uses .mp3 rather than .mpa #### audio/mp3 AMPEG 1ad .mp3 audio/flac FLAC 1cf .flac #### The preceding lines added per !DigitalCD by Tim Hill 20080112 #### application/applefile MacForks bd8 application/hyperstudio HStudio b44 .stk .stak application/msword MSWord ae6 .doc .dot .wiz application/ogg Vorbis 1a8 .ogx application/octet-stream Data ffd .bin .exe application/pdf PDF adf .pdf application/postscript PoScript ff5 .ps .postscript .eps application/postscript EPS 808 .eps application/vnd.lotus-1-2-3 Worksheet db0 .wks .wk1 .wk3 .wk4 # application/vnd.lotus-1-2-3 Worksheet db0 "LWKS" application/vnd.ms-excel Excel ba6 .xls .xlt .xlm .xld .xla .xlc .xlw .xll application/vnd.ms-powerpoint mspower 191 .ppt .pot .ppa .pps .pwz application/xml xml f80 .xml application/zip Archive a91 .zip # only /riscos of the following application subtypes is in the IANA registry, # and that one doesn't seem very helpful as it stands! Perhaps it was intended # for a series such as: # application/riscos Sprite ff9 .spr # application/riscos DrawFile aff .aff # comments anybody? -GML 030306 application/x-vnd.ms-access msaccess 189 .mdb .mda .mde application/x-arcfs ArcFSArc 3fb .arc application/x-spark Archive ddc .spk .lha .arj .lzh .hqx .uu .zoo application/x-compress Archive ddc .z .Z application/x-gzip GZip f89 .gz .gzip application/x-tar Tar c46 .tar application/x-tzx TZX 11e .tzx application/x-gtar Tar c46 .tgz .tar.gz application/x-bbc-basic Basic ffb application/x-bbctape BBCtape 11d .tap application/x-chat Chat 17a .cha .chat application/x-nschat Chat 17a .nsc application/x-director Director ae3 .dxr .dcr .dir application/x-dvi DVI ce4 .dvi application/x-firework Firework bdf .fwk application/x-firewk Firewk c1d .fwt application/x-internetsetup Install 2E1 .ins application/x-isoimage IsoImage df6 .iso application/x-java-vm Java ae4 .class application/x-latex LaTeX 2a8 .ltx .latex application/x-tex TeX 2a7 .tex # ?? application/x-tex TeX ce5 .tex application/x-texfont TeXFont 2ac .tfm application/x-nc-smartcard SCBBlk f94 .scb application/x-nc-download NCDown f93 .ncd application/x-impression ImpDoc bc5 .imp application/x-impression-ddf DDF 707 .ddf application/x-ovationpro OvnPro b27 .dpd application/x-ovationpro-cscript OvPScrpt b24 .csc application/x-ovationpro-ddl OvPDDL b25 .ddl application/x-ovationpro-stylesheet OvPStyle b26 .dps application/x-perl Perl 102 .pl .perl application/x-shockwave-flash Flash 188 .swf application/x-spectrum snapshot ba1 .sna application/x-spectrum-z80 z80 ba0 .z80 application/x-textease TextEase b8b .te application/x-textease-temp TE_temp b8a .tet application/x-te-branch TE_Branc a98 .tb application/x-te-branch-temp TE_BranT a97 .tbt application/x-te-data TE_Base ab1 .td application/x-te-data-temp TE_BaseT aaf .tdt application/x-te-pages Pages b3f .pat application/x-te-pages-temp Pages_temp b3e .pag application/x-te-paint TE_Paint ab6 .tn application/x-te-paint-temp TE_PaitT ab7 .tnt application/x-te-presenter TE_Pres aa2 .tp application/x-te-presenter-temp TE_PresT aa1 .tpt application/x-te-table TE_Table ab3 .ts application/x-te-table-temp TE_Tab_t ab2 .tst application/x-te-turtle TE_Turtl a9a .tt application/x-te-turtle-temp TE_TurtT a99 .ttt application/x-viewpoint Database c27 .vpf .dp1 application/x-wad WAD 16c .wad application/x-zcode Z-Code 11a .z1 .z2 .z3 .z4 .z5 .z6 .z7 .z8 application/x-riscosobey Obey feb .oby # application/riscos * * audio/ac3 AC3Audio a8f .ac3 audio/basic AudioWrk bd6 .snd audio/L16 WaveForm fb1 .wav .l16 .AIFF audio/mpa AMPEG 1ad .mpa audio/mpeg AMPEG 1ad .mp1 .mp2 .mp3 # audio/mpeg AMPEG 1ad "MP3\00ISO\00" "MPEG" # none of the following audio types are in the IANA registry # omitted the x- on the first 3 audio/avi AVI fb2 .wve .voc .anm .dl .avi audio/ulaw ULaw 140 .au audio/midi MIDI fd4 .mid .kar .midi .rmi audio/x-midi MIDI fd4 .mid .kar .midi audio/x-aiff AIFF fc2 .aif .aifc audio/x-pn-realaudio RealAud f88 .ra .rpm .ram # guessing the name of next one: (not put in !Boot) audio/x-mod Mod cb6 .mod # required for a correct mapping of internet radio playlists (!Stream) audio/x-mpegurl M3UFile aa7 m3u .p3u audio/x-scpls pls aa8 .pls # required for a correct mapping of PC tracker files extensions audio/x-fasttrack FstTk 1af .xm # ?? audio/x-fasttracker C03 c03 .xm audio/x-impulsetrack ImpulsTk 1ae .it # ?? audio/x-impulsetracker C04 c04 .it audio/x-screamtrack ScreamTk 1b0 .s3m # audio/x-s3m C02 c02 .s3m audio/x-pctrack PCTk 1b1 .dsm .fim audio/x-mtm 001 001 .mtm .ptm audio/x-ultratracker C05 c05 .ult audio/x-gsm GenSound f96 .gsm # this one appears in audio/avi fb2 so commented: # audio/* GenSound f96 .voc image/cgm CGMeta b2b .cgm image/gif GIF 695 .gif image/g3fax TIFF ff0 .fax .g3 image/jpeg JPEG c85 .jpg .jpe .jff .jif .cmp .jpeg .jfif image/png PNG b60 .png image/prs.btif TIFF ff0 .btf .btif image/tiff TIFF ff0 .tif .cmy .cpt .sep .tiff image/vnd.adobe.photoshop PhotoShp F98 .psd .pho .pts image/vnd.dxf DXF dea .dxf image/vnd.microsoft.icon ICO 6a5 .ico # none of the following image types are in the IANA registry image/x-clear Clear 690 .clr image/x-ms-bmp BMP 69c .bmp .dib .vga image/x-rle BMP 69c .rle .rl4 .rl8 image/x-bitmap XBitMap b61 .bm .bmj image/x-xbitmap XBitMap b61 .xbm image/x-xpixmap XPixMap 301 .xpm image/x-pjpeg JPEG c85 .pjpg .pjpeg # Next 2 for !Netsurf; includes above duplicated without the x- to suit: image/pjpeg JPEG c85 .pjpg .pjpeg image/x-mng MNG f83 .mng image/x-photo-cd PhotoCD be8 .pcd .pci image/x-irlam Irlam 69b .irl # next one is for !Netsurf; assume .jng is the corresponding extension image/x-jng JNG f78 .jng image/x-pineapple Pineappl 696 .pin .pineapple image/x-tga Targa 69d .tga .vda .icb .vst .bst image/x-amigaiff AmigaIFF 693 .iff .ham .lbm .hbr image/x-macpaint MacPaint 694 .mac .pnt .macpaint image/x-pict2 Pict2 fd5 .pct image/x-pcx PCX 697 .pcx .pcc .dcx image/x-psion PsionPic b1e .psi image/x-pbmplus PBMPlus 69e .pbm .pgm .pnm .ppm image/x-sunrastr SunRastr fc9 .ras .sun image/x-mtv MTV 699 .mtv image/x-gem IMG 692 .gem .img image/x-degas Degas 691 .dgs .pi1 .pi2 .pi3 .pc1 .pc2 .pc3 image/x-colorix ColoRIX 6a2 .rix .sce .scf .sci .scx image/x-qrt QRT 698 .qrt image/x-adobeillustrator AdobeIll b2d .ai image/x-corelexchange CorelXch b2e .cmx image/x-cadsoft CadSoft 69a .cad image/x-hpgl HPGL cae .hgl .plt image/x-os2metafile OS2Met b2c .met image/x-lotuspic LotusPIC ccf .pic image/x-ms-meta WinMeta b2f .wmf image/x-wordperfgraph WPG 6a6 .wpg image/svg SVG aad .svg image/x-svg SVG aad .svg image/x-riscos-sprite Sprite ff9 .spr image/x-riscos-draw DrawFile aff .aff # this duplicate of above covers a !Netsurf requirement: image/x-drawfile DrawFile aff .aff message/rfc822 Marcel b86 .mbox # message/* Text fff .msg .message # the above line causes pluto to attach all test files as .msg model/vrml VRML b29 .wrl multipart/appledouble MacForks bd8 multipart/* Data ffd * text/css CSS f79 .css text/csv CSV dfe .csv text/html HTML faf .htm .htl .html .phtml .iso-html text/html SHTML fad .shtml text/php PHP 18a .php .php3 .php4 text/rtf RTF c32 .rtf text/richtext RTF c32 .rtf .rtx text/tab-separated-values tsv 122 .tsv text/plain Text fff .txt .text .asc .inf .ini .id .c .cc .h .s .README text/uri-list URI f91 .uri text/xml XML f80 .xml text/x-ant-url b28 text/x-ieurl 1ba text/x-vcard vCard acf .vcf text/* Text fff .txt video/quicktime AVI fb2 .mov .cin .qt video/mpeg MPEG bf8 .mpg .mpv .mpe .mpeg # none of the following video types are in the IANA registry, but probably common # enough to justify omitting the x- (??) video/fli FLI b9f .fli .flc video/avi AVI fb2 .avi .cin video/msvideo AVI fb2 .avi video/ogg OggV 000 .ogv video/x-msvideo AVI fb2 .avi video/x-acorn-replay ARMovie ae7 .rep .rpl .rpy .replay .armovie video/x-vob VOB a8d .vob #### the following segment added per DigitalCD by Tim Hill 20080121 #### #### the next line commented out due to a RISC OS 5 misinterpretation #### # */xml XML f80 .xml # #### the following lines are commented out as they clash with Pluto #### ## required for a correct mapping of PC tracker files extensions #- MOD cb6 .mod .nst #- ImpulsTk 1ae .it #- FstTk 1af .xm #- ScreamTk 1b0 .s3m .stm #- PCTk 1b1 .dsm .far .mtm .ptm .žm .ult .669 #### the preceding segment added per DigitalCD bt Tim Hill 20080112 #### # added to cure downloading problem (from Ron M 20090930) */zip archive ddc .zip # added to cure downloading problem (by Tim Hill 20091102) */spk archive ddc .spk # Lastly, the default or catch-all category: */* Text fff * # HISTORY: # 02/09/98 JJHeenan Version 0.01 released # 13/05/99 JJH Version 0.02, with changes from Darren Salt # and checked against IANA database. # 18/05/99 JJH Version 0.03 - added Excel, javascript? # Version 0.03 added to, and amended slightly to suit !smbserver # (see its docs files) -GML 200200 # = Rearranged mappings (which are matched in order of appearance) so # that 3-char (dos) extensions appear first, then unix ones. # Extra filetypes added as below: # text/csv; # many image files (see comments below); note there are two hex codes # for WMF that seem to be extant, but only &b2f is correct AFAIK. # audio- added KAR, PLS extensions; also MP3 and SVX # video- added FLI/FLC # application/ -many extra types added, status often unknown. # Added for !Flash 290200, !MP3Radio 260300, SVG 010900. # Correction to BMP mapping as supplied by Colin McQueen 070300 # Added .pls for !Shoutcast 050102 and M3UFile -GML 080302 # Rearranged slightly, but no mappings changed. -GML 031200 # Added text/css entry -GML 100905. # Separated zip/a91 from other archive types # Added Ovation Pro, Impression and extra Textease variants GML 210905 # Added .iso df6 (CDRom images) -GML 300905 # Changed default (at end) from data to text -GML 021005 # Added .vpf .dp1 for c27 (Viewpoint/Datapower) -GML 190106 # Added xml (RO hex not known), URI # Revised Vorbis entry, now in IANA # x- or X- denotes an unofficial/non-IANA mapping ### ('IANA' = Internet Assigned Numbers Authority at ### http://www.iana.org/assignments/media-types/) # Checked all against IANA and amended accordingly. Rearranged groups order. # File no longer bears any resemblance to Joseph Heenan's original, # also the links in the preamble are no longer valid, # so this header has been drastically pruned. -GML 060206 # Checked entries against Version 0.06 RC of 050101 just come to light: # Maintained by (c) Richard Chiswell (Beebware), 2001. # support.mimemap@beebware.com # http://www.beebware.com/software/mappings/ # but found disconcerting errors in it; however added a few extra entries # from the above ("when in doubt, add it in!") where both an Acorn filteype # and a .extension were present. In a couple of cases (Audio group, marked|??) # a direct conflict found, so added below, but commented, to resolve later # perhaps. Omitted RC's extensive commented entries where RO filetypes don't # exist and are unlikely to be developed. -GML 200206 # Released to Iyonix list for comments -GML 280206: ## Send comments to Gary Locock gml@bablakejs.co.uk ## Bablake Junior School, Coundon Road, Coventry CV1 4AU # .vob requested for Iain Logan 010306, it should map to a8d (Neil Spellings). # Mime subtype unidentified, so guessed video/x-vob. # .ac3 AC3Audio identified in IANA for adrian@aemulor.com # Corrected application/applefile (was applesingle) MacForks bd8 # (MacForks is a curious name; apple singles do not have forks! Is it correct?) # There is a partner subtype: multipart/appledouble; /this/ is the one with # the data fork! In the absence of other info, I've given this the same filetype. # Removed .z .Z from application/octet-stream (already in /x-compress Archive ddc) # Removed .ai from application/postscript (It's in /x-adobeillustrator) # Textease Pages changed from b8c to b3f and Pages_Temp from b8d to b3e to align # with most recent information from a TE !Run file. # .au (a duplicate) removed from bd6 AudioWrk (guesswork; it is also in ULaw 140) # but what is the best .extn? This file shows .snd. It also has .au as ULaw 140, # whereas WarmSilence listed .au as an fb1 Waveform file. -??? # .aiff was in audio/x-aiff as well as in audio/L16 -??? # Audio Trackers revised and rationalised duplicates, but needs checking: # audio/x-s3m c02 commented; seems to duplicate ScreamTk 1b0 -??? # audio/x-mtm .mtm .ptm duplicated in audio/x-pctrack, whence removed. -??? # audio/x-ultratracker .ult duplicated in audio/x-pctrack, whence removed. -??? # Also fixed a couple of incorrect comment markers -doh! -GML 090306 # Extra mappings for Netsurf added; incl JNG MNG - GML 140306 #### I have decided to make this, my working 'mimemap' file, available #### #### for download. Thanks for all the hard work by everyone above. #### #### Feedback to < t i m ( a t ) t i m i l . c o m > please. Cheers. #### #### Tim Hill. #### #### 2008-01-21 Additions for DigitalCD #### #### 2008-09-23 Changes to Ogg Entries per RFC 5334 (thanks to Ivo) #### #### 2008-11-21 Added .mp3 to audio/mp3 - thanks to Nick Roberts #### #### 2009-09-30 added */zip to cure downloading problem (thanks Ron M) #### #### 2009-11-30 added .eps to FF5 type as Artworks saves .eps as FF5 #### #### 2010-05-01 commented out */xml as RISC OS 5 can't cope (thanks MW) #### #### 2010-05-01 added application/xml... (thanks David Pitt) ####