MyMICDS / MyMICDS-v2

Back-end REST API for MyMICDS.net
https://mymicds.net
GNU Affero General Public License v3.0
8 stars 5 forks source link

Accept more Daily Bulletin file formats #71

Open michaelgira23 opened 6 years ago

michaelgira23 commented 6 years ago

Recently, there has been different people making the daily bulletin. There are a couple inconsistencies between the normal bulletins, which is beneficial because we have more data for making a more robust system/bulletin parser.

Along with these anomalies is the format the bulletin is distributed. Sometimes, there's a Microsoft Word document (.docx) or even the bulletin pasted into the body of the email. We should make an effort to at least parse different file attachments types and convert them to PDF.

michaelgira23 commented 5 years ago

This issue has come back into light as the new school admin sends the Bulletin via word doc. This might be a relevant package, but there are a few others too:

https://www.npmjs.com/package/office-to-pdf

nickbclifford commented 5 years ago

It's no longer as pressing of an issue as the new admin quickly switched back to PDF, but this should still be in the back of our minds, since it could change at any time.