[tomboy-list] Export All Notes to HTML

Sandy Armstrong sanfordarmstrong at gmail.com
Mon Dec 8 15:23:35 PST 2008


David H. Vree wrote:
> Thank you! That worked great.

Excellent!

> I am interested in enhancing this script, but need a little more
> information.
>
> 1) Is there any documentation for the tomboy dbus interface?  The

http://svn.gnome.org/viewvc/tomboy/trunk/Tomboy/RemoteControl.cs?view=markup

> most recent search results are from mid-2007 and I am interested to
> know if I can get a handle on the notebook and notebook name.

Use the tagging methods, with the tag name of
"system:notebook:mynotebookname".

> 2) Can I guess that the HTML export is doing an XSL transform from
> the internal Tomboy storage format to HTML.  I'd like to make a few
> changes to this as well.   Am I right and where can I find this file?

Yup, see:

http://svn.gnome.org/viewvc/tomboy/trunk/Tomboy/Addins/ExportToHtml/

> When I am done, I believe I'll have an export-all to HTML and PDF
> that will create a well-named file for each note and put then into a
> directory named after the notebook.  It's really the start of a
> Tomboy archival utility....

I'd really like to see the Export to HTML add-in updated to handle
this.  See this bug:

http://bugzilla.gnome.org/show_bug.cgi?id=356871

Really, you should be able to select any set of notes, or a notebook, or
all notes, and export them.  It should be pretty easy to update the
existing add-in to do this, and then everybody can benefit from having
it right in the Tomboy UI.

I should think it would be pretty easy to decouple the XSL/HTML part of
this from the rest of it, and make pluggable export backends for people
who want PDF or other formats.

Anyway, whatever you end up doing, looking forward to seeing it!

Best,
Sandy


More information about the Tomboy-list mailing list