David Sean Taylor wrote:
On Oct 3, 2008, at 7:45 PM, Mansour Al Akeel wrote:
David,
The problem I am facing is using svg in my theme. As you know svg is
an xml format, and I am trying to embed it in my decotartor. However,
browsers don't display these images because they are receiving a
content type in the http header showing that the content is
"text/html". When I save the pages as static files through the
browser save dialog and modify the contents type to
"application/xhtml+xml" , I get the images to display correctly. I
tried to change this mime type in multiple locations in jetspeed but
the header still contains text/html in the response. I am using
firebug to check the http header.
In an earlier email, I was advised to change the DB table. I will try
this soon, since it's the only option I have, however, I prefer not
to use or modify anything in the DB, as I am looking to keep the
deployments easy and simple. I have worked before with CMS that
stores contents and configuration in the DB, and deployment were
nightmares because I had to sync the DB, while if the configurations
are only in the files, deployments can be smooth.
As I said, I will try the option of modifying the db table, however,
I like to hear your input.
Have you tried putting the SVG in an IFrame? Im sorry but I need to
test this out and I really haven't had time. If you could send me an
example of your decorator it might help
I tried but it didn't work. What I did is putting SVG in a separate html
file, and then link the iFrame to it using @src . Now it looks like,
jetspeed doesn't serve xhtml pages from the decorator folders, so what
happened here is it replaced the contenets of the html file by the
contents of the default-page.psml serverd by jetspeed. I will organize
my decorator a bit and send you a copy to have a look at and see what I
mean.
thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]