PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Mod Submissions

Reply
 
Thread Tools
Old 12-26-2004, 02:09 AM   #1
Jean-Phi
Green Mole
 
Join Date: Dec 2004
Posts: 1
Smile OpenOffice files indexing

I have modified phpdig to index openoffice document. I test it for calc, impress, writer , draw and math application.

The diff file is avaible in the attached file.

To convert openoffice file to txt I have modified a perl script called soffice2html. I have attached my script too.


To work correctly, the http server must know the mime type of openoffice file. In a Apache server, this information is in the file mime.types. You must add following line
Code:
application/vnd.sun.xml.writer   sxw
application/vnd.sun.xml.calc   sxc
application/vnd.sun.xml.draw   sxd
application/vnd.sun.xml.impress   sxi
application/vnd.sun.xml.math   sxm
application/vnd.sun.xml.writer.template   stw
application/vnd.sun.xml.calc.template   stc
application/vnd.sun.xml.draw.template   std
application/vnd.sun.xml.impress.template   sti
(Put a tabulation between mime type and the file extention)

All this is avaible in my web site: http://bonnet.jeanphilippe.free.fr/softwares/
Attached Files
File Type: txt phpdig-1.8.6_openoffice.diff.txt (11.5 KB, 20 views)
File Type: zip soffice2txt.zip (1.8 KB, 26 views)
Jean-Phi is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
catdoc not indexing all files brianread External Binaries 1 11-30-2005 09:14 AM
Indexing 0 Files adwaitjoshi Troubleshooting 2 03-15-2005 09:53 AM
Indexing a directory with many files rafarspd How-to Forum 2 12-21-2004 02:49 AM
Not indexing my files Spider Troubleshooting 5 07-22-2004 06:12 PM
Can PhpDig index OpenOffice Docs? veggie2u How-to Forum 1 12-08-2003 02:52 PM


All times are GMT -8. The time now is 10:49 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.