Skip to content

Commit

Permalink
Fixed NAS-2418. Added NasCrawlMetadata class with added date field
Browse files Browse the repository at this point in the history
  • Loading branch information
svcarlsen committed Jun 3, 2015
1 parent 2839d84 commit de7d2a2
Showing 1 changed file with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
package dk.netarkivet.harvester.harvesting;

import org.archive.modules.CrawlMetadata;

/**
* NetarchiveSuite extension of the org.archive.modules.CrawlMetadata class.
* Currently the only addition is a date field
* similar to the date field in the H1 'meta' entity
*
<meta>
<name>default_obeyrobots_withforms</name>
<description>Default profile that obeys robots.txt and includes form URLs</description>
<operator>Admin</operator>
<organization/>
<audience/>
<date>20080118111217</date>
</meta>
*/
public class NasCrawlMetadata extends CrawlMetadata {

private static final long serialVersionUID = 2505633855092991518L;
private String date;

public String getDate() {
return this.date;
}

public void setDate(String date) {
this.date = date;
}
}

0 comments on commit de7d2a2

Please sign in to comment.