[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mailgraph] mailgraph patch for saving output files


Hi David,
attached is a patch for mailgraph 1.14 that adds a new mode to 
mailgraph.cgi in which the generated files are stored into a given 
directory.

Just run the "mailgraph.cgi --write-files=/tmp/xyz" and off you go:
Creating: /tmp/xyz/mg_index.html
Creating: /tmp/xyz/mg_0_n.png
Creating: /tmp/xyz/mg_0_e.png
Creating: /tmp/xyz/mg_1_n.png
Creating: /tmp/xyz/mg_1_e.png
Creating: /tmp/xyz/mg_2_n.png
Creating: /tmp/xyz/mg_2_e.png
Creating: /tmp/xyz/mg_3_n.png
Creating: /tmp/xyz/mg_3_e.png

It's a useful feature in environments where CGI is not available, which 
is probably true for most mailservers. Simply generate the static files 
and copy them across to a webserver where they could be accessed.

Hope you'll find it useful

Michal
--
* Homepage: http://logix.cz/michal




-- Attached file removed by Ecartis and put at URL below --
-- Type: text/x-patch
-- Size: 4k (4396 bytes)
-- URL : http://lists.ee.ethz.ch/p/mailgraph_writefiles.diff


--
Unsubscribe mailto:mailgraph-request@list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mailgraph-request@list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/mailgraph
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi