Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Reading a Word Doc

Posted on 2002-04-12
7
Medium Priority
?
137 Views
Last Modified: 2013-12-24
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...
0
Comment
Question by:rajeevmshah
6 Comments
 
LVL 5

Expert Comment

by:Yog
ID: 6937566
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
 
LVL 19

Expert Comment

by:cheekycj
ID: 6938691
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
 

Author Comment

by:rajeevmshah
ID: 6939078
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
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

 
LVL 1

Expert Comment

by:dawesi
ID: 6939517
Check the 'Verity' Section in your CF Docco
0
 
LVL 19

Accepted Solution

by:
cheekycj earned 800 total points
ID: 6942257
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 10784696
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What You Need to Know when Searching for a Webhost Provider
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question