[Gossip-dev] Group Chat Logging
Martyn Russell
martyn at imendio.com
Tue Apr 25 09:59:12 CEST 2006
On Tue, 2006-04-25 at 01:30 +0200, Keywan Najafi Tonekaboni wrote:
> Hi,
Hi,
> first, Gossip from CVS HEAD really rocks. I have the subjective sense
> that a some annoying bugs are fixed. The log viewer looks great and I
> must chat tomorrow massively with my friend, to could test it.
Good to hear :D
> I tried to transform a logfile with xsltproc to could read them in
> "oldschool style" in my webbrowser. I got this error:
>
> prometoys at cassini:~/.gnome2/Gossip/logs$
> xsltproc /usr/local/share/gossip/gossip-log.xsl friend at jabber.com.log
> runtime error: file /usr/local/share/gossip/gossip-log.xsl line 40
> element value-of
> unregistered variable title
> xmlXPathCompiledEval: evaluation failed
> runtime error: file /usr/local/share/gossip/gossip-log.xsl line 40
> element value-of
> xsltValueOf: text copy failed
> no result for prometoys at gmail.com.log
>
> How could I transform the logfiles to html, it shouldn't be so much
> difficult, or not?
It isn't difficult at all, but unfortunately with all the bugs that need
fixing, that isn't top of the pops right now I am afraid.
I would welcome anyone that wants to help hack on Gossip and do this,
that would be great.
The short answer is, without coding it in C I don't know how to do it
without researching into it (since I inherited the xslt stuff and know
very little about it).
The gossip_log_show () function still exists in Gossip to export to
HTML. The only problem is that the format of the log file has slightly
changed, so this function might need updating a little and it isn't
currently called from anywhere. My plan was to perhaps later have an
Export feature where you could save you log to html using this old
function.
--
Regards,
Martyn
More information about the Gossip-dev
mailing list