From: Larry Stone <lcs@mi...> - 2005-07-29 18:57:32
>From: "Mika Stenberg" <mika.stenberg@...>
>Subject: [Dspace-tech] Saving material as links to the repository
>Date: Thu, 28 Jul 2005 16:01:02 +0300
>Has anyone needed to save some linked material to Dspace, say a series of
>web pages etc?
>How could this be done?
You can archive a website by putting all of the files (HTML, image, etc)
in the DSpace Item, either with the WebUI submission or the batch
importer. If the website has subdirectories (e.g. page1/index.html,
page2/index.html) you may need to use the batch importer since the WebUI
does not preserve subdirectory information.
To get a website to render correctly within DSpace:
1. the web pages must have only "relative" links within the site,
e.g. <a href="page2/index.html"> <img src="gorilla.jpg">
NOT <img src="/mysite/mydir/gorilla.html">
2. all files referenced by those relative links must be in the
content of the website, including
- CSS stylesheets
- other pages
3. The pages may still have external links, of course, and they'll
work as well as they did on the original site.
You'll need to run at least DSpace 1.2.2 for the version that works
correctly with archived websites.
> >Im hoping to be able to create a form with only metadata and URL for the
> >current resourse, but no file submissions. Can this be done?
How do you want this to work? Do you want DSpace to follow (dereference)
the URL and load that resource as a content bitstream for the item?
Or do you want the DSpace to just refer to that URL?
Either way I can't think of a way to do this in the "stock" DSpace,
but it shouldn't be too difficult to add.
From: Mika Stenberg <mika.stenberg@he...> - 2005-08-04 13:27:37
>You can archive a website by putting all of the files (HTML, image, etc) in
the DSpace Item, either with the
>WebUI submission or the batch importer. If the website has subdirectories
>page2/index.html) you may need to use the batch importer since the WebUI
does not preserve subdirectory
Can you give me an example of how to use the batch importer? I couldn't find
any documentation on it yet?
From: Larry Stone <lcs@mi...> - 2005-08-04 18:46:28
> Can you give me an example of how to use the batch importer? I couldn't find
> any documentation on it yet?
It's here, under "Item Importer and Exporter":
It is known colloquially as the "batch" importer, although the docs
may call it "command-line". It amounts to the same thing, but the
terminology may be confusing when you are just learning DSpace.