Ed,

I think I see what happened. In an ideal world what you did should work I 
haven't made it work that way yet.

When you click on the + button to add a new property there are two fields, 
one for the name and one for the value. It looks like you copied the full 
line into the name field. What you need to do is put the name part in the 
name field and the value in the other field. The name field is the shorter 
text box that you copied things into, the value field is the long text box 
below it.

So for each mime-type you put the file extension with the . as the name, 
like 
.mp4
and then in the other text box you put the mime-type like this
video/mp4

unfortunately adding these from the interface in the wiki means you have to 
do all of them individually.

To avoid having to do that you can instead edit the tiddler 
$:/WikiSettings/split/mimeMap which was created when you made the mimeMap 
object in the settings (so if you do this again in the future it won't 
exist until you create that object in the settings interface) and edit that 
tiddler so this is its text (replace text that is currently in the tiddler 
but don't touch any other fields):

{
         ".ico": "image/x-icon",

    ".html": "text/html",
    ".js": "text/javascript",
    ".json": "application/json",
    ".css": "text/css",
    ".png": "image/png",
    ".jpg": "image/jpeg",
    ".jpeg": "image/jpeg",
    ".wav": "audio/wav",
    ".mp3": "audio/mpeg",
    ".svg": "image/svg+xml",
    ".pdf": "application/pdf",
    ".doc": "application/msword",
    ".gif": "image/gif",

    ".mp4": "video/mp4",

    ".mov": "video/quicktime"

}


I wasn't expecting something like this to be edited. I need to come up with 
a better interface that makes some sense to people who don't have 
experience with it. Let me know if it works.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3ef376fd-b6fa-4d03-8fe7-7f72ae2a15ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to