You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Giampaolo <ne...@trapo.it> on 2004/05/13 14:51:36 UTC

How to upload other mimetypes..

hi, i would like to upload a vrml file (*.wrl), however assets has a filter, i'm
gonna try to bypass the asset mechanism, however how can i add my mime type and
allow assets of that files?

-- 
Giampaolo


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: How to upload other mimetypes..

Posted by Rolf Kulemann <ro...@apache.org>.
On Thu, 2004-05-13 at 14:51, Giampaolo wrote:
> hi, i would like to upload a vrml file (*.wrl), however assets has a filter, i'm
> gonna try to bypass the asset mechanism, however how can i add my mime type and
> allow assets of that files?

Imho we need an editable mime-type registry, so that users can easily
add new mime-types through admin ui.

Maybe u could add a feature request to bugzilla?

-- 
Regards,

    Rolf Kulemann


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: How to upload other mimetypes..

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Giampaolo wrote:
>>currently, hack asset.xsl. there is a list of allowed extensions at the 
>>top of that file. same for images.xsl
>>
> 
> This is enough to upload the asset, but however it's not possible to load it, it
> tells me that the document is not avaiable..what i'm missing this time?

there is probably no pipeline in resources.xmap for *wrl


-- 
Gregor J. Rothfuss
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                   http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: How to upload other mimetypes..

Posted by Giampaolo <ne...@trapo.it>.
> 
> currently, hack asset.xsl. there is a list of allowed extensions at the 
> top of that file. same for images.xsl
> 
This is enough to upload the asset, but however it's not possible to load it, it
tells me that the document is not avaiable..what i'm missing this time?

giampaolo


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: How to upload other mimetypes..

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Giampaolo wrote:

> hi, i would like to upload a vrml file (*.wrl), however assets has a filter, i'm
> gonna try to bypass the asset mechanism, however how can i add my mime type and
> allow assets of that files?

currently, hack asset.xsl. there is a list of allowed extensions at the 
top of that file. same for images.xsl

longer term, as roku says, make it configurable.

VRML, fond memories :)

http://hb3d.ch

-- 
Gregor J. Rothfuss
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                   http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org