Exporting and feeds
Outcome: your archive back out in files you own — a JSON export and an EPUB ebook, both produced for real in the lab — and a clear picture of the feed routes.
Export: the archive leaves
An archive you cannot leave is a trap, so
exports matter out of proportion to how
often you run them. The lab exercised
Wallabag's export routes in a logged-in
session (driver
wallabag-lab/drivers/lab-export.py,
transcript
wallabag-lab/transcripts/t06-export.txt):
GET /export/all.json -> 200 content-type=application/json
disposition=attachment; filename="All articles.json" bytes=4797
GET /export/unread.json -> 200 bytes=2192
GET /export/all.epub -> 200 content-type=application/epub+zip
disposition=attachment; filename="All articles.epub" bytes=10229
GET /export/3.json -> 200
filename="The Elmwood Community Newsletter - Spring Plant Swap Returns.json"
- Categories —
all,unread,archive,starred— select which entries go out. - Formats include JSON, EPUB, and others the instance configuration enables (the installed defaults enable EPUB, PDF, CSV, JSON, TXT, and XML export; MOBI is off by default).
- One entry can be exported alone,
as
/export/<id>.jsonabove — and the export carried its state honestly:"is_archived":1,"is_starred":1, "tags":["gardening","community"].
The EPUB was checked, not just
downloaded: it is a real ebook file — a
zip archive whose contents include the
mimetype file, META-INF/container.xml,
OEBPS/book.opf, and one HTML document
per article. 10,229 bytes for two short
articles. On an ebook reader, that file
is your archive in reading form.
What export proves, and what it does not
Export proves the stored words can leave in open formats. It does not prove the words were the whole articles — exports carry the extractions, misses included, exactly as chapters 1 and 6 warned. An An export made today is also the best backup of the content: unlike the database file, it needs no Wallabag to read.
Feeds
Wallabag also offers each list as an
RSS feed, guarded by a per-user feed
token found in your configuration, so a
feed reader can follow your Unread or
Starred list. The lab saw the feed
settings (rss_limit: 50 in the
parameters) but did not subscribe a
reader; feeds are documented-only here.
Check: export your Unread list as JSON and open the file. If your entries are there with their text, tags, and states, the door out of your archive works — test it before you ever need it.