Ticket #1087 (new Enhancement)
Add "Save as XHTML" simply by providing a wrapper around XML transcript
| Reported by: | ben-agaric | Owned by: | timothy |
|---|---|---|---|
| Priority: | Low | Milestone: | |
| Component: | Colloquy (Mac) | Version: | 2.1 (Mac) |
| Severity: | Normal | Keywords: | export, save, print, html, xhtml |
| Cc: | dan@… |
Description
The ability to save transcripts as XHTML so it can be viewed across platforms in a web browser would be great.
This can be done in a trivial way by wrapping the existing XML output in body tags and a throwing in a head section with CSS styles.
Attached is an example of this... which is at the same time a discussion about it.
There could be a default style and the option to create custom ones, again I would guess fairly easily.
And I don't know how it works, but my guess is the XML plus style XHTML result could be passed to Apple's Print to PDF feature easily also, adding this feature to Colloquy.
Changes in the XML, or a transforming program, would make possible some things like a nick before every line and showing times (in my preference as tool tips), but this wouldn't be necessary at all for the benefit of nicely themed browser-viewable exports of Colloquy chats.
([notes are on the Agaric Design Collective website].)
Without further ado, the proof of concept will be attached.
