Skip to content

Commit

Permalink
Fix wrong title levels
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Nov 16, 2023
1 parent 3d051bc commit eba46d8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ warc2zim ./path/to/myarchive.warc --output /output --name myarchive.zim -u https

The above will create a ZIM file `/output/myarchive.zim` with `https://example.com/` set as the main page.

### Installation
## Installation

```sh
python3 -m venv ./env # creates a virtual python environment in ./env folder
Expand Down Expand Up @@ -63,9 +63,7 @@ If main page is on a subdomain, `https://subdomain1.example.com/` and only URLs
warc2zim myarchive.warc --name myarchive -i subdomain1.example.com -i subdomain2.example.com -u https://subdomain1.example.com/starting/page.html
```



### Custom CSS
## Custom CSS

`--custom-css` allows passing an URL or a path to a CSS file that gets added to the ZIM and gets included on **every HTML article** at the very end of `</head>` (if it exists).

Expand All @@ -87,7 +85,7 @@ For `revisit` records, the WARC + optional HTTP headers are stored under `H/<url
If the payload `A/<url>` is zero-length, the record is omitted to conform to ZIM specifications of not storing empty records.


### Duplicate URIs
## Duplicate URIs

WARCs allow multiple records for the same URL, while ZIM does not. As a result, only the first encountered response or resource record is stored in the ZIM,
and subsequent records are ignored.
Expand Down

0 comments on commit eba46d8

Please sign in to comment.