I have a blog with reasonable number of pdf files. How can I make wordpress look into pdf files when I search it?
Thanks
|
I have a blog with reasonable number of pdf files. How can I make wordpress look into pdf files when I search it? Thanks |
|||||||
|
|
The built in WordPress search doesn't index PDF file contents, however Google does, there's a good tutorial on DevPress on replacing WordPress search with Google Custom Search. |
|||
|
|
You could use the open-source utility, xpdf, to convert the pdf file into a plan text file and search through it like any other text file. Incorporating into WordPress is another thing to worry about though. I used it on my Mac to extract data from my company's quarterly financial statements. You could install under Mac OS X, if you've got MacPorts installed.
You would then need to use the utility You could simply store the result in PHP as a variable
If you'd like to install Check out the xpdf man pages to get an idea of the utility, they've got different tools for different applications. Here's the man page for the Best of luck. |
|||
|
|