I take it that the odf extension is for this: http://en.wikipedia.org/wiki/OpenDocument

But as far as I can tell, the actual extensions are odt for text. At least that is what my copy of OOO suggests.

Comments

quicksketch’s picture

Category:bug» support
Status:Active» Closed (fixed)

ODF is for OpenOffice files: http://xml.openoffice.org/#ODF

joachim’s picture

Category:support» bug
Status:Closed (fixed)» Active

Indeed. But I think my point was that no actual files have the extension .odf, as you can see from the list here: http://en.wikipedia.org/wiki/OpenDocument

joachim’s picture

Status:Active» Closed (works as designed)

Oh hang on.

In the text:
.odf for formulae, mathematical equations

I stand corrected!

Dave Reid’s picture

Title:file component: odf files?» File component: odf extension should be odt?
Version:6.x-2.x-dev» 7.x-4.x-dev
Status:Closed (works as designed)» Active

Including mathematical equations as default makes absolutely no sense in the 'Document' category and I truly believe this was in error. I believe this was meant to be 'odt' for opendocument text format?

Dave Reid’s picture

Version:7.x-4.x-dev» 7.x-3.x-dev
Status:Active» Needs review
StatusFileSize
new2.18 KB

Patch attached that should apply to 7.x-3.x. Implemented an update function that for now only switches out odf with odt. I commented out lines that would have added 'odf' to the additional extensions field but I still truly believe this extension is in error and should just be fixed. Looking for feedback on direction of the update hook (if desired).

DamienMcKenna’s picture

Status:Needs review» Needs work

Per http://www.openoffice.org/framework/documentation/mimetypes/mimetypes.html the extension "ODF" is for formula files, as mentioned above.

I'm putting this back to Needs Work as the extensions list should include all of the OOo equivalents of the MS Office files, i.e. ODS for spreadsheets, ODP for presentations and ODT for text documents.

DamienMcKenna’s picture

Status:Needs work» Needs review
StatusFileSize
new328 bytes

Try this for size.

This version of the update script doesn't replace ODF, it just adds the missing three extensions.

DamienMcKenna’s picture

StatusFileSize
new2.29 KB

#facepalm.

quicksketch’s picture

Thanks Damien! We probably need to batch API that update.

quicksketch’s picture

I'm honestly tempted to remove all the OpenOffice extensions rather than add more of them. I'd be just as happy just removing odf and calling it good. Users can always add extra extensions via the additional extensions box. As the general importance of desktop office software has waned due to online equivalents (i.e. Google Docs), OpenOffice has moved to a point of irrelevance in my mind. And for 95% of the population it was probably irrelevant to begin with.

quicksketch’s picture

Version:7.x-3.x-dev» 7.x-4.x-dev
Priority:Normal» Minor
Status:Needs review» Closed (fixed)
StatusFileSize
new580 bytes

There, problem solved. Committed to 7.x-4.x branch.