Am 05.07.2012 17:00, schrieb Eiso AB: > Reimar Bauer wrote: >> Am 05.07.2012 11:55, schrieb Eiso AB: >>> Hi, >>> >>> I'm using moinmoin-1.8.9 and would like to display .svg >>> figures. From the docs I get the impression that this >>> should just work: >>> >>> {{attachment:picture.svg}} >>> >>> >>> But it doesn't. >>> >>> I've added this to my wikiconfig.py but that makes no difference. >>> >>> mimetypes_xss_protect = ['text/html', 'application/x-shockwave-flash', >>> 'application/xhtml+xml',] >>> mimetypes_embed = ['application/x-dvi', 'application/postscript', >>> 'application/pdf', 'application/ogg', >>> 'application/vnd.visio', 'image/x-ms-bmp', 'image/svg+xml', >>> 'image/tiff', 'image/x-photoshop', >>> 'audio/mpeg', 'audio/midi', 'audio/x-wav', 'video/fli', >>> 'video/mpeg', >>> 'video/quicktime', >>> 'video/x-msvideo', 'chemical/x-pdb', 'x-world/x-vrml',] >>> >>> >>> any ideas ?
Having it in mimetypes_xss_protect did not help,that blocks it. The macro EmbedObject can be used if the type is in mimetypes_embed That macro is also called from the moin wiki parser. wikiconfig.py: mimetypes_embed = multiconfig.DefaultConfig.mimetypes_embed[:] wikiconfig.py: mimetypes_embed.append('image/svg+xml-compressed') wikiconfig.py: mimetypes_embed.append('image/svg+xml') cheers Reimar >>> >> >> which browser do you try? >> Reimar > > firefox 13.0 and seamonkey 2.5 > > I don't think the browser is the problem > because I see the svg fine in both browsers > at the bottom of this page: > > http://moinmo.in/ScalableVectorGraphics > > so I suspect something with my moin setup is not good. > > Eiso > >>> >>> thanks, >>> >>> Eiso >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> >> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Moin-user mailing list >> Moin-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/moin-user >> > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user