:::
OOo使用者討論區
2003-11-28 11:54:58
2003-11-28 13:44:21
2003-11-30 02:35:57
2004-04-05 16:08:50
在WIN下如何用MOSZILLA直接瀏覽OOO
不太清楚你的問題?
在Windows下的Mozilla看OOo到底是指啥?
1. 若是說用Windows 下的 Mozilla 中文版看http://ooo.tnc.edu.tw,那真是太好不過。沒遇過什麼困難。還是你發現了什麼?
2. 如果是用Mozilla來直接看OOo的檔案,不行吧?因為它是Zip壓縮格式,內置一些XML規格的檔案?
算了!不要猜了?
拜託大家!很多人都很樂意回答問題,回答的時候也key in一堆文字?所以可不可以,問問題時,也長一點。至少說一下平台、操作過程、發生的問題在那兒?
拜託!拜託了!
在Windows下的Mozilla看OOo到底是指啥?
1. 若是說用Windows 下的 Mozilla 中文版看http://ooo.tnc.edu.tw,那真是太好不過。沒遇過什麼困難。還是你發現了什麼?
2. 如果是用Mozilla來直接看OOo的檔案,不行吧?因為它是Zip壓縮格式,內置一些XML規格的檔案?
算了!不要猜了?
拜託大家!很多人都很樂意回答問題,回答的時候也key in一堆文字?所以可不可以,問問題時,也長一點。至少說一下平台、操作過程、發生的問題在那兒?
拜託!拜託了!
1054109004
2003-11-28 11:54:58
路過的訪客
2003-11-28 13:44:21
路過的訪客
sorry
非常抱歉
沒將問題說清楚
我的問題就如則所述
如何讓OOo的文件能在 Mozilla 流灠器中直接開啟,就是像MS-OFFICE 的檔案能在IE流灠器中直接開啟、編輯、存檔那樣,而不是直接下載或要抓到電腦中再用程式開。
狀況如下
系統
XP Home Edition+ java j2re1.4 +OOo 1.1 rc5 +Mozilla 1.5 中文版
我以 IE 瀏覽 http://ooo.tnc.edu.tw/file/writer.sxw 結果ok
但是以 mozilla 瀏覽 http://ooo.tnc.edu.tw/file/writer.sxw 結果是亂碼
用kinoppix 的 MOZILLA 也是亂碼
非常抱歉
沒將問題說清楚
我的問題就如則所述
如何讓OOo的文件能在 Mozilla 流灠器中直接開啟,就是像MS-OFFICE 的檔案能在IE流灠器中直接開啟、編輯、存檔那樣,而不是直接下載或要抓到電腦中再用程式開。
狀況如下
系統
XP Home Edition+ java j2re1.4 +OOo 1.1 rc5 +Mozilla 1.5 中文版
我以 IE 瀏覽 http://ooo.tnc.edu.tw/file/writer.sxw 結果ok
但是以 mozilla 瀏覽 http://ooo.tnc.edu.tw/file/writer.sxw 結果是亂碼
用kinoppix 的 MOZILLA 也是亂碼
2003-11-30 02:35:57
路過的訪客
我想他問問題的重點應該是
IE能正確處理OOO文件(開啟or下載)
但是Mozilla卻把它當成純文字文件打開,造成一堆亂碼
問題不在於瀏覽器(Mozilla)而是在於Web Server
先說明瀏覽器開啟文件的流程如下
1. 瀏覽器要根據Server傳來的MIME header才能知道文件的類型
2. 再根據文件的類型判斷要如何處理(html -> 打開, zip -> 下載...這部分可能是根據作業系統對於文件類別的判定)
那Web Server又如何判定檔案的MIME type呢?以佔有率最高的Apache為例,主要依據mime.types 以及 httpd.conf兩個檔案的設定。
如果安裝後不修改的話,mime.types裡面有application/msword doc項目,但卻沒有任何跟OOO有關的項目。對於無法判別MIME type的檔案,Apache預設傳送text/plain的MIME header,所以Mozilla就把它當成純文字文件打開,自然是一片亂碼
如上所述,Mozilla後半段的處理是正確的,問題出在Web Server設定錯誤,要請系統管理者修改設定,但是OOO的MIME type是什麼呢?我也不知道(應該很容易查得到,但我最近見習很累...
有沒有好心人能查出來告訴大家)
那IE為什麼能夠正確打開OOO呢?我發現IE似乎不鳥Server傳來的MIME header,而是自己根據文件的副檔名決定要如何處理
,這應該說是設計上的錯誤,還是微軟鴨霸的一貫作風呢?
IE能正確處理OOO文件(開啟or下載)
但是Mozilla卻把它當成純文字文件打開,造成一堆亂碼
問題不在於瀏覽器(Mozilla)而是在於Web Server
先說明瀏覽器開啟文件的流程如下
1. 瀏覽器要根據Server傳來的MIME header才能知道文件的類型
2. 再根據文件的類型判斷要如何處理(html -> 打開, zip -> 下載...這部分可能是根據作業系統對於文件類別的判定)
那Web Server又如何判定檔案的MIME type呢?以佔有率最高的Apache為例,主要依據mime.types 以及 httpd.conf兩個檔案的設定。
如果安裝後不修改的話,mime.types裡面有application/msword doc項目,但卻沒有任何跟OOO有關的項目。對於無法判別MIME type的檔案,Apache預設傳送text/plain的MIME header,所以Mozilla就把它當成純文字文件打開,自然是一片亂碼
如上所述,Mozilla後半段的處理是正確的,問題出在Web Server設定錯誤,要請系統管理者修改設定,但是OOO的MIME type是什麼呢?我也不知道(應該很容易查得到,但我最近見習很累...
有沒有好心人能查出來告訴大家)那IE為什麼能夠正確打開OOO呢?我發現IE似乎不鳥Server傳來的MIME header,而是自己根據文件的副檔名決定要如何處理
,這應該說是設計上的錯誤,還是微軟鴨霸的一貫作風呢?
自問自答(上面那篇是我po的)
睡不著,上網找了一下openoffice文件的MIME types
MIME type of Open Office
請網站管理者把下面幾行加入httpd.conf就可以了
AddType application/vnd.stardivision.chart .sds
AddType application/vnd.stardivision.calc .sdc
AddType application/vnd.stardivision.writer .sdw
AddType application/vnd.stardivision.writer-global .sgl
AddType application/vnd.stardivision.draw .sda
AddType application/vnd.stardivision.impress .sdd
AddType application/vnd.stardivision.math .sdf
AddType application/vnd.sun.xml.writer .sxw
AddType application/vnd.sun.xml.writer.template .stw
AddType application/vnd.sun.xml.writer.global .sxg
AddType application/vnd.sun.xml.calc .sxc
AddType application/vnd.sun.xml.calc.template .stc
AddType application/vnd.sun.xml.impress .sxi
AddType application/vnd.sun.xml.impress.template .sti
AddType application/vnd.sun.xml.draw .sxd
AddType application/vnd.sun.xml.draw.template .std
AddType application/vnd.sun.xml.math .sxm
為什麼mime.types裡面沒有openoffice文件的設定呢?,我按照apache的說明去管理MIME列表的IANA看看,裡面居然沒有列出openoffice的MIME type
IANA MIME types
難道在Apache的眼裡,openoffice不算是"use widely accepted, non-conflicting filename extensions across platforms",真糟糕
BTW: openoffice的網站有列出"Sample mime.types entries",但Apache不建議修改mime.types這個檔案,"because it may be replaced when you upgrade your server"
睡不著,上網找了一下openoffice文件的MIME types
MIME type of Open Office
請網站管理者把下面幾行加入httpd.conf就可以了
AddType application/vnd.stardivision.chart .sds
AddType application/vnd.stardivision.calc .sdc
AddType application/vnd.stardivision.writer .sdw
AddType application/vnd.stardivision.writer-global .sgl
AddType application/vnd.stardivision.draw .sda
AddType application/vnd.stardivision.impress .sdd
AddType application/vnd.stardivision.math .sdf
AddType application/vnd.sun.xml.writer .sxw
AddType application/vnd.sun.xml.writer.template .stw
AddType application/vnd.sun.xml.writer.global .sxg
AddType application/vnd.sun.xml.calc .sxc
AddType application/vnd.sun.xml.calc.template .stc
AddType application/vnd.sun.xml.impress .sxi
AddType application/vnd.sun.xml.impress.template .sti
AddType application/vnd.sun.xml.draw .sxd
AddType application/vnd.sun.xml.draw.template .std
AddType application/vnd.sun.xml.math .sxm
為什麼mime.types裡面沒有openoffice文件的設定呢?,我按照apache的說明去管理MIME列表的IANA看看,裡面居然沒有列出openoffice的MIME type
IANA MIME types難道在Apache的眼裡,openoffice不算是"use widely accepted, non-conflicting filename extensions across platforms",真糟糕
BTW: openoffice的網站有列出"Sample mime.types entries",但Apache不建議修改mime.types這個檔案,"because it may be replaced when you upgrade your server"
1068230252
2004-04-05 16:08:50
路過的訪客
新版的:
AddType application/vnd.stardivision.chart .sds
AddType application/vnd.stardivision.calc .sdc
AddType application/vnd.stardivision.writer .sdw
AddType application/vnd.stardivision.writer-global .sgl
AddType application/vnd.stardivision.draw .sda
AddType application/vnd.stardivision.impress .sdd
AddType application/vnd.stardivision.math .sdf
AddType application/vnd.sun.xml.writer .sxw
AddType application/vnd.sun.xml.writer.template .stw
AddType application/vnd.sun.xml.writer.global .sxg
AddType application/vnd.sun.xml.calc .sxc
AddType application/vnd.sun.xml.calc.template .stc
AddType application/vnd.sun.xml.impress .sxi
AddType application/vnd.sun.xml.impress.template .sti
AddType application/vnd.sun.xml.draw .sxd
AddType application/vnd.sun.xml.draw.template .std
AddType application/vnd.sun.xml.math .sxm
AddType application/vnd.oasis.opendocument.text .odt
AddType application/vnd.oasis.opendocument.text-template .ott
AddType application/vnd.oasis.opendocument.text-web .oth
AddType application/vnd.oasis.opendocument.text-master .odm
AddType application/vnd.oasis.opendocument.graphics .odg
AddType application/vnd.oasis.opendocument.graphics-template .otg
AddType application/vnd.oasis.opendocument.presentation .odp
AddType application/vnd.oasis.opendocument.presentation-template .otp
AddType application/vnd.oasis.opendocument.spreadsheet .ods
AddType application/vnd.oasis.opendocument.spreadsheet-template .ots
AddType application/vnd.oasis.opendocument.chart .odc
AddType application/vnd.oasis.opendocument.formula .odf
AddType application/vnd.oasis.opendocument.database .odb
AddType application/vnd.oasis.opendocument.image .odi
AddType application/vnd.stardivision.chart .sds
AddType application/vnd.stardivision.calc .sdc
AddType application/vnd.stardivision.writer .sdw
AddType application/vnd.stardivision.writer-global .sgl
AddType application/vnd.stardivision.draw .sda
AddType application/vnd.stardivision.impress .sdd
AddType application/vnd.stardivision.math .sdf
AddType application/vnd.sun.xml.writer .sxw
AddType application/vnd.sun.xml.writer.template .stw
AddType application/vnd.sun.xml.writer.global .sxg
AddType application/vnd.sun.xml.calc .sxc
AddType application/vnd.sun.xml.calc.template .stc
AddType application/vnd.sun.xml.impress .sxi
AddType application/vnd.sun.xml.impress.template .sti
AddType application/vnd.sun.xml.draw .sxd
AddType application/vnd.sun.xml.draw.template .std
AddType application/vnd.sun.xml.math .sxm
AddType application/vnd.oasis.opendocument.text .odt
AddType application/vnd.oasis.opendocument.text-template .ott
AddType application/vnd.oasis.opendocument.text-web .oth
AddType application/vnd.oasis.opendocument.text-master .odm
AddType application/vnd.oasis.opendocument.graphics .odg
AddType application/vnd.oasis.opendocument.graphics-template .otg
AddType application/vnd.oasis.opendocument.presentation .odp
AddType application/vnd.oasis.opendocument.presentation-template .otp
AddType application/vnd.oasis.opendocument.spreadsheet .ods
AddType application/vnd.oasis.opendocument.spreadsheet-template .ots
AddType application/vnd.oasis.opendocument.chart .odc
AddType application/vnd.oasis.opendocument.formula .odf
AddType application/vnd.oasis.opendocument.database .odb
AddType application/vnd.oasis.opendocument.image .odi

