Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend supported formats #110

Merged
merged 1 commit into from Mar 21, 2024
Merged

Extend supported formats #110

merged 1 commit into from Mar 21, 2024

Conversation

hexapode
Copy link
Contributor

Add a few other file formats:

  • Microsoft word derivative and older version (.dot, .dotm,....)
  • Microsoft powerpoint derivative and older version (.ppt!, ....)
  • Libre/open office derivative and older versions

New full supported language list:

SUPPORTED_FILE_TYPES = [
    ".pdf",
    # Microsoft word - all versions
    ".doc",
    ".docx",
    ".docm",
    ".dot",
    ".dotx",
    ".dotm",
    # Rich text format
    ".rtf",
    # Microsoft Works
    ".wps",
    # Word Perfect
    ".wpd",

    # Open Office
    ".sxw",
    ".stw", 
    ".sxg",

    # Apple
    ".pages",

    # Mac Write
    ".mw",
    ".mcw",


    # Unified Office Format text
    ".uot",
    ".uof",
    ".uos",
    ".uop",

    # Microsoft powerpoints
    ".ppt",
    ".pptx",
    ".pot",
    ".pptm",
    ".potx",
    ".potm",


    # Apple keynote
    ".key",

    # Open Office Presentations
    ".odp",
    ".odg",
    ".otp",
    ".fopd",
    ".sxi", 
    ".sti",
    
    # ebook
    ".epub"
]

@logan-markewich logan-markewich merged commit 5d398a8 into main Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants