louis_coetzee Posted March 3, 2012 Share Posted March 3, 2012 Hi everyone, I do not know if this is the right place to ask the following, but I know all the php guru's read here. So please take a moment to read and please help point me in the right direction. I have a php website that I am developing, it is a job website, where my problem is that I need to be able to extract text from the following file formats: doc, docx, rtf, txt and maybe pdf. I have googled and done research on this subject, but I do not find any php scripts that can do the job properly. I have found a java app developed by apache that does the text extraction perfectly, called apache tika. (calling it using exec is really a problem, since most hosts don't provide root access.) I need a way to use this with php. If you know of any other method that I can do this, please help and suggest as this is a major bridge that I have to cross very urgently. your help will be much appreciated, thanks Quote Link to comment https://forums.phpfreaks.com/topic/258207-php-for-text-extraction-from-commonly-used-documents/ Share on other sites More sharing options...
dannyb785 Posted March 4, 2012 Share Posted March 4, 2012 This doesn't answer your question, but since all resumes are formatted differently, why even have a script than scans them for anything? I mean unless you're scanning them for profanity or something, in which case you should just have a 'notify' option for someone to report the resume in that case. In most jobs sites, you can include your resume, but you're still required to enter your name, address, etc separately so that the info may be inserted into the site's database for indexing purposes. The main question is "What are you scanning for?" and figure out a way to get that information by other means. Quote Link to comment https://forums.phpfreaks.com/topic/258207-php-for-text-extraction-from-commonly-used-documents/#findComment-1323615 Share on other sites More sharing options...
louis_coetzee Posted March 4, 2012 Author Share Posted March 4, 2012 The reason for the text extraction is to make the cv's searchable, to search for keywords within. Quote Link to comment https://forums.phpfreaks.com/topic/258207-php-for-text-extraction-from-commonly-used-documents/#findComment-1323715 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.