Oh. Actually If I put [NumPages] in format features, I will get the number of pages in the entire document, which is not the goal. The goal is to get the total number of pages in all the documents, so i am trying to put [NumPages] in
collect.cfg as given below:
collectionmeta collectionextra [l=en] " No of Pages: [NumPages] "
Actually I want to give the total no of pages in the entire collection at About Page of this collection.
Ata
On 2/21/07, shaoqun@cs.waikato.ac.nz <shaoqun@cs.waikato.ac.nz
> wrote:Hello Ata,
Can you see it in the gli's enrich panel (ex.NumPages
) ? Where did you put [NumPages]? It should go into a format statement (gli->format) not macros files. Please ignore _1_ and pages as they have nothing to do with the number of pages.
Regards Shaoqun
> Thank you very much Shoaqun for your prompt response: I changed the index > on > section level and made PDFPlug to use sections option but the output for > the > following code: >
> No of pages: pages <br> > No of pages: _1_ <br> > No of pages: [NumPages] > > is as under: > > No of pages: pages > No of pages: > No of pages: [NumPages]
> > > :( > > Ata > > On 2/20/07, sw64@cs.waikato.ac.nz <sw64@cs.waikato.ac.nz> wrote:
>> >> hello Ata, >> >> Sorry, I got it wrong again. The number of pages is stored as extracted >> metadata [NumPages], you can see it in gli's Enrich panel and refer to >> it
>> in a format statement. >> >> Regards >> Shaoqun >> >> >> > Hello Ata, >> > It sould be _1_ rather than pages. >> > >> > Regards
>> > Shaoqun >> > >> >>> Hello Ata, >> >>> >> >>> You can get it from pages macro in document.dm, and make sure you
>> >> build the >> >>> index on the section level and use the use-sections option of >> PDFPlug. >> >>> >> >>> Regards >> >>> Shaoqun
>> >>> >> >>>> Dear All >> >>>> >> >>>> I have a collection of PDF files on Windows 2003 server using GSDL >> >>>> 2.71
. >> >>>> I >> >>>> can count the number of documents by _numdocs_. Now each document >> can >> >>>> have >> >>>> more than one page. How I can count no of pages in these
>> documents? >> >>>> Any >> >>>> macro, or other idea? >> >>>> >> >>>> >> >>>> Regards, >> >>>>
>> >>>> Ata ur Rehman, >> >>>> >> >>>> Librarian, >> >>>> Akhter Hameed Khan Resource Center (AHKRC), >> >>>> NRSP-Institute of Rural Management,
>> >>>> F-6/4, Islamabad >> >>>> >> >>>> Ph: +92 51 2822752 >> >>>> +92 51 2822792 >> >>>> >> >>>>
http://www.irm.edu.pk/ >> >>>> _______________________________________________ >> >>>> greenstone-users mailing list >> >>>>
greenstone-users@list.scms.waikato.ac.nz >> >>>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>> >>>> >> >>> >> >> >> >> >> >> >> >> >> > >> > >> > >> > >>
>> >
|