Difference between revisions of "CLOCKSS Technology"

From Dryad wiki
Jump to: navigation, search
(Manifest Pages)
(Manifest Pages)
Line 5: Line 5:
 
== Manifest Pages ==
 
== Manifest Pages ==
  
Each quarter, Dryad will publish a set of manifest pages that list content newly available in Dryad.
+
Each quarter, Dryad publishs a set of manifest pages that list content newly available in Dryad.
  
 
There is a command line process that generates a manifest page. The manifest page will be a static page. It will contain links to all "new" data packages. A new data package is a package that meets at least one of the following conditions:
 
There is a command line process that generates a manifest page. The manifest page will be a static page. It will contain links to all "new" data packages. A new data package is a package that meets at least one of the following conditions:
Line 19: Line 19:
  
 
A summary manifest page is available from http://datadryad.org/htmlmap. This page contains a link to each of the individual manifest pages previously generated.
 
A summary manifest page is available from http://datadryad.org/htmlmap. This page contains a link to each of the individual manifest pages previously generated.
 +
 +
== if-modified-since behavior ==
 +
 +
Dryad pages respond to HTTP requests that use the if-modified-since header. A summary of the possible request types and responses:
 +
 +
* request for valid Dryad page, without if-modified-since header: 200 OK with page content
 +
* request for non-existent Dryad page, without if-modified-since header: 404 Not Found with possible page content
 +
* request for valid Dryad page, using if-modified-since header that has date earlier than page modification date: 200 OK with page content
 +
* request for valid Dryad page, using if-modified-since header that has date later than page modification date: 304 Not Modified without page content
 +
* request for non-existent Dryad page, using if-modified-since header (with any date): 404 Not Found with possible page content
  
 
== Relation to DSpace ==  
 
== Relation to DSpace ==  

Revision as of 12:32, 9 December 2013

Dryad's content will be replicated through the CLOCKSS network.

CLOCKSS will crawl the Dryad site and harvest publicly-viewable content. Data files will only be replicated in CLOCKSS once any embargo has expired.

Manifest Pages

Each quarter, Dryad publishs a set of manifest pages that list content newly available in Dryad.

There is a command line process that generates a manifest page. The manifest page will be a static page. It will contain links to all "new" data packages. A new data package is a package that meets at least one of the following conditions:

  • The package was archived since the previous manifest page was generated.
  • The package, or one of its constituent files, was modified since the previous manifest page was generated.
  • At least one file in the package has come out of embargo status since the previous manifest page was generated.
  • A new version of the package has become available since the previous manifest page was generated.

To generate a new manifest page:

/opt/dryad/bin/generate-sitemaps

A summary manifest page is available from http://datadryad.org/htmlmap. This page contains a link to each of the individual manifest pages previously generated.

if-modified-since behavior

Dryad pages respond to HTTP requests that use the if-modified-since header. A summary of the possible request types and responses:

  • request for valid Dryad page, without if-modified-since header: 200 OK with page content
  • request for non-existent Dryad page, without if-modified-since header: 404 Not Found with possible page content
  • request for valid Dryad page, using if-modified-since header that has date earlier than page modification date: 200 OK with page content
  • request for valid Dryad page, using if-modified-since header that has date later than page modification date: 304 Not Modified without page content
  • request for non-existent Dryad page, using if-modified-since header (with any date): 404 Not Found with possible page content

Relation to DSpace

Dryad has implemented this as a slight modification to DSpace's normal sitemap/htmlmap feature. The relevant classes are:

  • dspace/modules/api/src/main/java/org/dspace/app/sitemap/HTMLSitemapGenerator.java
  • dspace/modules/api/src/main/java/org/dspace/app/sitemap/GenerateSitemaps.java