# The Decadence Factor

Unzip the complete folder and double-click **index.html**. No installation, web server, account, or internet connection is required. Keep all folders together.

## In the viewer

- Search titles and complete post text, including ingredients. Press `/` to search.
- Filter by category, year, and author. Change the sort order or switch between grid and list.
- Open any entry for the original writing, full-resolution images, and approved archived comments.
- Click a photo to enlarge it. Use the left/right arrow keys between photos and Escape to close.
- Use **Print / save PDF** for a clean recipe printout.
- **J + C** contains the three original pages, including the authors' bio.

## What is included

- 116 published posts and 3 published pages, from 2009–2016.
- All 234 original media files, byte-for-byte unchanged, including 2 ODT documents.
- High-quality browsing thumbnails generated from original media.
- Markdown versions of every post, page, and draft, with metadata and relative image links.
- Approved ordinary comments preserved under their posts. Comment email and IP fields are omitted.
- 9 unpublished drafts, kept out of the main collection. Open `drafts/index.html` to browse them. Three are empty in the original export.
- `all-entries.html`: a simple index that also works without JavaScript.
- `archive-manifest.json`: conversion counts and preservation information.
- `source/`: the conversion script and original viewer assets.

## Preservation notes

The writing is preserved, including original spelling and punctuation. Formatting is adapted for reading. Internal post, page, and media links point to local files. YouTube embeds are preserved as external links; their videos are not in the export and require internet access. External links may no longer work. No remote fonts, trackers, plugins, or ads are loaded. Original media may retain embedded metadata.

The charcoal (#161410), panel (#22201d), gold (#bd934f), and soft gray (#d8d7d3) palette comes from the original WordPress theme.

## Rebuild

Requires Python 3 and `beautifulsoup4 markdownify Pillow PyYAML`. Run:

```bash
python source/build_archive.py /path/to/export.xml /path/to/media.tar /path/to/output
```
