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

Check uploaded zip file for a chat format text file in a user friendly way #83

Open
uptoratlen opened this issue Jun 11, 2021 · 0 comments

Comments

@uptoratlen
Copy link
Contributor

Currently the uploaded zip need to contain a certain named text file "_chat.txt".
This is for users not very friendly.
Suggestions (2)
a) Create a list of chat file constants (pattern) and check of such a file, in case non of the list is found, return a error (with the list so the user could check )
b) Check all uploaded text files (extension .txt) for a Whatsapp pattern (first line) , in case line of that checked file matches a WA line pattern, use it as input file; otherwise return something like "No, valid chat file found in zip."

What do you think? A even better/smarter way to get more user friendly?
Please share your thoughts on this.

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

No branches or pull requests

1 participant