Opened 11 years ago

Last modified 4 years ago

#1087 new Enhancement

Add "Save as XHTML" simply by providing a wrapper around XML transcript

Reported by: ben-agaric Owned by: timothy
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.

(More notes are on the Agaric Design Collective website.)

Without further ado, the proof of concept will be attached.

Change History (2)

comment:1 Changed 11 years ago by ben-agaric

Checking links after AgaricDesign.com's redesign, I find the one here is bad. Not because of the redesign, but because I somehow messed up the formatting here. So, the notes:

background on styling Colloquy XML

Anyone else interested in this? We're happy to work on it.

comment:2 Changed 4 years ago by anonymous

I came across this today because the logging bot disappeared from my favorite channel and I wanted to post my Colloquy logs. Seven years later I guess it's not a highly requested feature. :) Maybe just a howto in the official docs rather than another menu item.

Note: See TracTickets for help on using tickets.