Reading a Word Doc

Hello,

I think I need to use CFFile: Read, but am not sure how. I am currently uploading word and pdf documents to my web site automatically and want to store all of the content of each document into a specific database table field. Doees anybody have any idea how I can read the content of a specific word or pdf document, in order to insert this information into a database? It doesn't have to look pretty - I plan on running a keyword search against this content. Thanks for your help...
rajeevmshahAsked:
Who is Participating?
 
YogCommented:
1. upload the document using cffile and upload..

2. convert word to html and store in DB as needed
http://www.cfcomet.com/cfcomet/Word/index.cfm?ArticleID=B70AD80E-3DAF-4CDC-AEA1E8059FD78D43
0
 
cheekycjCommented:
you should store the files in a particular directory and you use CF's search facilities to index and run a search against it.  Probably better than doing your own DB solution for search.  AFAIK, CF can index and search PDF and Word files.
0
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
rajeevmshahAuthor Commented:
Thanks, guys. I like cheekycj's method. Can you please paste some sample code that would allow me to index the documents and run a search? Thanks a lot...
0
 
dawesiCommented:
Check the 'Verity' Section in your CF Docco
0
 
mrichmonCommented:
No comment has been added lately, so it's time to clean up this question.
I will leave the following recommendation in the Cleanup topic area:

Accept cheekycj

Please leave any comments here within the next four days.

mrichmon
EE Cleanup Volunteer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.