(If you don't use the tomcat server search, you can skip this section.) (If you don't use the desktop search, you can skip this section.)Īdd the thumbnailer-Tag in DesktopConfiguration.xml: taglib/thumbnailer.jar: Tag implementations.taglib/regain-thumbnailer.tld : Tag declarations.img/image_missing.png : Example of an image that is shown instead of the thumbnail when thumbnail generation failed.If you didn't modify it, you can overwrite the regain version of search.jsp. search_example.jsp : Modified version of regain/web/common/search.jsp.Extract web/ to your web/-Folder (Server: deployed folder).(Optional) Create an (How to create an OpenOffice Profile). Here are the default values:ĭe.uni_in.ģb. (Delete previous versions of this plugin if you upgrade.)Įdit CrawlerConfiguration.xml to suit your needs. Save javathumbnailer-crawlerplugin-$.jar it into the /plugins/-Folder of regain. Get the recent version of JavaThumbnailer at the Download Page (or (Building from Source), in which case you needn't follow the rest of the steps here.).For an example of usage (and configuration), see the code in Main.java. To use it in your own project, include this.To run it via the commandline: java -jar javathumbnailer-standalone.jar input.doc. Get the recent version of JavaThumbnailer at the Download Page (or (Building from Source).).For integration into the regain Desktop search, take the Regain Plugin Version.Įxternal Dependencies: In any case, you should install LibreOffice/OpenOffice as well if you want to convert office files.If you want to include this as a library to your own project, or use it from command-line only, you should take the Standalone Version.There are two versions of JavaThumbnailer:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |