Ticket #245 (closed defect: fixed)

Opened 6 years ago

Last modified 4 years ago

HTML Export

Reported by: anonymous Owned by: armin
Priority: normal Milestone: Gobby 0.4.5
Component: Gobby Version: 0.4.0
Severity: normal Keywords:
Cc: Launchpad Bug:

Description

Hi,

first of all: Gobby is a very great piece of software :)

There is just one feature that I would like to see, and that is HTML Export.

That means that you can export the Code with the Colours (and maybe a list which Colour is Who).

Thanks would be awesome!

Change History

Changed 6 years ago by armin

There is a PHP script called obby.php in obby's repository (http://gobby.0x539.de/trac/browser/obby/trunk/contrib/obby_web) which converts a serialized obby session into a HTML document.

Changed 6 years ago by phil

  • milestone changed from Gobby 0.4.0 to Gobby 0.4.3

Changed 6 years ago by phil

  • milestone changed from Gobby 0.4.3 to Gobby 0.4.4

Changed 6 years ago by phil

  • milestone changed from Gobby 0.4.4 to Gobby 0.4.5

Changed 6 years ago by anonymous

That is no defect, is it ?

Changed 5 years ago by anonymous

I'm really interested in HTML export and keeping author-information. How exactly do I use that script? Could you please describe that more precisely?

Changed 5 years ago by anonymous

Is there somebody who could explain how to use that script. Please.

Changed 5 years ago by armin

You need to put it on a webserver that interprets PHP scripts, along with a serialized obby session, say foo.obby. Then, call it using http://location-to-your-server/obby_web.php/foo.obby. Make sure to use the rewrite rules also provided in the directory of the script.

Alternatively, you can decide not to use mod_rewrite. Then, comment out the line that sets $GLOBALSrewrite? in the script (near the top), and call the script by http://location-to-your-server/obby_web.php?file=foo.obby.

These instructions are only out of my mind, though, and some time has passed since I used the script the last time, so perhaps one or two steps are a bit different.

Changed 5 years ago by anonymous

Ok, thanks. And how do I get that serialized obby session, that .obby-file?

Changed 5 years ago by armin

In Gobby, choose Gobby -> Save session from the menu. In Sobby, use the autosave-file command line option with a non-zero timeout-interval (or a zero timeout-interval, and send SIGUSR1 to the sobby process whenever you want the session to be saved).

Changed 5 years ago by anonymous

Ok, I have another problem. How do I get the profiler.inc-file from the repository? When I try to acces via Trac, it gives me an 403-error. I don't know why, I didn't manage to get it via svn, I'm not very experienced in that. Could you please help me. Thanks.

Changed 4 years ago by armin

  • status changed from new to closed
  • resolution set to fixed

HTML Export has been implemented for Gobby 0.4.93. The branch was recently merged. Kudos to Benjamin Herr for kicking this off.

Note: See TracTickets for help on using tickets.