| View previous topic :: View next topic |
| Author |
Message |
Lefteous Power Member


Joined: 08 Feb 2003 Posts: 7671 Location: Germany
|
Posted: Sat May 14, 2005 5:42 pm Post subject: xPDFSearch 1.05 - Content plugin to search text in PDF files |
|
|
Current version 1.05
A new version is ready for download. The new version includes important bugfixes for security problems. I have also added support for extracting Unicode metadata. Total Commander 7.50 is required to display Unicode metadata. Please note that Unicode isn't currently supported for PDfs in file paths containing Unicode and not for full text searches.
The complete list of changes can be viewed online.
Plugin page: Download, description und documentation
totalcmd.net
My website
Last edited by Lefteous on Sun May 03, 2009 4:13 am; edited 7 times in total |
|
| Back to top |
|
 |
Lefteous Power Member


Joined: 08 Feb 2003 Posts: 7671 Location: Germany
|
|
| Back to top |
|
 |
petermad Power Member


Joined: 05 Feb 2003 Posts: 5350 Location: Valsted, Denmark
|
Posted: Mon May 16, 2005 4:30 am Post subject: |
|
|
I give you a Danish tranlation here:
[dan]
Text=Tekst
Title=Titel
Subject=Emne
Keywords=Stikord
Author=Forfatter
Application=Anvendelse
PDF Producer=PDF fremstillet med
Number of Pages=Sideantal _________________ #524
Danish Total Commander Translator
Windows XP Home 32bit SP3 & Windows 7 Home Premium 64bit SP1 and Windows 8. TC 8.01 32 + 64bit
Get Extended Total Commander Menus |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24590 Location: Switzerland
|
Posted: Mon May 16, 2005 10:44 am Post subject: |
|
|
2Lefteous
Wow, nice plugin! One little problem: You don't seem to close the PDF file after searching for text in it, so it cannot be deleted until TC is closed and re-opened.
You need to close the file either when there is no more data (when returning ft_fieldempty), or when there is a match. From the help: If there is a match, TC signals the plugin that it can delete the cached data by calling ContentGetValue with UnitIndex set to -1! _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Lefteous Power Member


Joined: 08 Feb 2003 Posts: 7671 Location: Germany
|
Posted: Mon May 16, 2005 12:27 pm Post subject: |
|
|
2petermad
Thanks for the translation. I will add to the next release. To complete the translation a danish translation for the plugin description in pluginst.inf would nice. |
|
| Back to top |
|
 |
yeellow Junior Member


Joined: 18 Nov 2003 Posts: 28
|
Posted: Mon May 16, 2005 1:03 pm Post subject: |
|
|
Hello,
your plugin looks really good, but how can I display pdf title? It would be great to have the possibility to rename pdf file using it's title (and other fields also). I have many downloaded files named for example igfffe908fe.pdf and I would love to be able to automatically change their names. If that's not yet possible, even display the title would be good, I would than just copy the name and rename the file. Much faster than opening Acrobat, coping title, closing Acrobat and renameing the file...
Regards,
Marcin |
|
| Back to top |
|
 |
Lefteous Power Member


Joined: 08 Feb 2003 Posts: 7671 Location: Germany
|
Posted: Mon May 16, 2005 1:35 pm Post subject: |
|
|
2yeellow
That should be possible. Select the files to rename. Open the multi rename tool. For the rename mask click the plugin button and choose xpdfsearch/title. |
|
| Back to top |
|
 |
norfie Power Member


Joined: 18 Feb 2003 Posts: 1194
|
Posted: Mon May 16, 2005 1:37 pm Post subject: |
|
|
2Lefteous
Thank you very much for this useful plugin.
2yeellow
| Quote: | | but how can I display pdf title? | This is possible with "custom columns" and/or "custom tooltips".
| Quote: | | It would be great to have the possibility to rename pdf file using it's title | It's possible too with multi rename tool. |
|
| Back to top |
|
 |
petermad Power Member


Joined: 05 Feb 2003 Posts: 5350 Location: Valsted, Denmark
|
Posted: Mon May 16, 2005 2:19 pm Post subject: |
|
|
2Lefteous
| Quote: | | To complete the translation a danish translation for the plugin description in pluginst.inf would nice |
Sorry that I didn't provide that in the first place - here it is:
| Code: | description=xPDFSearch kan bruges til at foretage fuldtekst søgning i PDF filer. Desuden stiller xPDFSearch meta data information fra PDF filer til rådighed.
|
_________________ #524
Danish Total Commander Translator
Windows XP Home 32bit SP3 & Windows 7 Home Premium 64bit SP1 and Windows 8. TC 8.01 32 + 64bit
Get Extended Total Commander Menus |
|
| Back to top |
|
 |
yeellow Junior Member


Joined: 18 Nov 2003 Posts: 28
|
Posted: Mon May 16, 2005 2:40 pm Post subject: |
|
|
| Lefteous wrote: | 2yeellow
That should be possible. Select the files to rename. Open the multi rename tool. For the rename mask click the plugin button and choose xpdfsearch/title. |
Thanks! I must be blind . It works, but there is a problem. When I look for a title, I expect the title I see when I open the document. But when I tested your plugin on the pdf's I have on my disk it shows rather something like "F:FSBD4-3FS009" instead of a proper title. It is the case both for pdf files version 1.2 and 1.4. I checked wih many other files and it most of the time shows the wrong title (well, not the one I see on the top of the document I open . Maybe it's because of authors, who do not pay attention and set Title fileld randomly... Do you know the issue?
Regards
Marcin |
|
| Back to top |
|
 |
Lefteous Power Member


Joined: 08 Feb 2003 Posts: 7671 Location: Germany
|
Posted: Mon May 16, 2005 3:08 pm Post subject: |
|
|
2yeellow
Just to be sure we are talking about the same thing. The title is what the author of the PDF file saved as title. To ensure the plugin displays the proper information open the document properties in your Acrobat Reader (Ctrl+D) in watchout for the title. Let me know if it differs from the title displayed by the plugin.
The title in PDF is a metadata information and not part of the document text. But why not introduce a new field "first line"  |
|
| Back to top |
|
 |
nevidimka Senior Member


Joined: 20 Jun 2004 Posts: 385
|
Posted: Tue May 17, 2005 12:55 am Post subject: |
|
|
2Lefteous
Many thanx for realisation this request
[REQ] Content plugin for full-text-search in PDF, DOC.
This makes my day.
 _________________ The doorstep to the temple of wisdom is a knowledge of our own ignorance. Benjamin Franklin |
|
| Back to top |
|
 |
nevidimka Senior Member


Joined: 20 Jun 2004 Posts: 385
|
Posted: Tue May 17, 2005 5:23 am Post subject: |
|
|
| Quote: | | One little problem: You don't seem to close the PDF file after searching for text in it, so it cannot be deleted until TC is closed and re-opened. | Confirmed. A cm_UnloadPlugins helps too (faster than closing/re-opening of TC).  _________________ The doorstep to the temple of wisdom is a knowledge of our own ignorance. Benjamin Franklin |
|
| Back to top |
|
 |
yeellow Junior Member


Joined: 18 Nov 2003 Posts: 28
|
Posted: Wed May 18, 2005 8:29 am Post subject: |
|
|
| Lefteous wrote: | 2yeellow
Just to be sure we are talking about the same thing. The title is what the author of the PDF file saved as title. To ensure the plugin displays the proper information open the document properties in your Acrobat Reader (Ctrl+D) in watchout for the title. Let me know if it differs from the title displayed by the plugin.
The title in PDF is a metadata information and not part of the document text. But why not introduce a new field "first line"  |
Yes, you are right. It's author's fault.... The field "first line" would be good, but in many cases it would be author's name or publisher's name, or so... The problem is, that we can see the title with no troubles, but for a computer it's much more tricky . I don't know much about pdf format, so I don't know if it's possible to define some parametres that all titles have in common. Like bigger font size, aligment center, etc... Human lazyness it's always the biggest problem, if only the proper fields were filled.... .
Regards,
Marcin |
|
| Back to top |
|
 |
Lefteous Power Member


Joined: 08 Feb 2003 Posts: 7671 Location: Germany
|
Posted: Wed May 18, 2005 10:03 am Post subject: |
|
|
2yeellow
| Quote: | | Yes, you are right. It's author's fault.... The field "first line" would be good, but in many cases it would be author's name or publisher's name, or so... The problem is, that we can see the title with no troubles, but for a computer it's much more tricky Sad. I don't know much about pdf format, so I don't know if it's possible to define some parametres that all titles have in common. Like bigger font size, aligment center, etc... Human lazyness it's always the biggest problem, if only the proper fields were filled.... Smile. |
OK what about a "first page" field instead.
It would be still much faster than searching the whole document. |
|
| Back to top |
|
 |
|