Existing offline content and archiving functionality in ljupdate, the Emacs client, takes advantage of Emacs' preexisting ability to manipulate vairous mailbox formats, so each LJ post is stored as though it were an email or usenet post.
Consider this example document:
Subject: Offline content and archiving in ljupdate
X-LJ-Music: Juliana Hatfield - Leather Pants
Existing offline content and archiving functionality in <lj
user="ljupdate"<, the Emacs client, takes advantage of Emacs'
Clearly, what headers appear and how they are formatted is something to discuss; the above headers are currently presumably quite idiosyncratic to ljupdate, but I think there are perhaps many advantages to using a simple mail document format. Here are a few of them:
- Many languages already have library functions for accessing mailbox archives / header fields / etc.,
- The format isn't more complicated than need be (Yay Occam),
- This perhaps allows the user to easily unify his or her mail archive / Usenet archive / LiveJournal archive
Point 2 touches upon something of a pet peeve of mine: I think using some *ML as the standard offline content format would be a Bad, Bad, Bad, Bad idea.
Anyway. Stuff to think about.