swarthmore / filescan-server Goto Github PK
View Code? Open in Web Editor NEWAPI for scanning files for accessibility. Submit files and get back an accessibility report.
API for scanning files for accessibility. Submit files and get back an accessibility report.
Technically plugin settings scoped for the config_plugins
table should be named block_filescan/[settingname]
rather than just filescan/[settingname]
.
If document is being used in multiple courses, develop mechanism to notify faculty in other courses that an accessible version of a document is available and give them easy way to replace the inaccessible doc
After remediated files are added would be nice to have a "Refresh Results" button so users can update the results after they've added new documents or fixed old ones.
Might be nice to give a before and after number - but don't think this is essential
I took a file that did not have the language set, opened it in Acrobat, and added a language. The filescan server did not detect the language in the file.
When parsing a document, an exception thrown by the parser doesn't return anything to the client. So need to wait for timeout to get a response.
Node version: v0.10.25
When attempting to run npm start
after running npm install
:
/var/www/filescan/controllers/FileService.js:2
let PDFParser = require("pdf2json"),
^^^
Error initializing middleware
SyntaxError: Unexpected strict mode reserved word
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/var/www/filescan/controllers/File.js:5:12)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
npm ERR! weird error 1
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! not ok code 0
Possibly use spell check to see what percentage of words are spelled correctly
Can also check for language setting in PDF (and whether it is present)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.