Using WordPress to manage document scan and redistribution
-
Hi,
I’m really reaching out for some ideas or pointers as to how I can build a WordPress based service where letters from prisoners can be scanned in and uploaded to ftp, and the link to view/download the letter can be sent to registered users via WordPress. The letter would have a pre-printed barcode that would define the uploading to ftp. The process up to here is pretty much solved already. Now we have around 6k registered users, and I’m trying to figure a way to use, perhaps another, barcode/ qr code on the letter to instruct wordpress to sent the link to the correct user (defined by qr code/barcode). I’m currently using RegistrationMagic to manage users, but happy to try any other viable options that might afford this kind of process.
Any help or ideas would really be appreciated.-
This topic was modified 6 years, 1 month ago by
Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
The page I need help with: [log in to see the link]
-
This topic was modified 6 years, 1 month ago by
-
What format is used to keep the scanned image as a computer file? PDF? Many image file formats support meta data. It’d be much easier for a computer system to read a file’s meta data than interpret a graphic code on the image itself. If the recipient information were passed as file meta data instead of a graphic code you’ll have a much easier time getting the file to the right recipients.
If recipients are pre-registered, the only meta data that’s needed could be their user IDs, taking up little space. Space available for custom meta data is often severely limited. When the file is uploaded to the server, it would be good to save related information in the WP database so the right file can be easily found when specific users visit the site. Similar to how current WP media uploads have their data saved as “attachment” post types.
Browsers cannot access peripheral hardware like scanners. You’ll need a locally installed app to manage the scanning. The local app could in theory upload scan files directly to WP. More typically scan files are saved to a local drive, then uploaded to WP through a web page, involving an extra step but utilizing standard software.
Hi,
I am really sorry that I did not reply sooner.
Thank you for the insight you provided. I’ve split the project in two major parts.Part A is too sell message coupons(1 coupon=100 Baht = 10 Letters – This is to cover our costs for paper and printing) online to users on Woocommerce which must then generate a qr code / barcode using user’s id. Then I need to find a way to print 10 pages with the qr code on top (YITH Gift Card plugin might work with some customizing). The prisoner will write his letter on this page.
Part B is the scanning of the doc and sending to the user, and based on your ideas, I’ve managed to accomplish a few things in the B part:
I can now scan a document to pdf and, using a windows app, read the qr code on the document which then changes the filename to the name found in the qr code. In this case, it is the LINE ID of the user. I can then upload all the files to our server and then send a message through LINE API with the URL of the file which the user can click and retrieve the PDF to their mobile device using LINE app.
However, I have some serious challenges: LINE API does not use user LINE ID, it uses User_ID which is a long number. And to get the User_ID I had to create a bot to capture user data upon making friends, then get User profile data and extract the User_ID. All that said, we have to have a special LINE verified account to get use profiles.
So, I started looking at BuddyPress as a solution where I hope to put the user’s profile id in the QR Code, use it as a filename, save it as such on server and then send the link using to the user’s BuddyPress message inbox. What I have not been able to discover yet is whether BuddyPress API will be able to accommodate the sending of a message via their API containing the URL for the PDF.
I would really appreciate any further ideas or insights you may have in this regard. I do appreciate your time and interest.
Best regards,
Charles
The topic ‘Using WordPress to manage document scan and redistribution’ is closed to new replies.