Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WAT extractor: envelope structure does not conform to the WAT specification #44

Closed
saraaubry opened this issue Apr 1, 2015 · 1 comment
Milestone

Comments

@saraaubry
Copy link

According to the WAT specification (https://webarchive.jira.com/wiki/display/Iresearch/Web+Archive+Metadata+File+Specification), the enveloppe structure should be:
"Envelope": {
"Format": "WARC",
"Payload-Metadata": {}
"WARC-Header-Length": "298",
"WARC-Header-Metadata": {}
}

In the WAT files generated with the extractor, we have the following structure:
Envelope: {
Format: "WARC",
WARC-Header-Length: "298",
Actual-Content-Length": "1343",
WARC-Header-Metadata: {},
Block-Digest: "sha1:XW7VSE74YCSE6AIJNT5AVSELMVBCIYYN",
Payload-Metadata: {}
}
Block-Digest and Actual-Content-Length are not supposed to be in this section.
There are also an Actual-Content-Length and a Entity-Digest in the Payload-Metadata section.
Content and computation of these 4 metadata need to be clarified.

@ldko
Copy link
Member

ldko commented Apr 9, 2015

Actual-Content-Length also needs to be moved to the Payload-Metadata section

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants