mirror of
https://github.com/wrolpi/wrolpi-help.git
synced 2026-10-26 19:01:40 -04:00
1.6 KiB
1.6 KiB
Archive Files
WROLPi creates several files when archiving a webpage:
- A Singlefile that stores an exact copy of the web page.
- A Readability file.
- A Readability text file.
- A Readability JSON file.
- A screenshot file of the web page.
These files all share the same filename but have different suffixes.
| File Suffix | Purpose |
|---|---|
| .html | The Singlefile. |
| .readability.html | The Readability extract of the Singlefile. |
| .readability.txt | The article text extracted by Readability. |
| .readability.json | Data from Readability (URL/author/etc.). |
| .png | The screenshot of the web page. |
Archive files are named using three parts:
- The domain directory.
- The archive date time (YYYY-MM-DD-HH-MM-SS).
- The title of the web page.
If archiving https://wrolpi.org/getting-started, the resulting files might be named as follows:
/media/wrolpi/archive/wrolpi.org/2023-01-01-12-00-00_Getting Started.html
/media/wrolpi/archive/wrolpi.org/2023-01-01-12-00-00_Getting Started.readability.html
/media/wrolpi/archive/wrolpi.org/2023-01-01-12-00-00_Getting Started.readability.txt
/media/wrolpi/archive/wrolpi.org/2023-01-01-12-00-00_Getting Started.readability.json
/media/wrolpi/archive/wrolpi.org/2023-01-01-12-00-00_Getting Started.png
WROLPi will attempt to extract the Readability and create a screenshot from the Singlefile. If this is not possible, WROLPi will still keep the lone Singlefile.