Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services
All questions about EDocman extension

Edocman customization

More
13 years 9 months ago #19663 by msn67
Replied by msn67 on topic Re: Edocman customization
Finally I customised code and I build a system according to my needs.
The only thing I wanted to ask is about searching inside doc and pdf documents uploaded in the server.
In plugin file edocman.php indexed_content field of edocman_documets table is used for this (I guess). But how i populate this field for every document I upload on server? Is there any additional tool? PDF indexer maybe?

Thank you

Please Log in or Create an account to join the conversation.

More
13 years 9 months ago #20607 by msn67
Replied by msn67 on topic Re: Edocman customization
Is it possible to have an answer on my previous question regarding document indexing? :)

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
13 years 9 months ago #20628 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Edocman customization
Hi

Yes. It needs an extra plugin called EDocman Indexer. Please see www.joomdonation.com/74-edocman/16396-ed...n-release.html#17880

Tuan

Please Log in or Create an account to join the conversation.

More
13 years 9 months ago #20680 by msn67
Replied by msn67 on topic Re: Edocman customization
Hi Tuan,
Thnx for your reply.

I installed indexer. The first problem I noticed is that file adapter.php is not installed and I put it manually on plugins/edocman/indexer.
I tried to create a new doc with a pdf file ( in the administrator side) but no index occurred. The field indexed_content is null.

I had a look in your code and I found out that the binary pdftotext was not executable and accessible for all users so I changed to 777 mode (I use a Mac and the server is within my Mac). But still no result. Then I tried to run the command

pdftotext -enc UTF-8 filename 2>&1

from your pdf.php file and it produced a txt file with all content of the pdf file which in normal situation I guess it feeds indexed_content field.

Do you have any idea where the problem might be?

Please Log in or Create an account to join the conversation.

Moderators: Dang Thuc Dam