Ticket #1087: colloquy-colloquyTranscript.html

File colloquy-colloquyTranscript.html, 9.9 KB (added by ben-agaric, 5 years ago)

XHTML-ized Export of Colloquy Transcript About Saving Chats as HTML

Line 
1<?xml version="1.0"?>
2<body>
3<head><style type="text/css">
4log {
5  font-family: sans-serif;
6  color: #000;
7}
8envelope {
9  display: block;
10  margin-top: 6px;
11  margin-bottom: 6px;
12}
13message {
14  display: block;
15  margin-bottom: 2px;
16}
17event {
18  font-size: small;
19  color: #ccc;
20}
21who {
22  display: none;
23}
24sender {
25  display: block;
26  color: #900;
27  font-style: italic;
28  margin: 2px 0 1px 0;
29  padding: 1px 0 1px 0;
30}
31sender[self="yes"] {
32  color: #009;
33}
34sender:after {
35  content: ":";
36}
37envelope message {
38  border-left: 2px dotted #666;
39  margin: 1px 0 1px 4px;
40  padding: 0 0 0 4px;
41  color: #000;
42}
43/* envelope message:before {
44  content: ": ";
45}
46*/
47</style></head><log began="2007-08-31 07:30:01 -0400" source="irc://irc.freenode.net/%23colloquy">
48  <event id="A18IJLWI0E1" name="memberJoined" occurred="2007-08-31 07:48:21 -0400">
49    <message><span class="member">chrissturm</span> joined the chat room.</message>
50    <who hostmask="n=christop@85.127.158.136">chrissturm</who>
51  </event>
52  <event id="EFFJ2ICJ0E1" name="memberJoined" occurred="2007-08-31 07:57:54 -0400">
53    <message><span class="member">willdev</span> joined the chat room.</message>
54    <who hostmask="n=willdev@host86-139-131-111.range86-139.btcentralplus.com">willdev</who>
55  </event>
56  <event id="PIV9GU7K0E1" name="memberJoined" occurred="2007-08-31 08:16:42 -0400">
57    <message><span class="member">alakazam</span> joined the chat room.</message>
58    <who hostmask="n=Alakazam@maison.le-floch.fr">alakazam</who>
59  </event>
60  <event id="MTJUD98K0E1" name="memberJoined" occurred="2007-08-31 08:16:57 -0400">
61    <message><span class="member">praseodym_</span> joined the chat room.</message>
62    <who hostmask="n=mark@cp293763-a.roose1.nb.home.nl">praseodym_</who>
63  </event>
64  <event id="OPHK29SK0E1" name="memberParted" occurred="2007-08-31 08:28:57 -0400">
65    <message><span class="member">kpreid</span> left the chat room.</message>
66    <who hostmask="n=kpreid@cpe-24-59-154-165.twcny.res.rr.com">kpreid</who>
67    <reason/>
68  </event>
69  <event id="VYCV3HTK0E1" name="memberJoined" occurred="2007-08-31 08:29:41 -0400">
70    <message><span class="member">kpreid</span> joined the chat room.</message>
71    <who hostmask="n=kpreid@cpe-24-59-154-165.twcny.res.rr.com">kpreid</who>
72  </event>
73  <event id="BDVV3KTK0E1" name="memberVoiced" occurred="2007-08-31 08:29:44 -0400">
74    <message><span class="member">kpreid</span> was granted voice by <span class="member">ChanServ</span>.</message>
75    <by hostmask="ChanServ@services." identifier="chanserv">ChanServ</by>
76    <who hostmask="n=kpreid@cpe-24-59-154-165.twcny.res.rr.com" class="voice">kpreid</who>
77  </event>
78  <event id="ZV5SACUK0E1" name="memberParted" occurred="2007-08-31 08:30:12 -0400">
79    <message><span class="member">DJ_FoX_MaC_ClouD</span> left the chat room.</message>
80    <who hostmask="n=djfoxmcc@AStrasbourg-251-1-50-64.w82-126.abo.wanadoo.fr" identifier="dj_fox_mac_cloud">DJ_FoX_MaC_ClouD</who>
81    <reason>Read error: 110 (Connection timed out)</reason>
82  </event>
83  <event id="NTMZAEUK0E1" name="memberJoined" occurred="2007-08-31 08:30:14 -0400">
84    <message><span class="member">DJ_FoX_MaC_ClouD</span> joined the chat room.</message>
85    <who hostmask="n=djfoxmcc@AStrasbourg-251-1-50-64.w82-126.abo.wanadoo.fr" identifier="dj_fox_mac_cloud">DJ_FoX_MaC_ClouD</who>
86  </event>
87  <event id="JPEIB3VK0E1" name="memberParted" occurred="2007-08-31 08:30:39 -0400">
88    <message><span class="member">alakazam_</span> left the chat room.</message>
89    <who hostmask="n=Alakazam@maison.le-floch.fr">alakazam_</who>
90    <reason>Read error: 110 (Connection timed out)</reason>
91  </event>
92  <event id="TKXA6KZK0E1" name="memberParted" occurred="2007-08-31 08:33:20 -0400">
93    <message><span class="member">praseodym</span> left the chat room.</message>
94    <who hostmask="n=mark@cp293763-a.roose1.nb.home.nl">praseodym</who>
95    <reason>Read error: 110 (Connection timed out)</reason>
96  </event>
97  <envelope>
98    <sender self="yes" hostmask="I3IVIIVI@209-6-110-123.c3-0.nat-ubr3.sbo-nat.ma.cable.rcn.com">ben-agaric</sender>
99    <message id="QVI5JK0L0E1" received="2007-08-31 08:33:56 -0400">good morning, Colloquy folk</message>
100  </envelope>
101  <envelope>
102    <sender hostmask="n=j@unaffiliated/jane" class="voice">jane</sender>
103    <message id="WRA16G1L0E1" received="2007-08-31 08:34:28 -0400">good...crap, it's morning <span class="emoticon frown"><samp>:(</samp></span></message>
104  </envelope>
105  <envelope>
106    <sender self="yes" hostmask="I3IVIIVI@209-6-110-123.c3-0.nat-ubr3.sbo-nat.ma.cable.rcn.com">ben-agaric</sender>
107    <message id="EOG26R1L0E1" received="2007-08-31 08:34:39 -0400"><span class="emoticon smile"><samp>:-)</samp></span> </message>
108    <message id="QGYR8W1L0E1" received="2007-08-31 08:34:44 -0400">Not everywhere... </message>
109  </envelope>
110  <envelope>
111    <sender hostmask="n=j@unaffiliated/jane" class="voice">jane</sender>
112    <message id="ZBPDJ62L0E1" received="2007-08-31 08:34:54 -0400">5:30am <span class="emoticon frown"><samp>:(</samp></span></message>
113  </envelope>
114  <envelope>
115    <sender self="yes" hostmask="I3IVIIVI@209-6-110-123.c3-0.nat-ubr3.sbo-nat.ma.cable.rcn.com">ben-agaric</sender>
116    <message id="I0DB2Z2L0E1" received="2007-08-31 08:35:23 -0400">um...  should I tell you to sleep well?  <span class="emoticon wink"><samp>;-)</samp></span></message>
117    <message id="UKYCE04L0E1" received="2007-08-31 08:36:00 -0400">I've been trying to find a good way to save messages-- copy and paste is strangely difficult with Colloquy on my old iBook, and there's no save as HTML option</message>
118    <message id="ZDYT2B4L0E1" received="2007-08-31 08:36:11 -0400">but of course the transcripts themselves are XML</message>
119  </envelope>
120  <envelope>
121    <sender hostmask="n=j@unaffiliated/jane" class="voice">jane</sender>
122    <message id="X6PWEQ4L0E1" received="2007-08-31 08:36:26 -0400">theres a converter somewhere on the site</message>
123  </envelope>
124  <envelope>
125    <sender self="yes" hostmask="I3IVIIVI@209-6-110-123.c3-0.nat-ubr3.sbo-nat.ma.cable.rcn.com">ben-agaric</sender>
126    <message id="JX2Q6E5L0E1" received="2007-08-31 08:36:50 -0400">So I added some style in a header, changed the extension to html, and I have a very nice styled transcript</message>
127    <message id="PTK75O5L0E1" received="2007-08-31 08:37:00 -0400"><span class="member">jane</span>: yes, for plain text, was all I could find</message>
128  </envelope>
129  <envelope>
130    <sender hostmask="n=j@unaffiliated/jane" class="voice">jane</sender>
131    <message id="DL7L9V5L0E1" received="2007-08-31 08:37:07 -0400">yeah, unfortunately</message>
132  </envelope>
133  <envelope>
134    <sender self="yes" hostmask="I3IVIIVI@209-6-110-123.c3-0.nat-ubr3.sbo-nat.ma.cable.rcn.com">ben-agaric</sender>
135    <message id="RFVE6A9L0E1" received="2007-08-31 08:39:10 -0400">I'm wondering if there's a way, and any interest, in adding an option to save as XHTML.  All it would need to do is wrap the XML file in &lt;body&gt; tags and stick in the &lt;head&gt; with the CSS style -- the one I just did works quite well -- and it should work in most browsers great.</message>
136  </envelope>
137  <envelope>
138    <sender hostmask="n=j@unaffiliated/jane" class="voice">jane</sender>
139    <message id="ZPXDKTAL0E1" received="2007-08-31 08:40:05 -0400" action="yes">points to the bug link...file a request for enhancement <span class="emoticon smile"><samp>:)</samp></span></message>
140  </envelope>
141  <envelope>
142    <sender self="yes" hostmask="I3IVIIVI@209-6-110-123.c3-0.nat-ubr3.sbo-nat.ma.cable.rcn.com">ben-agaric</sender>
143    <message id="G52DH6BL0E1" received="2007-08-31 08:40:18 -0400">I haven't gotten to deep into it (and don't have time), but it seems to me this can't be done as a plugin</message>
144    <message id="O8T74HBL0E1" received="2007-08-31 08:40:29 -0400">so I'll do what you just said!</message>
145  </envelope>
146  <envelope>
147    <sender hostmask="n=j@unaffiliated/jane" class="voice">jane</sender>
148    <message id="T0GCBDCL0E1" received="2007-08-31 08:41:01 -0400">you know, i cant see why you couldnt do a plugin for that</message>
149  </envelope>
150  <envelope>
151    <sender self="yes" hostmask="I3IVIIVI@209-6-110-123.c3-0.nat-ubr3.sbo-nat.ma.cable.rcn.com">ben-agaric</sender>
152    <message id="O8MJ7YCL0E1" received="2007-08-31 08:41:22 -0400">lack of knowledge, probably  <span class="emoticon wink"><samp>;-)</samp></span></message>
153  </envelope>
154  <envelope>
155    <sender hostmask="n=j@unaffiliated/jane" class="voice">jane</sender>
156    <message id="Q9FL22DL0E1" received="2007-08-31 08:41:26 -0400">er, not a plugin</message>
157  </envelope>
158  <event id="L9RIC4DL0E1" name="memberParted" occurred="2007-08-31 08:41:28 -0400">
159    <message><span class="member">FuzzyB</span> left the chat room.</message>
160    <who hostmask="n=FuzzyB@209.180.172.167" identifier="fuzzyb">FuzzyB</who>
161    <reason/>
162  </event>
163  <envelope>
164    <sender hostmask="n=j@unaffiliated/jane" class="voice">jane</sender>
165    <message id="N0CV3LDL0E1" received="2007-08-31 08:41:45 -0400">but a converter of sorts..meh</message>
166    <message id="DN8O60EL0E1" received="2007-08-31 08:42:00 -0400">that would be awesome though..but like i said...the link <span class="emoticon smile"><samp>:)</samp></span></message>
167    <message id="YOX069EL0E1" received="2007-08-31 08:42:09 -0400">you might have to create an account though</message>
168  </envelope>
169  <envelope>
170    <sender self="yes" hostmask="I3IVIIVI@209-6-110-123.c3-0.nat-ubr3.sbo-nat.ma.cable.rcn.com">ben-agaric</sender>
171    <message id="YC5XKAFL0E1" received="2007-08-31 08:42:47 -0400">yeah, it could be an outside program easily...  I mean I can just copy my style code into each transcript that I want to share in about a second, but it might as well be there in the Save As dialog!</message>
172    <message id="U5DYETFL0E1" received="2007-08-31 08:43:05 -0400">thanks, <span class="member">Jane</span>!</message>
173  </envelope>
174  <envelope>
175    <sender hostmask="n=j@unaffiliated/jane" class="voice">jane</sender>
176    <message id="WBNSKXFL0E1" received="2007-08-31 08:43:09 -0400">np</message>
177  </envelope>
178</log>
179</body>