[Virtualacorn-list] Mimemap corrupted?

Alan Marshall alan at thelaith.com
Mon Mar 14 18:23:18 GMT 2011


VA Adjust RISC OS 4.39

When I view files via DrivePop most type, i.e. CSV, PDF and JPG, show 
the correct RISC OS icons but Word files show as text.

If I save and EasiWriter file as Word and save it to Drive G: in 
Windows 7 it will appear as XXX,ae6 or XXX.doc,ae6 depending on 
whether I save it with /doc or not, though showing the RISC OS Word 
icon within RISC OS.

If I remove the ,ae6 in Windows, the .doc file show as a text file 
within RISC even though it is correct in Windows and opens correctly.

Sending Word files as attachments is a waste of time as they cannot be 
opened.

The two mimemaps are show below.

I would be grateful for suggestions as to how I can sort this out.

Alan.



The Mimemap in

HostFS::HardDisc4.$.!Boot.Choices.Default.Internet.Files

is

# MIME type mappings
#
# RISC OS Select; 1.07 (15 Mar 2004)
#
# This file maps of content types to file types.
#
# Applications known to use this file, via the MimeMap module :
#
#   CDFS, DOSFS, CDROMFS, ImageNFS, Pluto, Messenger(Pro), Fresco,
#   Oregano, Webster XL, LoadMaster SiteSeer, Webtool, FTP,
#   WebJames, Browse
#
# For example, a CD with a file named example.doc will appear with a
# MSWord filetype when viewed from RISC OS.
# If you have an application that needs any additions to this file 
then
# please send details to:-
#
#    mailto:support at riscos.com
#
# This file should conform closely to the definitive types listed with
# IANA.
#
# Lines starting with a '#' are comments, blank lines are ignored.
#
# A '*' is a wild 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.
#
# MIME type/subtype  RISC OS name Hex Extensions

text/html   HTML  faf .html .htm .shtml .stm .phtml .iso-html  
"TEXTMOSS" "TEXTMOS!" "TEXTMSIE"
text/plain   Text  fff .txt .c .cc .cpp .h    "TEXT    " "TEXT????"
text/richtext   RTF  c32 .rtx .rtf       "RTF     " "RTF ????" 
"TEXTMSWD"
text/x-teletext   Teletext 112 .ttx
text/x-vcard   vCard  acf .vcf
text/*    Text  fff

image/sun-raster  SunRastr fc9 .ras
image/x-icon   ICO  132 .ico
image/pcx   PCX  697 .pcx
image/x-portable-anymap  PBMPlus  69e .pnm
image/x-portable-bitmap  PBMPlus  69e .pbm
image/x-portable-graymap PBMPlus  69e .pgm
image/x-portable-pixmap  PBMPlus  69e .ppm
image/cgm   Metafile 405 .cgm
image/gif   GIF  695 .gif        "GIFf    " "GIFf????"
image/jpeg   JPEG  c85 .jpg .jpeg .jpe      "JPEG    " "JPEG????"
image/jpeg   JPEG  c85 .jfif .jfi       "JFIF    " "JFIF????"
image/photo-cd   PhotoCD  be8 .pcd        "TCD     " "TCD ????"
image/pjpeg   JPEG  c85 .pjpeg .pjpg
image/png   PNG  b60 .png        "PGNf    " "PGNf????"
image/xpng   PNG  b60 .png
image/svg+xml   SVG  aad .svg .svgz
image/svg   SVG  aad .svg
image/vnd.adobe.svg+xml  SVG  aad .svg .svgz
image/tiff   TIFF  ff0 .tif .tiff       "TIFF    " "TIFF????"
image/bmp   BMP  69c .bmp .dib       "BMPp    " "BMPp????" "BMP ????"
image/x-ms-bmp   BMP  69c .bmp        "BMPp    " "BMPp????" "BMP ????"
image/x-photo-cd  PhotoCD  be8 .pcd
image/x-riscos-sprite  Sprite  ff9 .spr
image/x-xpixmap   XPM  301 .xpm        "XPM     " "XPM ????"
image/xbm   XBitMap  b61 .xbm        "XBM     " "XBM ????"
image/x-xbitmap   XBitMap  b61 .xbm        "XBM     " "XBM ????"
image/vnd.dxf   DXF  dea .dxf

# Two mappings for wmf because servers disagree about what to use (IIS 
uses former, others use latter)
application/x-msmetafile WMF  b2f .wmf
image/x-wmf   WMF  b2f .wmf

audio/basic   WaveForm fb1 .au .snd       "BINASCPL"

audio/aiff   AIFF  fc2 .aif .aiff                                       
            "AIFF    " "AIFF????"
audio/aiff   AIFF  fc2 .aifc        "AIFC    " "AIFC????"
audio/midi   Midi  fd4 .midi .mid       "Midi    " "Midi????"
audio/mpeg   AMPEG  1ad .mpa .mp3       "MP3\00ISO\00"
audio/mp3   AMPEG  1ad
audio/wav   WaveForm fb1 .wav        "WAVE    " "WAVE????" "WAV ????"
audio/x-aiff   AIFF  fc2
audio/x-midi   Midi  fd4
audio/x-mpeg   MPEG  bf8
audio/x-pn-realaudio  RealAud  f88 .ram .rpm .ra
audio/x-wav   WaveForm fb1
audio/*    AudioWrk bd6 .au .snd

video/acorn-replay  ARMovie  ae7 .replay .rpl
video/avi   AVI  fb2 .avi
video/mpeg   MPEG  bf8 .mpeg .mpg .mpv      "MPEG    " "MPEG????"
video/msvideo   AVI  fb2 .avi        "BINA    " "VfW AVIC"
video/quicktime   AVI  fb2 .mov .moo .moov .qt .avi    "MooV    " 
"MooV????"
video/x-mpeg2   MPEG  bf8         "MPG2    " "MPG2????"
video/x-msvideo   AVI  fb2 .avi

x-world/x-vrml   VRML  b29 .wrl
model/vrml   VRML  b29 .wrl

# message/rfc822  Marcel  b86 .mbox

application/hyperstudio  HStudio  b44 .stk .stak
application/compress  Archive  ddc .Z .z       "ZIVM    " "ZIVM????"
application/dvi   DVI  ce4
application/gzip  GZip  f89 .gz .gzip .tgz      "Gzip    " "Gzip????" 
"ZIVUSITx"
application/java-vm  Java  ae4 .class        "TEXTALFA"
application/msword  MSWord  ae6 .doc        "W8BN    " "W7BNMSWD" 
"W6BNMSWD" "WDBNMSWD" "WDBNWORD"
application/nc-download  NCDown  f93 .ncd
application/nc-smartcard SCBBlk  f94 .scb
application/octet-stream Data  ffd .bin .z .Z      "DATA    " 
"DATA????"
application/pdf   PDF  adf .pdf        "PDF     " "PDF ????" 
"TEXTCARO"
application/postscript  PoScript ff5 .ps .eps .epsf      "EPSF    " 
"EPSF????" "EPSP????" "TEXTvgrd" "LWFN????"
application/postscript  PoScript ff5 .ai .art       "EPSF    " "ART 
GKON" "TEXTART3" "TEXTART5" "TEXTARTY" "TEXTARTZ"
application/rtf   RTF  c32 .rtf
application/vnd.riscos.drawfile Draw  aff .drw .draw
application/vnd.ms-excel Excel  ba6 .xls
application/x-chat  Chat  17a .chat .cha
application/x-compress  Archive  ddc
application/x-director  Director ae3 .dxr .dcr .dir
application/x-dvi  DVI  ce4 .dvi        "ODVIOTEX"
application/x-gzip  GZip  f89
application/x-latex  LaTex  2a8 .ltx        "TEXTOTEX"
application/x-nschat  Chat  17a .nsc
application/x-shockwave-flash Flash  188 .swf
application/x-tar  Tar  c46 .tar
application/x-tex  TeX  ce5 .tex .texi .texinfo     "TEXTOTEX"
application/x-tex  TeX  2a7 .tex
application/zip   Archive  ddc .zip        "ZIP     " "ZIP ????"
application/zip   Archive  ddc .arc        "BINAarc©" "mArcarc*"
application/zip   Archive  ddc .spk
# FIXME: Check for an arj filetype
application/x-arj  Archive  ddc .arj        "BINADArj"
# FIXME: Check for an lha filetype
application/x-lzh  Archive  ddc .lha .lzh       "LHA     " "LHA ????"
application/xml-dtd  XML_DTD  f7f .dtd
application/xslt+xml  XSL  f7e .xsl

application/riscos  *  *

model/vrml   VRML  b29 .vrml .vrm
x-world/x-vrml   VRML  b29 .wrl

multipart/x-mixed-replace Data  ffd

message/*   Text  fff

*/*+xml    XML  f80 .xml
audio/*    GenSound f96 .voc
text/*    Text  fff

*/*    Data  ffd

# Entries with no valid mimetype (map to application defined type)
-    MSDOSexe fd9 .exe

--------------------------------------

The Mimemap in

HostFS::HardDisc4.$.!Boot.Choices.Users.Single.Recyclone.Bin.!Messenger513.Resou 
rces

is

text/plain  Text  fff .txt
text/html  html  FAF .html .htm .iso-html
text/*   Text  fff

image/gif  GIF  695 .gif
image/jpeg  JPEG  c85 .jpeg .jpg .jfif  .jpe
image/pjpeg  JPEG  c85 .pjpeg .pjpg
image/tiff  TIFF  ff0 .tiff .tif
image/xbm  XBitMap  b61 .xbm
image/x-xbitmap  XBitMap  b61
image/x-xpixmap  XPM  301     .xpm
image/png               PNG             b60     .png
image/x-png             PNG             b60
image/x-photo-cd PhotoCD  be8 .pcd
image/x-MS-bmp  BMP  69C .bmp

video/mpeg  MPEG  bf8 .mpeg .mpg .mpv
video/x-mpeg2  MPEG  bf8
video/quicktime  AVI  fb2 .mov
video/avi  AVI  fb2 .avi
video/x-msvideo  AVI  fb2
video/acorn-replay ARMovie  ae7 .replay .rpl

audio/basic  WaveForm fb1 .au .snd
audio/avi  AVI  fb2 .avi
audio/wav  WaveForm fb1 .wav
audio/x-wav  WaveForm fb1
audio/aiff  AIFF  fc2 .aifc .aif .aiff
audio/x-aiff  AIFF  fc2
audio/mpeg  MPEG  bf8 .mpa
audio/x-mpeg  MPEG  bf8
audio/x-pn-realaudio RealAud  f88 .ram .rpm .ra
audio/midi  MIDI  fd4 .midi .mid
audio/x-midi  MIDI  fd4 .midi .mid
audio/*   GenSound f96 .voc

application/x-tar tar             c46 .tar
application/pdf  PDF  adf .pdf
application/rtf         RTF  c32 .rtf
application/x-director  Director        ae3     .dxr  .dcr .dir
application/x-dvi DVI  ce4 .dvi
application/x-latex latex  2a8 .ltx
application/x-tex tex  ce5     .tex
application/x-tex tex  2a7     .tex
application/postscript PoScript ff5 .ps .eps
application/zip  Archive  ddc .zip .arc .spk .lha .arj .lzh
application/java-vm Java  ae4 .class
application/msword MSWord  ae6 .doc
application/gzip GZip  f89 .gz .tgz
application/riscos *  *
application/octet-stream Data  ffd     .z      .Z      .exe

message/*  Text  fff

*/*   data            ffd




More information about the Virtualacorn-list mailing list