Re: [greenstone-users] Extracting date from foldername

From Admin
DateWed, 2 Aug 2006 20:20:50 -0500
Subject Re: [greenstone-users] Extracting date from foldername
In-Reply-To (EE1AF18EB3686C459A38EBECE3BD51988D64B5-ex1-its-waikato-ac-nz)
Hi James,
As I understood, you just want to assign a particular year to a bunch of articles. I'm not sure if my way is good for you.
I did almost the same by creating the hierarchy  for every folder without using any metadata. All articles in the folder will be shown up under assigned year.
 
For instance
 
2006 |
 
 
Regards,
Galina
 
 
 
----- Original Message -----
Sent: Wednesday, August 02, 2006 7:00 PM
Subject: RE: [greenstone-users] Extracting date from foldername

Thanks Malathy,

 

As I said in my email, I don’t want to have to manually set the metadata for each folder (There are 164 of them).

The folders are already named by their year, is it possible to use the folder names as extracted metadata?

 

Regards,

 

James Brunskill

Library Systems Consultant

The University of Waikato

Ph: +64 7 838 4323


From: Malathy S [mailto:malathysgurunath@hotmail.com]
Sent: Tuesday, 1 August 2006 7:37 p.m.
To: James Brunskill
Subject: RE: [greenstone-users] Extracting date from foldername

 

 


Mr. James Brunskill,

You may assign global date metadata to each folder or you may just name your folder with year name ie, 2006,2005 and so on and then use extracted metadata

malathy

From:  "James Brunskill" <brunskil@waikato.ac.nz>
To:  <greenstone-users@list.scms.waikato.ac.nz>
Subject:  [greenstone-users] Extracting date from foldername
Date:  Tue, 1 Aug 2006 12:09:48 +1200
I have a bunch of documents stored in folders based on there year of
publication. Can anyone think of an easy way to automatically extract
that as date metadata for the files in the folder? There are a lot of
years between 1841-2006, so I don't want to do it manually...

I guess I could write a perl script to create metadata.xml files? Any
other suggestions?

Regards,

James Brunskill
Library Systems Consultant
The University of Waikato
Ph: +64 7 838 4323


_______________________________________________
greenstone-users mailing list
greenstone-users@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users


_______________________________________________
greenstone-users mailing list
greenstone-users@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users