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

XLS Support #66

Open
mishu- opened this issue May 26, 2020 · 2 comments
Open

XLS Support #66

mishu- opened this issue May 26, 2020 · 2 comments

Comments

@mishu-
Copy link

mishu- commented May 26, 2020

Is it doable to also check for XLS?

@h2non
Copy link
Owner

h2non commented May 26, 2020

Yes, it is. It was already implemented in the Go port of this package:
https://github.com/h2non/filetype#documents

PR would be very welcome!

@Agent-Hellboy
Copy link

Agent-Hellboy commented Dec 14, 2020

Hi @h2non
The magic number of all the office documents are same how will I distinguish between doc, xls, and ppt file.
I have also checked the https://github.com/file/file but that was tough for me to understand.``

Word Document | .doc | D0 CF 11 E0 A1 B1 1A E1

Excel Document | .xls | D0 CF 11 E0 A1 B1 1A E1

PowerPoint Document | .ppt | D0 CF 11 E0 A1 B1 1A E1

Visio Document | .vsd | D0 CF 11 E0 A1 B1 1A E1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants