File types for upload

Forum for all users to discuss the implementation and operation of the ChoralWiki at CPDL
Post Reply
Geichler
Posts: 6
Joined: 15 Jan 2008 14:09

File types for upload

Post by Geichler »

Hi,

I noticed that Capella files *.cap is no longer a valid file type for upload. Files from Sibelius *.sib are. That is strange. I uploaded cap files earlier but now I can't anymore and I also can't update my existing files.

Gerd Eichler
choralia
Site Admin
Posts: 2926
Joined: 05 Mar 2006 19:57
Location: Rome, Italy
Contact:

Re: File types for upload

Post by choralia »

I've added .cap among the allowed file extensions, but I'm not sure this is enough to handle this kind of files correctly. Could you please try again and let me know?

Max
carlos
Site Admin
Posts: 1870
Joined: 19 Aug 2008 15:26
Location: São Paulo, Brasil

Re: File types for upload

Post by carlos »

Hi Max, file includes/MimeMagic.php also needs to be changed; the following lines were added to it:

Code: Select all

application/x-capella-music-notation cap

'cap3-v:a'         => 'application/x-capella-music-notation',
Gerd, you should be able to upload/update your files now; if not, please let us know.
choralia
Site Admin
Posts: 2926
Joined: 05 Mar 2006 19:57
Location: Rome, Italy
Contact:

Re: File types for upload

Post by choralia »

Thanks Carlos, I thought there might have been something to fix on the MIME types, too. And thanks for the new favicon here... :wink:

Max
carlos
Site Admin
Posts: 1870
Joined: 19 Aug 2008 15:26
Location: São Paulo, Brasil

Re: File types for upload

Post by carlos »

choralia wrote:And thanks for the new favicon here... :wink:
Oh, using the same icon for both the wiki and the forums was a bit confusing, wasn't it? Specially when I had both pages opened in different tabs of my browser :)
Post Reply