mirror of
https://github.com/wrolpi/wrolpi-help.git
synced 2026-12-03 05:09:59 -05:00
Slowly building all WROLPi help docs.
This commit is contained in:
commit
b2167cf098
25 changed files with 340 additions and 0 deletions
39
docs/archives/files.md
Normal file
39
docs/archives/files.md
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# Archive Files
|
||||
|
||||
WROLPi creates several files when archiving a webpage:
|
||||
|
||||
1. A [Singlefile](#singlefile) which stores an exact copy of the web page.
|
||||
2. A [Readability](#readability) file.
|
||||
3. A Readability text file.
|
||||
4. A Readability JSON file.
|
||||
5. A screenshot file of the web page.
|
||||
|
||||
These files are all share the same file name, but 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:
|
||||
|
||||
1. The domain directory
|
||||
2. The archive date time (YYYY-mm-dd-HH-MM-SS).
|
||||
3. The title of the web page.
|
||||
|
||||
If archiving [https://wrolpi.org/getting-started](https://wrolpi.org/getting-started), the resulting files would be
|
||||
named like so:
|
||||
|
||||
```
|
||||
wrolpi.org/2023-01-01-12-00-00_Getting Started.html
|
||||
wrolpi.org/2023-01-01-12-00-00_Getting Started.readability.html
|
||||
wrolpi.org/2023-01-01-12-00-00_Getting Started.readability.txt
|
||||
wrolpi.org/2023-01-01-12-00-00_Getting Started.readability.json
|
||||
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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue