SearchWP Xpdf Integration

Product ID: 4577
By: OryMai
0
Add to compare

Original price was: $ 54.00.Current price is: $ 3.49.

Sold by
OryMai
Software Version
Compatible With
Tags:
  • Description
  • Disclaimer
  • Reviews

Searchwp Xpdf Integration

SearchWP offers the unique feature of extracting plain text from PDF files uploaded to your WordPress website. Out of the box, SearchWP attempts to do this using only PHP, but due to the complexity and variation of the PDF format that sometimes results in content not being accurately extracted. Enterย Xpdf.

Xpdfย has a set of command line tools thatย must be installed on your serverย in order for this Extension to work. Instructions are included here.

Using the Xpdf Integration Extension you can offload all the work PHP has to do in processing your PDF files to Xpdfโ€™s command line tools, which are extremely fast and accurate when extracting content from your PDFs. After activating the Extension, you will need to follow the installation instructions. Once installed, SearchWP will offload the PDF content extraction process to Xpdf.

Installing Xpdf command line tools

Using this extension you can utilizeย Xpdfย to extract the content from your PDFs.

IMPORTANT:ย Xpdf command line tools are not provided in this Extension download. Youย mustย follow these instructions to download the command line tools and upload them to aย non-publicย (outside your Web root) location.

You can download the Xpdf command line tools for both Windows and Linux atย http://www.xpdfreader.com/download.html.

Installation

Once you have downloaded theย command line toolsย for your server type:

  1. Extractย xpdf-tools-linux-4.03.tar.gzย (the version number may be different)
  2. Upload theย pdftotextย binary (found in either theย bin32ย orย bin64ย directory after extracting, depending on your server architecture) to aย non-publicย location, outside your Web root
  3. Upload theย pdfinfoย binary (found in either theย bin32ย orย bin64ย directory after extracting, depending on your server architecture) to aย non-publicย location, outside your Web root
  4. Ensure that bothย pdftotextย andย pdfinfoย have execute permissions for the PHP user on your server

The last step is to tell SearchWP Xpdf Integration where you installedย pdftotextย andย pdfinfo. To do this:

Add the following to yourย SearchWP Customizationsย plugin,ย replacingย /path/to/pdftotextย with the actual pathย to theย pdftotextย andย pdfinfoย binaries (not the folder)ย on your server.

// Tell SearchWP the location of the pdftotext binary.
add_filter( 'searchwp_xpdf_path', function() {
    return '/home/johndoe/pdftotext'; // Full absolute path to the binary NOT A FOLDER, NOT A URL.
} );

// Tell SearchWP the location of the pdfinfo binary.
add_filter( 'searchwp_pdfinfo_path', function() {
    return '/home/johndoe/pdfinfo'; // Full absolute path to the binary NOT A FOLDER, NOT A URL.
} );

Thatโ€™s it!

See also:ย Adding PDF password support

Manually Testing Xpdf Integration

After uploading and activating the Xpdf Integration Extension and defining your path toย pdftotext, you can manually confirm that Xpdf text extraction is working as expected on specific PDFs uploaded to your Media library. Begin by going to the SearchWP Settings screen (Settings > SearchWP) and find the Xpdf Integration link in the Extensions on the SearchWP settings screen.

On the Xpdf Integration Testing screen, you can enter in the ID of the PDF youโ€™d like to test:

Screen Shot 2013-12-09 at 11.34.24 AM

The ID can be found by navigating to your Media section and then clicking the Edit link of your PDF, the ID will be in the URL, followed byย post=

After submitting a valid ID you will be given a detailed log of the steps taken by the Xpdf Integration Extension as well as any failure points that may have occurred. Youโ€™re also shown the exact content Xpdf extracted from the PDF:

Screen Shot 2013-12-09 at 11.36.16 AM

If the log displays a point of failure, please include that in any support requests you submit.

> We do not offer any additional services from authors, such as product customization or license keys. We are not affiliated or associated in any way with any third party developers or trademark owners.
> This product is intended for testing purposes only. To respect the original developer, we still recommend you to purchase the original product through the official sales site.
> 100% Clean Files & Free From Viruses & Free From Malware
> Unlimited Use
> Instant Download

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “SearchWP Xpdf Integration”

Original price was: $ 54.00.Current price is: $ 3.49.

Sold by
OryMai
Software Version
Compatible With
Tags:
Compare items
  • Total (0)
Compare
0
Limited Time Offer

Save More, Buy More!

Exclusive bulk discount on all digital product categories. The more you buy, the more you save!

โณ Offer expires in
00 Days
:
00 Hours
:
00 Mins
:
00 Secs
๐ŸŽ Bulk Discount Tiers โ€” All Categories
๐Ÿ›’
Buy 3 Items Any digital product category
5% OFF
๐Ÿ“ฆ
Buy 5 Items Any digital product category
10% OFF
๐Ÿ† Best Deal
๐Ÿš€
Buy 10+ Items Any digital product category
15% OFF
๐Ÿ›๏ธ Shop Now & Save Big

Valid until May 31, 2026  ยท  All categories included  ยท  Discount applied automatically at checkout.

Shopping cart