Wordpress plugin for searching email attachments (usually a text file, such as doc or Pdf)

I am looking for a plugin to expand the search in the contents of attachments (usually a text file such as doc or Pdf).

+4
source share
4 answers

This section in the WordPress support forums solves this issue and offers Google Custom Search , which should theoretically search for PDFs and DOCs, and it would be easy to set up and try, or Search Everything , which may be what Jeff said, doesn't work in his comment higher.

There is also a Sphider Wordpress plugin , a search plugin that claims to support indexing of PDF and DOC files. It may be harder to set up, but this is the best option I can find.

+2
source

I had the same need (indexing the contents of downloaded files), and I was surprised that the plugin does not allow this. The above does not work, and the search yielded nothing.

So, I wrote one.

It works, we use it at work. It's not super friendly - it takes a bit of experience to ensure that java and dependency (apache tika) work, but it does the trick.

I can update it and send to wordpress plugins, but meanwhile, if this helps someone:

http://avatari.net/public/wordpress/masala/

+2
source

Problem: You need to use WordPress search to find text in the downloaded PDF files.

Decision:

Step 1. Upload your pdf file (s)

Step 2. In the description of each pdf insert, specify the following:

Click the link above to view the PDF

Step 3. Copy the text from pdf and paste it above, instead of PDFDOCUMENTTEXT

Step 4. Install Search All Plugin, and then activate. Your search queries should now return results, including a list of attachment pages that include text in pdf files, but will direct the user to a pdf link.

If anyone else knows how best to do this, let me know.

0
source

I found one solution. Perhaps this will work for you too:

Masala Plugin: https://github.com/nanodust/masala , which actually add a new message meta-field when loading any doc / pdf / ppt / txt file. It puts the contents of the file into the newly created meta field

This plugin uses: 1) Java 2) Apache Tick - very cool 3) Search for all plugins that are responsible for searching the meta table.

Here you need to configure: 1) Java path 2) Download the latest apache tika jar, and you can put it in the project root folder and configure the path in masala.php 4) Give the allowed file extensions.

IT IS MADE !!

0
source

Source: https://habr.com/ru/post/1312452/


All Articles