Active
Project:
DBFM Search
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 May 2010 at 04:49 UTC
Updated:
3 Jun 2010 at 02:19 UTC
Perhaps this has been covered before. If yes, just direct me to the link.
It there a plan to support MS Office 2007 doc formats - docx, pptx, xlsx etc.?
Tried docx format, and it worked - converted and indexed without a specific helper function declared though, like docx catFromDoc. But it didn't work work pptx extension.
Also, how do I enable the image(s) for the the Office 2007 format?
thanks!
Comments
Comment #1
krashid commentedManaged to get this working.
Added mime-types for pptx, docx and xlsx according in function mimecheck() and subsequently associated the mime-types with the icon in function dbfm_get_icon().
Seems to be working now. Able to convert, index and search the files accordingly.
Summary of changes in function mimecheck()
Summary of changes in function dbfm_get_icon()
Comment #2
geoff_eagles commentedI'm surprised that it's converting and indexing the files. What conversion function did you assign to those file types?
The new Microsoft filetypes are zipped XML files. I couldn't find any open source application that would readily convert them so I tried automatically opening them with OpenOffice then saving them as a different filetype. It worked but wasn't straightforward (or particularly fast) and didn't work with powerpoint. If you like I can send details of how I did it - but not for a week or so because I'm struggling to get a release ready just now.
Comment #3
krashid commentedI just added entry in the helper function of the dbfm search admin page referring to the same function as the one used for doc, etc. My catdoc version is 0.94.2.