User Tools

Site Tools


en:user:exporting_collections

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:user:exporting_collections [2017/02/20 04:14] anupamaen:user:exporting_collections [2023/03/13 01:46] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +
 +
 +
 ====== Exporting collections ====== ====== Exporting collections ======
  
Line 4: Line 7:
 Greenstone 2 can export collections to CD/DVD-ROMs. Greenstone 2 can export collections to CD/DVD-ROMs.
  
 +**NOTE:**\\ Collections with **Lucene as indexer and/or JDBM as database type won't work with Greenstone 2 collections exported to CD-ROM**. Lucene and JDBM work with Java and Java is not part of the export, so searching (lucene) and browsing (jdbm) won't work.\\ We advise that collections built with lucene and/or jdbm are rebuilt with mgpp as indexer and gdbm as database before exporting.
  
 ===== Commandline export ===== ===== Commandline export =====
  
- 
- 
-<!--<TABAREA tabs="Greenstone3,Greenstone2"> 
-<TAB> 
-In Windows: 
-<code> 
-cd C:\Users\<username>\Greenstone3 
-gs3-setup 
-</code> 
- 
-\\ 
-In Linux, cd to Greenstone directory: 
-<code> 
-source gs3-setup.bash 
-</code> 
-\\ 
- 
-Move into the directory of the collection you want to export: 
- 
-<code> 
-cd web\sites\localsite\collect\<collection-name> 
-</code> 
-</TAB> 
---> 
-<!-- 
-################################################################################################ 
---> 
-<!--<TAB>--> 
 In Windows: In Windows:
 <code> <code>
Line 52: Line 27:
 cd collect\<collection-name> cd collect\<collection-name>
 </code> </code>
- 
-<!--</TAB> 
-</TABAREA>--> 
  
  
Line 83: Line 55:
   * There is no graphical way to produce the disc. Specifically, there is no option in a GS3 installation's GLI that will "export to CD-ROM" even if the infrastructure exists.   * There is no graphical way to produce the disc. Specifically, there is no option in a GS3 installation's GLI that will "export to CD-ROM" even if the infrastructure exists.
  
-In short, GS3 is still be able to produce content for discs that can run on machines running the same OS as where the content was generated. This needs to be tested to confirm it still works. \\Assuming the feature is still functioning, this is one step up from what GS2 was able to do, which is to only output windows-compatible disc content.+In short, GS3 is still be able to produce content for discs that can run on machines running the same OS as where the content was generated. This needs to be tested to confirm it still works.\\ Assuming the feature is still functioning, which it //was// when last tested on Linux, Mac and Windows on 7th-9th Oct 2015, this is one step up from what GS2 was able to do, which is to only output windows-compatible disc content.
  
 //**Instructions**// //**Instructions**//
-  - you'd set up the collections you want to transfer to  the DVD by creating and building them with any indexer other than solr. Just preview your collections to make sure they look okay and work locally as expected. +  - you'd set up the collections you want to transfer to the DVD by creating and building them with any indexer other than solr. Just preview your collections to make sure they look okay and work locally as expected. 
-  - Then write the entire GS3 installation out to your DVD, collections and all (and especially including the modification to build.xml that you made in steps 1 to 4). My linux GS3 installation does not fit on a CD-RW, I'm not sure if a GS3 installation has a larger or smaller footprint on a Mac and Windows.+  - Then write the entire GS3 installation out to your DVD, collections and all. My linux GS3 installation does not fit on a CD-RW, I'm not sure if a GS3 installation has a larger or smaller footprint on a Mac and Windows.
   - Now you've burnt your disc, you should be able to run the ./gs3-server.sh script off it. I tried running the script from a terminal and it worked and my Greenstone DL was serving my collections.   - Now you've burnt your disc, you should be able to run the ./gs3-server.sh script off it. I tried running the script from a terminal and it worked and my Greenstone DL was serving my collections.
 The very first time you run gs3-server.sh, it can take some time for it to set things up: it needs to copy a lot of files to your machine's temp area. In my case, the /tmp/greenstone folder is 134MB. But it would depend on how big the log files end up getting. The very first time you run gs3-server.sh, it can take some time for it to set things up: it needs to copy a lot of files to your machine's temp area. In my case, the /tmp/greenstone folder is 134MB. But it would depend on how big the log files end up getting.
Line 150: Line 122:
  
  
-===== <!-- id:44 -->Using a Greenstone CD-ROM =====+===== Using a Greenstone CD-ROM =====
  
-<!-- id:45 -->The Greenstone digital library software itself comes on a CD-ROM, +The Greenstone digital library software itself comes on a CD-ROM, 
 and you or your system manager have probably installed it on your system, following and you or your system manager have probably installed it on your system, following
  the instructions in the //Greenstone Digital Library Installer's Guide.// If so,   the instructions in the //Greenstone Digital Library Installer's Guide.// If so, 
 Greenstone is already installed on your computer and you should skip the rest of this section. Greenstone is already installed on your computer and you should skip the rest of this section.
  
-<!-- id:46 -->Some Greenstone collections come on a self-contained Greenstone CD-ROM +Some Greenstone collections come on a self-contained Greenstone CD-ROM 
 that includes enough of the software to run just that collection. To use it, simply put  that includes enough of the software to run just that collection. To use it, simply put 
 it into the CD-ROM drive on any Windows PC. Most likely (if “autorun” is enabled on your PC), it into the CD-ROM drive on any Windows PC. Most likely (if “autorun” is enabled on your PC),
Line 166: Line 138:
 respond //yes// to all the questions. respond //yes// to all the questions.
  
-<!-- id:47 -->When the installation procedure has finished, you'll find the library in +When the installation procedure has finished, you'll find the library in 
 the //Programs// submenu of the Windows //Start// menu, under the name of the collection  the //Programs// submenu of the Windows //Start// menu, under the name of the collection 
 (for example, “Development Library” or “United Nations University”). (for example, “Development Library” or “United Nations University”).
  
-<!-- id:48 -->Once the software has been installed, the library will +Once the software has been installed, the library will 
 be entered automatically every time you re-insert the CD-ROM if autorun is enabled. be entered automatically every time you re-insert the CD-ROM if autorun is enabled.
  
  
  
-<!-- /mv:2 -->+
  
  
Line 191: Line 163:
  
  
-<TABAREA tabs="Greenstone3,Greenstone2"> +<tabbox Greenstone3>
-<TAB>+
 The tutorial on [[http://files.greenstone.org/tutorial/gs3-current/en/greenstone_to_dspace.htm|moving a collection from Greenstone to DSpace]] demonstrates how to export a collection via the commandline. The tutorial on [[http://files.greenstone.org/tutorial/gs3-current/en/greenstone_to_dspace.htm|moving a collection from Greenstone to DSpace]] demonstrates how to export a collection via the commandline.
-</TAB> +<tabbox Greenstone2>
-<TAB>+
 The following tutorials involve exporting collections: The following tutorials involve exporting collections:
   * [[http://wiki.greenstone.org/wiki/gsdoc/tutorial/gs2-current/en/export_to_CDROM.htm|Exporting a collection to a CD-ROM/DVD]]   * [[http://wiki.greenstone.org/wiki/gsdoc/tutorial/gs2-current/en/export_to_CDROM.htm|Exporting a collection to a CD-ROM/DVD]]
   * [[http://wiki.greenstone.org/wiki/gsdoc/tutorial/gs2-current/en/greenstone_to_dspace.htm|Moving a collection from Greenstone to DSpace]]   * [[http://wiki.greenstone.org/wiki/gsdoc/tutorial/gs2-current/en/greenstone_to_dspace.htm|Moving a collection from Greenstone to DSpace]]
  
-</TAB> +</tabbox>
-</TABAREA>+
  
en/user/exporting_collections.1487564086.txt.gz · Last modified: 2017/02/20 04:14 by anupama