Skip to content
Permalink
Browse files

Fixed NAS-2418. Added NasCrawlMetadata class with added date field

  • Loading branch information...
svcarlsen committed Jun 3, 2015
1 parent 2839d84 commit de7d2a205bf949b85749d58adcffee58ee04c38a
@@ -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.
You can’t perform that action at this time.