Skip to content

Commit

Permalink
Improve pages.jsonl example
Browse files Browse the repository at this point in the history
This commit fixes a minor typo and adds `text` and `size` properties to
the JSON objects in the pages.jsonl example.
  • Loading branch information
edsu committed Jul 27, 2023
1 parent 46f87e5 commit a58be7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wacz/1.1.1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,12 @@ navigating a web archive collection:
- `title` - a string describing the resource
- `id` - an arbitrary identifier for the resource
- `text` - text extracted from the snapshot
- `size` - an integer that representes the number of bytes for the page and all its resources
- `size` - an integer that represents the number of bytes for the page and all its resources

<pre class="example">
{"format": "json-pages-1.0", "id": "pages", "title": "All Pages"}
{"id": "1db0ef709a", "url": "https://www.example.com/page", "ts": "2020-10-07T21:22:36Z", "title": "Example Domain"}
{"id": "12304e6ba9", "url": "https://www.example.com/another", "ts": "2020-10-07T21:23:36Z", "title": "Another Page"}
{"id": "1db0ef709a", "url": "https://www.example.com/page", "size": 1256, "ts": "2020-10-07T21:22:36Z", "title": "Example Domain", "text": "Example Domain This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission. More information..."}
{"id": "12304e6ba9", "url": "https://www.example.com/another", "size": 1256, "ts": "2020-10-07T21:23:36Z", "title": "Another Page", "text": "Example Domain This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission. More information..."}
</pre>

Each entry in the [[JSONL]] file MAY contain additional properties as long as
Expand Down

0 comments on commit a58be7c

Please sign in to comment.