[greenstone-users] Re: UnknownPlug and Attributes of import directory

From Michael Dewsnip
DateTue, 17 Jan 2006 14:55:00 +1300
Subject [greenstone-users] Re: UnknownPlug and Attributes of import directory
In-Reply-To (20060112042530-3986-qmail-web8412-mail-in-yahoo-com)
Hi,

> The PDF files in collect/collectioname/import are no longer readonly
> after import and build process. (I am using command line for import
> and build)

I've tried making some PDF files in the import directory read-only and
the files don't change when importing/building. The files in the
archives/building/index folders are of course not read-only because they
have been copied.

Why do you need the files to be read-only? This attribute won't be
preserved when they are accessed through a web-browser. Perhaps if you
explain what you're trying to do we'll be able to understand your
problem better.

> Following is the gsdlassocfile name string from doc.xml. This contains
> the file name. I presume that this is happening because of I am using
> UnknownPlug without any options.
>
> <Metadata name="gsdlassocfile">Brain Storming and Creative Problem
> Solving.pdf:unknown/unknown:</Metadata>

Yes, this is because you're using UnknownPlug. Is PDFPlug not suitable
for this collection?

Regards,

Michael

> */Michael Dewsnip <mdewsnip@cs.waikato.ac.nz>/* wrote:
>
> Hi,
>
> > The contents (PDF files) of import directory of one of the
> collection
> > were marked read only. Surprisingly, after collection building the
> > attribute for all files was now normal and all PDF files were no
> > longer read-only. How this is happening!
>
> Do you mean the files in the import directory are no longer read-only,
> or the files in the archives/index directory are no longer read-only?
> The files in the import directory shouldn't change; the files in the
> archives/index directory are copies and therefore won't be read-only.
>
> > I am using UnknownPlug to import PDF documents, I want to have
> > gsdlassocfile name to be doc.pdf instead of original file name.
> I have
> > tried using some of the options for UnknownPlug, but was not
> successful.
>
> I think the gsdlassocfile metadata is already doc.pdf?
>
> Regards,
>
> Michael
>
>
> Send instant messages to your online friends
> http://in.messenger.yahoo.com
>