[greenstone-users] Re: PPTPlug and PagedImgPlug

From Katherine Don
DateWed, 04 Jan 2006 15:20:26 +1300
Subject [greenstone-users] Re: PPTPlug and PagedImgPlug
In-Reply-To (20060103104022-49586-qmail-web8408-mail-in-yahoo-com)
Hi

This option works for me with PDFPlug. Are you using the GLI to build
your collection?
Did you edit the collection config file while the collection was open in
the GLI? In which case the changes will not be saved.
What is the output from building? I get a message like
The file
/research/kjdon/home/gsdl/collect/sharadj/tmp/mgpp_user/mgpp_user.item
is being processed by PagedImgPlug.

for each PDF file.

Do you get something different? Can you try in expert mode - do you get
any error messages?

Regards,
Katherine


Sharad Jadhav wrote:
>
> Hi,
>
> With best wishes for new year, thank you, all there at GSDL development
> at University of Waikato and list members for the wonderful support and
> inputs that we have received regarding development of digital library
> with GSDL.
>
> Further, regarding my earlier query, I am now able to make a
> hierarchical document (containing Table of Contents) from PPTs as
> original source material using PPTPlug and PagedImgPlug. I am trying to
> do the same with PDF files. But even assigning the options to PDFPlug as
> PDFPlug -convert_to pagedimg_jpg But while importing PDF documents, they
> are converted in HTML format and not PagedImg.
>
>
> Regards,
>
> Sharad Jadhav,
> National Insurance Academy,
> Pune 45
> India
>
>
>
>
>
>
> */Katherine Don <kjdon@cs.waikato.ac.nz>/* wrote:
>
> Hi Sharad
>
> PagedImgPlug has an option to display the documents with hierarchical
> table of contents instead of the go to page box.
> This option is -documenttype hierarchy
> Unfortunately, at the moment, from the configuration file there is no
> way to pass arguments to sub plugins (ones used from within other ones).
>
> You can do it by editing the gsdl/perllib/plugins/PPTPlug.pm file. Look
> for the line that looks like
>
> my $pageimg_options = $secondary_plugin_options->{'PagedImgPlug'};
>
> Add the following line after it:
> push(@$pageimg_options,"-documenttype", "hierarchy");
>
> Hopefully this will achieve what you are after.
>
> Regards,
> Katherine
>
> Sharad Jadhav wrote:
> > Hi,
> >
> > I am using Greenstone 2.62. Thanks for your support. I
> > am now able to display images of slides as pages with
> > page navigation facility. I think I was making some
> > mistake in format document string. Few more things I
> > am trying to do. I am trying to use go to page option,
> > but after entering a valid page number, nothings
> > happens (can I remove this button in future). Can I
> > remove the page navigation arrows which are displayed
> > on the top of the images. Can I display table of
> > contents of the slides with title of each slide as
> > title for the page. ( I am getting the page title as
> > page navigation arrows).
> >
> > Sharad Jadhav,
> > National Insurance Academy,
> > Pune, India
> >
> >
> >
> >
> > --- Katherine Don wrote:
> >
> >
> >>Hi Sharad
> >>
> >>I'm not sure what you are getting.
> >>When I start a new collection, add power point
> >>documents, configure
> >>PPTPlug with -convert_to pagedimg_jpg
> >>-windows_scripting, and build, I
> >>get documents with next and previous page arrows.
> >>Each page displays the text.
> >>If I replace [Text] in the DocumentText format
> >>statement with
> >>{If}{[parent:FileFormat] eq PPT, [srcicon],[Text]},
> >>then I get the
> >>images displayed instead of the text.
> >>
> >>I think this is what you want isn't it?
> >>
> >>What version of greenstone are you using? I am using
> >>2.62.
> >>If you can't get it working, some screenshots
> >>showing what you are
> >>actually seeing, and your config file would help.
> >>
> >>Regards,
> >>Katherine
> >>
> >>Sharad Jadhav wrote:
> >>
> >>>Hi,
> >>>
> >>>I tried to work on suggestion sent by you. Putting
> >>
> >>[srcicon] is
> >>
> >>>displaying the original PPTs. I have built a
> >>
> >>collection of PPT document.
> >>
> >>>I can see the original PPT and corressponding
> >>
> >>images ( 20 images for PPT
> >>
> >>>of 20 slides named a slide1.gif,
> >>
> >>slide2.gif,......,silde20.gif). Now I
> >>
> >>>want to use these images a pages ( with navigation
> >>
> >>from page1, page2,...).
> >>
> >>>
> >>>Is this possible.
> >>>
> >>>
> >>>Regards,
> >>>
> >>>Sharad Jadhav
> >>>NIA, Pune, India
> >>>
> >>>
> >>>
> >>>*/Katherine Don /* wrote:
> >>>
> >>> Hi Sharad
> >>>
> >>> You will most likely need to modify your
> >>
> >>DocumentText format statement.
> >>
> >>> The default will only display [Text], but with
> >>
> >>pagedimg PPTS, you want
> >>
> >>> [srcicon] (I think).
> >>>
> >>>
> >>
> >
> http://www.greenstone.org/cgi-bin/library?e=p-en-faq-utfZz-8&a=p&p=faqcustomize#customizeformat
> >
> >>> has some more information about format
> >>
> >>statements.
> >>
> >>> If you have other document types in your
> >>
> >>collection, you might want to
> >>
> >>> use something like
> >>>
> >>> {If}{[parent:FileFormat] eq PPT,
> >>
> >>[srcicon],[Text]}
> >>
> >>> Regards,
> >>> Katherine
> >>>
> >>> Sharad Jadhav wrote:
> >>> > Hi,
> >>> >
> >>> > We are trying to build a collection based on
> >>
> >>some .ppt
> >>
> >>> > documents. PPTPlug and PagedImgPlug plugins
> >>
> >>are
> >>
> >>> > declared in collect.cfg files. However while
> >>
> >>browsing
> >>
> >>> > the contents, along with original format of
> >>
> >>document
> >>
> >>> > (i.e. PPT), text format of document is also
> >>
> >>availble
> >>
> >>> > for browsing, but not images as slides of
> >>
> >>PPT document
> >>
> >>> > are displayed. Index directory contains
> >>
> >>images for
> >>
> >>> > each slide.
> >>> >
> >>> > extract of collect.cfg file:
> >>> >
> >>> > plugin PPTPlug -windows_scripting
> >>
> >>-convert_to
> >>
> >>> > pagedimg_gif
> >>> > plugin PagedImgPlug
> >>> > plugin GAPlug
> >>> > plugin ArcPlug
> >>> > plugin RecPlug -use_metadata_files
> >>> >
> >>> >
> >>> > Why images of each slide of the PPT is now
> >>
> >>available
> >>
> >>> > for browsing. Is the declarations in
> >>
> >>collect.cfg file
> >>
> >>> > is insufficient? Installed version of
> >>
> >>ImageMagick is
> >>
> >>> > 6.2.5 Q16.
> >>> >
> >>> > Sharad Jadhav
> >>> > NIA,Pune, India
> >>> >
> >>> >
> >>> >
> >>> >
> >>
> > __________________________________________________________
> >
> >>> > Enjoy this Diwali with Y! India Click here
> >>> http://in.promos.yahoo.com/fabmall/index.html
> >>> >
> >>> >
> >>
> >>_______________________________________________
> >>
> >>> > greenstone-users mailing list
> >>> > greenstone-users@list.scms.waikato.ac.nz
> >>> >
> >>
> > https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
> >
> >>> >
> >>> >
> >>>
> >>>
> >>>
> >
> ------------------------------------------------------------------------
> >
> >>>Enjoy this Diwali with Y! India Click here
> >>>
> >>
> >
> >
> >
> >
> > __________________________________________________________
> > Enjoy this Diwali with Y! India Click here
> http://in.promos.yahoo.com/fabmall/index.html
> >
> >
>
>
> Send instant messages to your online friends http://in.messenger.yahoo.com
>