is there any export all notes to html utility?

View: New views
10 Messages — Rating Filter:   Alert me  

is there any export all notes to html utility?

by Pedro-21 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That would be useful.
Is there anything like this?
A plugin, an external script, something?

I like to keep only relevant notes accessible, but it would be cool to
be able to keep regular snapshots for future reference. I can just
copy the .tomboy folder, but then there is no human friendly readable
notes, onl the xml .note files.
It would be handy to keep a snapshot of the whole notepad in HTML or
in a cleaner text format.
_______________________________________________
Tomboy-list mailing list
Tomboy-list@...
http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com

Re: is there any export all notes to html utility?

by Sandy Armstrong :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 4/23/08, Pedro <pedro100@...> wrote:
> That would be useful.
>  Is there anything like this?
>  A plugin, an external script, something?

Nothing that I know of, sorry.  We have an Export to HTML addin that's
installed by default, but it only works on one note at a time.  It can
include all notes linked from the note your exporting...so I guess you
could make one note that links to all of your other notes, and then
export that master note.  It wouldn't be hard to write a script that
creates the master note in one go.  Need help writing it?

And yes, we do intend to improve the export functionality to have the
behavior you really want.

Sandy
_______________________________________________
Tomboy-list mailing list
Tomboy-list@...
http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com

Parent Message unknown Re: is there any export all notes to html utility?

by Sandy Armstrong :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

(don't forget to reply-all)

Tomboy has a pretty nice dbus interface, so you can use any language
with dbus bindings (I like Python) to control Tomboy.  That's what I
would use to write the script.

http://arstechnica.com/journals/linux.ars/2007/09/26/using-the-tomboy-d-bus-interface

You can extend Tomboy to a much higher degree by writing an addin.  A
Tomboy addin must run on Mono, so it must be written in a .NET
language like C#, Boo, IronPython, etc.

http://live.gnome.org/Tomboy/HowToCreateAddins

Sandy

On 4/23/08, Pedro <pedro100@...> wrote:

> That was a wise workaround.
>  I will put up a script generate the index, quick and fun.
>
>  BTW, I have zero knowledge on mono an how tomboy is written, is it
>  possible to extend mono with plugins written in languages like python
>  or perl?
>
>
>  On Wed, Apr 23, 2008 at 8:04 PM, Sandy Armstrong
>  <sanfordarmstrong@...> wrote:
>  > On 4/23/08, Pedro <pedro100@...> wrote:
>  >  > That would be useful.
>  >  >  Is there anything like this?
>  >  >  A plugin, an external script, something?
>  >
>  >  Nothing that I know of, sorry.  We have an Export to HTML addin that's
>  >  installed by default, but it only works on one note at a time.  It can
>  >  include all notes linked from the note your exporting...so I guess you
>  >  could make one note that links to all of your other notes, and then
>  >  export that master note.  It wouldn't be hard to write a script that
>  >  creates the master note in one go.  Need help writing it?
>  >
>  >  And yes, we do intend to improve the export functionality to have the
>  >  behavior you really want.
>  >
>  >  Sandy
>  >
>
_______________________________________________
Tomboy-list mailing list
Tomboy-list@...
http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com

Re: is there any export all notes to html utility?

by Pete Deremer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"(don't forget to reply-all)"

Guilty as charged! :(

Owned...

Pete

On Wed, Apr 23, 2008 at 2:28 PM, Sandy Armstrong <sanfordarmstrong@...> wrote:
(don't forget to reply-all)

Tomboy has a pretty nice dbus interface, so you can use any language
with dbus bindings (I like Python) to control Tomboy.  That's what I
would use to write the script.

http://arstechnica.com/journals/linux.ars/2007/09/26/using-the-tomboy-d-bus-interface

You can extend Tomboy to a much higher degree by writing an addin.  A
Tomboy addin must run on Mono, so it must be written in a .NET
language like C#, Boo, IronPython, etc.

http://live.gnome.org/Tomboy/HowToCreateAddins

Sandy

On 4/23/08, Pedro <pedro100@...> wrote:
> That was a wise workaround.
>  I will put up a script generate the index, quick and fun.
>
>  BTW, I have zero knowledge on mono an how tomboy is written, is it
>  possible to extend mono with plugins written in languages like python
>  or perl?
>
>
>  On Wed, Apr 23, 2008 at 8:04 PM, Sandy Armstrong
>  <sanfordarmstrong@...> wrote:
>  > On 4/23/08, Pedro <pedro100@...> wrote:
>  >  > That would be useful.
>  >  >  Is there anything like this?
>  >  >  A plugin, an external script, something?
>  >
>  >  Nothing that I know of, sorry.  We have an Export to HTML addin that's
>  >  installed by default, but it only works on one note at a time.  It can
>  >  include all notes linked from the note your exporting...so I guess you
>  >  could make one note that links to all of your other notes, and then
>  >  export that master note.  It wouldn't be hard to write a script that
>  >  creates the master note in one go.  Need help writing it?
>  >
>  >  And yes, we do intend to improve the export functionality to have the
>  >  behavior you really want.
>  >
>  >  Sandy
>  >
>
_______________________________________________
Tomboy-list mailing list
Tomboy-list@...
http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com


_______________________________________________
Tomboy-list mailing list
Tomboy-list@...
http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com

Re: is there any export all notes to html utility?

by Pedro-21 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

dbus looks like a really cool technology, but i think i'll just write
a small perl script to grab the name of all the notes from their
content using  a simples regex match or maybe xpath.
As for plugins, I wont take the effort to learn how to use .net now,
maybe in the future.

Thank you, these were quick and helpful replies.
Apreciated.

On Wed, Apr 23, 2008 at 9:20 PM, Pete Deremer <sportman1280@...> wrote:

> "(don't forget to reply-all)"
>
> Guilty as charged! :(
>
> Owned...
>
> Pete
>
>
>
> On Wed, Apr 23, 2008 at 2:28 PM, Sandy Armstrong
> <sanfordarmstrong@...> wrote:
>
> >
> >
> >
> > (don't forget to reply-all)
> >
> > Tomboy has a pretty nice dbus interface, so you can use any language
> > with dbus bindings (I like Python) to control Tomboy.  That's what I
> > would use to write the script.
> >
> >
> http://arstechnica.com/journals/linux.ars/2007/09/26/using-the-tomboy-d-bus-interface
> >
> > You can extend Tomboy to a much higher degree by writing an addin.  A
> > Tomboy addin must run on Mono, so it must be written in a .NET
> > language like C#, Boo, IronPython, etc.
> >
> > http://live.gnome.org/Tomboy/HowToCreateAddins
> >
> > Sandy
> >
> >
> > On 4/23/08, Pedro <pedro100@...> wrote:
> > > That was a wise workaround.
> > >  I will put up a script generate the index, quick and fun.
> > >
> > >  BTW, I have zero knowledge on mono an how tomboy is written, is it
> > >  possible to extend mono with plugins written in languages like python
> > >  or perl?
> >
> >
> >
> >
> >
> >
> > >
> > >
> > >  On Wed, Apr 23, 2008 at 8:04 PM, Sandy Armstrong
> > >  <sanfordarmstrong@...> wrote:
> > >  > On 4/23/08, Pedro <pedro100@...> wrote:
> > >  >  > That would be useful.
> > >  >  >  Is there anything like this?
> > >  >  >  A plugin, an external script, something?
> > >  >
> > >  >  Nothing that I know of, sorry.  We have an Export to HTML addin
> that's
> > >  >  installed by default, but it only works on one note at a time.  It
> can
> > >  >  include all notes linked from the note your exporting...so I guess
> you
> > >  >  could make one note that links to all of your other notes, and then
> > >  >  export that master note.  It wouldn't be hard to write a script that
> > >  >  creates the master note in one go.  Need help writing it?
> > >  >
> > >  >  And yes, we do intend to improve the export functionality to have
> the
> > >  >  behavior you really want.
> > >  >
> > >  >  Sandy
> > >  >
> > >
> >
> > _______________________________________________
> > Tomboy-list mailing list
> > Tomboy-list@...
> >
> http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com
> >
>
>
_______________________________________________
Tomboy-list mailing list
Tomboy-list@...
http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com

Parent Message unknown Re: is there any export all notes to html utility?

by Hot Mailing :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
A couple of additional thoughts here:

1. If this utility could export all notes that whose last changed date
was before a certain date then it could act as a archive utility.

2. I think it would also be useful if it put each note in a directory
that was named after the Tomboy folder.

3. It would also be useful if the name of the html file was YYYYMMDD -
. That way you could easily locate the html note you <br>need via nautilus or the "ls" command.<br><br>4. If you could post the source of your utility, I may be able to <br>re-write it in .NET as a Tomboy add-in.<br><br><br>Just thoughts.<br><br>Dave Vree<br><br><br>However<br><br>Pedro wrote:<br>> dbus looks like a really cool technology, but i think i'll just write<br>> a small perl script to grab the name of all the notes from their<br>> content using a simples regex match or maybe xpath.<br>> As for plugins, I wont take the effort to learn how to use .net now,<br>> maybe in the future.<br>><br>> Thank you, these were quick and helpful replies.<br>> Apreciated.<br>><br>> On Wed, Apr 23, 2008 at 9:20 PM, Pete Deremer <sportman1280@gmail.com> wrote:<br>> <br>>> "(don't forget to reply-all)"<br>>><br>>> Guilty as charged! :(<br>>><br>>> Owned...<br>>><br>>> Pete<br>>><br>>><br>>><br>>> On Wed, Apr 23, 2008 at 2:28 PM, Sandy Armstrong<br>>> <sanfordarmstrong@gmail.com> wrote:<br>>><br>>> <br>>>><br>>>> (don't forget to reply-all)<br>>>><br>>>> Tomboy has a pretty nice dbus interface, so you can use any language<br>>>> with dbus bindings (I like Python) to control Tomboy. That's what I<br>>>> would use to write the script.<br>>>><br>>>><br>>>> <br>>> http://arstechnica.com/journals/linux.ars/2007/09/26/using-the-tomboy-d-bus-interface<br>>> <br>>>> You can extend Tomboy to a much higher degree by writing an addin. A<br>>>> Tomboy addin must run on Mono, so it must be written in a .NET<br>>>> language like C#, Boo, IronPython, etc.<br>>>><br>>>> http://live.gnome.org/Tomboy/HowToCreateAddins<br>>>><br>>>> Sandy<br>>>><br>>>><br>>>> On 4/23/08, Pedro <pedro100@gmail.com> wrote:<br>>>> <br>>>>> That was a wise workaround.<br>>>>> I will put up a script generate the index, quick and fun.<br>>>>><br>>>>> BTW, I have zero knowledge on mono an how tomboy is written, is it<br>>>>> possible to extend mono with plugins written in languages like python<br>>>>> or perl?<br>>>>> <br>>>><br>>>><br>>>><br>>>><br>>>> <br>>>>> On Wed, Apr 23, 2008 at 8:04 PM, Sandy Armstrong<br>>>>> <sanfordarmstrong@gmail.com> wrote:<br>>>>> > On 4/23/08, Pedro <pedro100@gmail.com> wrote:<br>>>>> > > That would be useful.<br>>>>> > > Is there anything like this?<br>>>>> > > A plugin, an external script, something?<br>>>>> ><br>>>>> > Nothing that I know of, sorry. We have an Export to HTML addin<br>>>>> <br>>> that's<br>>> <br>>>>> > installed by default, but it only works on one note at a time. It<br>>>>> <br>>> can<br>>> <br>>>>> > include all notes linked from the note your exporting...so I guess<br>>>>> <br>>> you<br>>> <br>>>>> > could make one note that links to all of your other notes, and then<br>>>>> > export that master note. It wouldn't be hard to write a script that<br>>>>> > creates the master note in one go. Need help writing it?<br>>>>> ><br>>>>> > And yes, we do intend to improve the export functionality to have<br>>>>> <br>>> the<br>>> <br>>>>> > behavior you really want.<br>>>>> ><br>>>>> > Sandy<br>>>>> ><br>>>>><br>>>>> <br>>>> _______________________________________________<br>>>> Tomboy-list mailing list<br>>>> <a href="http://www.nabble.com/user/SendEmail.jtp?type=post&post=16878904&i=0" target="_top" rel="nofollow">Tomboy-list@...</a><br>>>><br>>>> <br>>> http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com<br>>> <br>>> <br>> _______________________________________________<br>> Tomboy-list mailing list<br>> <a href="http://www.nabble.com/user/SendEmail.jtp?type=post&post=16878904&i=1" target="_top" rel="nofollow">Tomboy-list@...</a><br>> http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com<br>><br>><br>> <br><br><br /><hr />Express yourself wherever you are. <a href='http://www.gowindowslive.com/Mobile/Landing/Messenger/Default.aspx?Locale=en-US?ocid=TAG_APRIL' target='_new' rel="nofollow">Mobilize!</a></body> </html><br />_______________________________________________ <br>Tomboy-list mailing list <br><a href="http://www.nabble.com/user/SendEmail.jtp?type=post&post=16878904&i=2" target="_top" rel="nofollow">Tomboy-list@...</a> <br><a href="http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com" target="_top" rel="nofollow">http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com</a><br></div> <script> if (Nabble.searchterms != null && Nabble.searchterms.length > 0) { Nabble.hilt(Nabble.searchterms, Nabble.get("nabble.msgtxt16878904")); } </script> </div> </td> </tr> <tr valign="top"> <!-- Current Message --> <td class="current-message"> <span id="nabble.i16895684" style="visibility:hidden;"><img alt="" width="12" height="12" src="/images/icon_tri.png" align="absmiddle" /></span><br /> </td> <td> <!-- Subject --> <a name="a16895684" /> <h2>Re: is there any export all notes to html utility?</h2><a id="nabble.aflag16895684" href="javascript: void Nabble.setFlag(16895684);"><img id="nabble.flag16895684" src="/images/icon_unflagged.png" width="15" height="15" border="0" onmouseover='status = alt; return true;' onmouseout='status = defaultStatus; return true;' /></a> <!-- /Subject --> <!-- Message Actions --> <span id='nabble.rating16895684'> <script>document.write(Nabble.ratingStars(3));</script> </span> <div class="message-actions weak-color"> <p class="message-actions1"> by <script>document.write('<a href=\"' +'/user/UserProfile' + '.jtp?'+'user=394413\" rel=\"nofollow\" ' + Nabble.embeddedTarget('_top') + '>');</script>Pedro-21<script>document.write('</a>');</script> <span class="weak-color"><script>document.write(Nabble.formatDateLong(new Date(1209124084000)));</script></span> :: Rate this Message: <a href="#" title="Click to mark as Spam" onmouseover='Nabble.mouseover(16895684,0); return true;' onmouseout='Nabble.mouseout(16895684); return true;' onclick='Nabble.clicked(16895684,0); return false;'><img id="nabble.spam16895684" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a> <a href="#" title="Click to rate as Poor Post" onmouseover='Nabble.mouseover(16895684,1); return true;' onmouseout='Nabble.mouseout(16895684); return true;' onclick='Nabble.clicked(16895684,1); return false;'><img id="nabble.star16895684-1" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a><a href="#" title="Click to rate as Below Average Post" onmouseover='Nabble.mouseover(16895684,2); return true;' onmouseout='Nabble.mouseout(16895684); return true;' onclick='Nabble.clicked(16895684,2); return false;'><img id="nabble.star16895684-2" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a><a href="#" title="Click to rate as Average Post" onmouseover='Nabble.mouseover(16895684,3); return true;' onmouseout='Nabble.mouseout(16895684); return true;' onclick='Nabble.clicked(16895684,3); return false;'><img id="nabble.star16895684-3" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a><a href="#" title="Click to rate as Above Average Post" onmouseover='Nabble.mouseover(16895684,4); return true;' onmouseout='Nabble.mouseout(16895684); return true;' onclick='Nabble.clicked(16895684,4); return false;'><img id="nabble.star16895684-4" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a><a href="#" title="Click to rate as Excellent Post" onmouseover='Nabble.mouseover(16895684,5); return true;' onmouseout='Nabble.mouseout(16895684); return true;' onclick='Nabble.clicked(16895684,5); return false;'><img id="nabble.star16895684-5" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a> <a href="#" title="Click to clear rating" onmouseover='Nabble.mouseover(16895684,-1); return true;' onmouseout='Nabble.mouseout(16895684); return true;' onclick='Nabble.clicked(16895684,-1); return false;'><img id='nabble.star16895684-0' alt="" border="0" src='/images/icon_clear_rating.png' style='vertical-align:middle;' /></a> <span id="nabble.descriptor16895684"></span> </p> <p class="message-actions2"> <script> document.writeln('<a href="/forum/Reply.jtp?post=16895684" rel="nofollow">Reply</a> | '); </script> <a href="/user/SendEmail.jtp?type=pm&post=16895684" target="_top" rel="nofollow">Reply to Author</a> <script> if( Nabble.user == 394413 ) { document.writeln('| <a href="javascript:Nabble.deletePost(16895684,Nabble.confirmDeletePostQuestionMailingList);" rel="nofollow">Delete</a>'); } else if( Nabble.user == 792292 ) { document.writeln('| <a href="javascript:Nabble.deletePost(16895684,Nabble.confirmDeletePostQuestionMailingList);" rel="nofollow">Delete</a>'); } document.writeln('| <a href="/forum/PrintPost.jtp?post=16895684" rel="nofollow" target="_new">Print</a>'); </script> | <a href="javascript: void Nabble.setView('newthreaded',16895684);">View Threaded</a> | <a href="http://www.nabble.com/Re%3A-is-there-any-export-all-notes-to-html-utility--p16895684.html" >Show Only this Message</a> </p> </div> <div class="message-details"> <div id="nabble.pending16895684"></div> <div class="message-text" id="nabble.msgtxt16895684">1.that is exactly what I thought, the whole purpose would be an <br>archive organised by timestamp named folders. But it might be better <br>to simply archive all notes. I think it allows a more confortable <br>browsing. <br><br>2.Personaly i find it more practical to have a timestamp named folder <br>with a snapshot of all the notes at that time. We all have a rough <br>time index of events in our heads, while note names tend to be <br>forgoten with time and can become difficult to browse if they are to <br>many. <br><br>3. check 1 and 2 <br><br>I haven't started this, this weekend probably i'll write it. <br><br>BTW, HTML export is an addin feature therefore is not supported by <br>dbus. Any suggestion on how to automate html export? <br><br>On Thu, Apr 24, 2008 at 4:53 PM, Hot Mailing <<a href="http://www.nabble.com/user/SendEmail.jtp?type=post&post=16895684&i=0" target="_top" rel="nofollow">mailing51@...</a>> wrote: <div class='shrinkable-quote'><br>> <br>>  A couple of additional thoughts here: <br>> <br>> 1. If this utility could export all notes that whose last changed date <br>> was before a certain date then it could act as a archive utility. <br>> <br>> 2. I think it would also be useful if it put each note in a directory <br>> that was named after the Tomboy folder. <br>> <br>> 3. It would also be useful if the name of the html file was YYYYMMDD - <br>> </div>_______________________________________________ <br>Tomboy-list mailing list <br><a href="http://www.nabble.com/user/SendEmail.jtp?type=post&post=16895684&i=1" target="_top" rel="nofollow">Tomboy-list@...</a> <br><a href="http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com" target="_top" rel="nofollow">http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com</a><br></div> <script> if (Nabble.searchterms != null && Nabble.searchterms.length > 0) { Nabble.hilt(Nabble.searchterms, Nabble.get("nabble.msgtxt16895684")); } </script> </div> </td> </tr> <tr valign="top"> <!-- Current Message --> <td class="current-message"> <span id="nabble.i16898210" style="visibility:hidden;"><img alt="" width="12" height="12" src="/images/icon_tri.png" align="absmiddle" /></span><br /> </td> <td> <!-- Subject --> <a name="a16898210" /> <h2>Re: is there any export all notes to html utility?</h2><a id="nabble.aflag16898210" href="javascript: void Nabble.setFlag(16898210);"><img id="nabble.flag16898210" src="/images/icon_unflagged.png" width="15" height="15" border="0" onmouseover='status = alt; return true;' onmouseout='status = defaultStatus; return true;' /></a> <!-- /Subject --> <!-- Message Actions --> <span id='nabble.rating16898210'> <script>document.write(Nabble.ratingStars(4));</script> </span> <div class="message-actions weak-color"> <p class="message-actions1"> by <script>document.write('<a href=\"' +'/user/UserProfile' + '.jtp?'+'user=282113\" rel=\"nofollow\" ' + Nabble.embeddedTarget('_top') + '>');</script>Sandy Armstrong<script>document.write('</a>');</script> <span class="weak-color"><script>document.write(Nabble.formatDateLong(new Date(1209131807000)));</script></span> :: Rate this Message: <a href="#" title="Click to mark as Spam" onmouseover='Nabble.mouseover(16898210,0); return true;' onmouseout='Nabble.mouseout(16898210); return true;' onclick='Nabble.clicked(16898210,0); return false;'><img id="nabble.spam16898210" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a> <a href="#" title="Click to rate as Poor Post" onmouseover='Nabble.mouseover(16898210,1); return true;' onmouseout='Nabble.mouseout(16898210); return true;' onclick='Nabble.clicked(16898210,1); return false;'><img id="nabble.star16898210-1" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a><a href="#" title="Click to rate as Below Average Post" onmouseover='Nabble.mouseover(16898210,2); return true;' onmouseout='Nabble.mouseout(16898210); return true;' onclick='Nabble.clicked(16898210,2); return false;'><img id="nabble.star16898210-2" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a><a href="#" title="Click to rate as Average Post" onmouseover='Nabble.mouseover(16898210,3); return true;' onmouseout='Nabble.mouseout(16898210); return true;' onclick='Nabble.clicked(16898210,3); return false;'><img id="nabble.star16898210-3" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a><a href="#" title="Click to rate as Above Average Post" onmouseover='Nabble.mouseover(16898210,4); return true;' onmouseout='Nabble.mouseout(16898210); return true;' onclick='Nabble.clicked(16898210,4); return false;'><img id="nabble.star16898210-4" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a><a href="#" title="Click to rate as Excellent Post" onmouseover='Nabble.mouseover(16898210,5); return true;' onmouseout='Nabble.mouseout(16898210); return true;' onclick='Nabble.clicked(16898210,5); return false;'><img id="nabble.star16898210-5" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a> <a href="#" title="Click to clear rating" onmouseover='Nabble.mouseover(16898210,-1); return true;' onmouseout='Nabble.mouseout(16898210); return true;' onclick='Nabble.clicked(16898210,-1); return false;'><img id='nabble.star16898210-0' alt="" border="0" src='/images/icon_clear_rating.png' style='vertical-align:middle;' /></a> <span id="nabble.descriptor16898210"></span> </p> <p class="message-actions2"> <script> document.writeln('<a href="/forum/Reply.jtp?post=16898210" rel="nofollow">Reply</a> | '); </script> <a href="/user/SendEmail.jtp?type=pm&post=16898210" target="_top" rel="nofollow">Reply to Author</a> <script> if( Nabble.user == 282113 ) { document.writeln('| <a href="javascript:Nabble.deletePost(16898210,Nabble.confirmDeletePostQuestionMailingList);" rel="nofollow">Delete</a>'); } else if( Nabble.user == 792292 ) { document.writeln('| <a href="javascript:Nabble.deletePost(16898210,Nabble.confirmDeletePostQuestionMailingList);" rel="nofollow">Delete</a>'); } document.writeln('| <a href="/forum/PrintPost.jtp?post=16898210" rel="nofollow" target="_new">Print</a>'); </script> | <a href="javascript: void Nabble.setView('newthreaded',16898210);">View Threaded</a> | <a href="http://www.nabble.com/Re%3A-is-there-any-export-all-notes-to-html-utility--p16898210.html" >Show Only this Message</a> </p> </div> <div class="message-details"> <div id="nabble.pending16898210"></div> <div class="message-text" id="nabble.msgtxt16898210">On 4/25/08, Pedro <<a href="http://www.nabble.com/user/SendEmail.jtp?type=post&post=16898210&i=0" target="_top" rel="nofollow">pedro100@...</a>> wrote: <br>> <br>>  BTW, HTML export is an addin feature therefore is not supported by <br>>  dbus. Any suggestion on how to automate html export? <br><br>As I said, I would use dbus to get the titles of all of my notes, and <br>then create a new note whose body was the the title of each note on a <br>different line (again, with dbus).  This note would basically be a <br>table of contents.  When you export it to HTML, because it links to <br>all notes, all notes would be exported into one HTML file. <br><br>Sandy <br>_______________________________________________ <br>Tomboy-list mailing list <br><a href="http://www.nabble.com/user/SendEmail.jtp?type=post&post=16898210&i=1" target="_top" rel="nofollow">Tomboy-list@...</a> <br><a href="http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com" target="_top" rel="nofollow">http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com</a><br></div> <script> if (Nabble.searchterms != null && Nabble.searchterms.length > 0) { Nabble.hilt(Nabble.searchterms, Nabble.get("nabble.msgtxt16898210")); } </script> </div> </td> </tr> <tr valign="top"> <!-- Current Message --> <td class="current-message"> <span id="nabble.i16898831" style="visibility:hidden;"><img alt="" width="12" height="12" src="/images/icon_tri.png" align="absmiddle" /></span><br /> </td> <td> <!-- Subject --> <a name="a16898831" /> <h2>Re: is there any export all notes to html utility?</h2><a id="nabble.aflag16898831" href="javascript: void Nabble.setFlag(16898831);"><img id="nabble.flag16898831" src="/images/icon_unflagged.png" width="15" height="15" border="0" onmouseover='status = alt; return true;' onmouseout='status = defaultStatus; return true;' /></a> <!-- /Subject --> <!-- Message Actions --> <span id='nabble.rating16898831'> <script>document.write(Nabble.ratingStars(3));</script> </span> <div class="message-actions weak-color"> <p class="message-actions1"> by <script>document.write('<a href=\"' +'/user/UserProfile' + '.jtp?'+'user=394413\" rel=\"nofollow\" ' + Nabble.embeddedTarget('_top') + '>');</script>Pedro-21<script>document.write('</a>');</script> <span class="weak-color"><script>document.write(Nabble.formatDateLong(new Date(1209134214000)));</script></span> :: Rate this Message: <a href="#" title="Click to mark as Spam" onmouseover='Nabble.mouseover(16898831,0); return true;' onmouseout='Nabble.mouseout(16898831); return true;' onclick='Nabble.clicked(16898831,0); return false;'><img id="nabble.spam16898831" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a> <a href="#" title="Click to rate as Poor Post" onmouseover='Nabble.mouseover(16898831,1); return true;' onmouseout='Nabble.mouseout(16898831); return true;' onclick='Nabble.clicked(16898831,1); return false;'><img id="nabble.star16898831-1" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a><a href="#" title="Click to rate as Below Average Post" onmouseover='Nabble.mouseover(16898831,2); return true;' onmouseout='Nabble.mouseout(16898831); return true;' onclick='Nabble.clicked(16898831,2); return false;'><img id="nabble.star16898831-2" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a><a href="#" title="Click to rate as Average Post" onmouseover='Nabble.mouseover(16898831,3); return true;' onmouseout='Nabble.mouseout(16898831); return true;' onclick='Nabble.clicked(16898831,3); return false;'><img id="nabble.star16898831-3" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a><a href="#" title="Click to rate as Above Average Post" onmouseover='Nabble.mouseover(16898831,4); return true;' onmouseout='Nabble.mouseout(16898831); return true;' onclick='Nabble.clicked(16898831,4); return false;'><img id="nabble.star16898831-4" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a><a href="#" title="Click to rate as Excellent Post" onmouseover='Nabble.mouseover(16898831,5); return true;' onmouseout='Nabble.mouseout(16898831); return true;' onclick='Nabble.clicked(16898831,5); return false;'><img id="nabble.star16898831-5" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a> <a href="#" title="Click to clear rating" onmouseover='Nabble.mouseover(16898831,-1); return true;' onmouseout='Nabble.mouseout(16898831); return true;' onclick='Nabble.clicked(16898831,-1); return false;'><img id='nabble.star16898831-0' alt="" border="0" src='/images/icon_clear_rating.png' style='vertical-align:middle;' /></a> <span id="nabble.descriptor16898831"></span> </p> <p class="message-actions2"> <script> document.writeln('<a href="/forum/Reply.jtp?post=16898831" rel="nofollow">Reply</a> | '); </script> <a href="/user/SendEmail.jtp?type=pm&post=16898831" target="_top" rel="nofollow">Reply to Author</a> <script> if( Nabble.user == 394413 ) { document.writeln('| <a href="javascript:Nabble.deletePost(16898831,Nabble.confirmDeletePostQuestionMailingList);" rel="nofollow">Delete</a>'); } else if( Nabble.user == 792292 ) { document.writeln('| <a href="javascript:Nabble.deletePost(16898831,Nabble.confirmDeletePostQuestionMailingList);" rel="nofollow">Delete</a>'); } document.writeln('| <a href="/forum/PrintPost.jtp?post=16898831" rel="nofollow" target="_new">Print</a>'); </script> | <a href="javascript: void Nabble.setView('newthreaded',16898831);">View Threaded</a> | <a href="http://www.nabble.com/Re%3A-is-there-any-export-all-notes-to-html-utility--p16898831.html" >Show Only this Message</a> </p> </div> <div class="message-details"> <div id="nabble.pending16898831"></div> <div class="message-text" id="nabble.msgtxt16898831">Yes, I got mixed up and forgot that all the notes are exported to one file. <br>The issue I was trying to address is the need for manually export the <br>notes rather than having an automated periodic export. <br>But I think I'll leave that to an hypothetical future plugin. <br><br>I'll  try to write this during the weekend. <br><br>On Fri, Apr 25, 2008 at 3:56 PM, Sandy Armstrong <br><<a href="http://www.nabble.com/user/SendEmail.jtp?type=post&post=16898831&i=0" target="_top" rel="nofollow">sanfordarmstrong@...</a>> wrote: <div class='shrinkable-quote'><br>> On 4/25/08, Pedro <<a href="http://www.nabble.com/user/SendEmail.jtp?type=post&post=16898831&i=1" target="_top" rel="nofollow">pedro100@...</a>> wrote: <br>>  > <br>>  >  BTW, HTML export is an addin feature therefore is not supported by <br>>  >  dbus. Any suggestion on how to automate html export? <br>> <br>>  As I said, I would use dbus to get the titles of all of my notes, and <br>>  then create a new note whose body was the the title of each note on a <br>>  different line (again, with dbus).  This note would basically be a <br>>  table of contents.  When you export it to HTML, because it links to <br>>  all notes, all notes would be exported into one HTML file. <br>> <br>>  Sandy <br>> </div>_______________________________________________ <br>Tomboy-list mailing list <br><a href="http://www.nabble.com/user/SendEmail.jtp?type=post&post=16898831&i=2" target="_top" rel="nofollow">Tomboy-list@...</a> <br><a href="http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com" target="_top" rel="nofollow">http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com</a><br></div> <script> if (Nabble.searchterms != null && Nabble.searchterms.length > 0) { Nabble.hilt(Nabble.searchterms, Nabble.get("nabble.msgtxt16898831")); } </script> </div> </td> </tr> <tr valign="top"> <!-- Current Message --> <td class="current-message"> <span id="nabble.i16927944" style="visibility:hidden;"><img alt="" width="12" height="12" src="/images/icon_tri.png" align="absmiddle" /></span><br /> </td> <td> <!-- Subject --> <a name="a16927944" /> <h2>Re: is there any export all notes to html utility?</h2><a id="nabble.aflag16927944" href="javascript: void Nabble.setFlag(16927944);"><img id="nabble.flag16927944" src="/images/icon_unflagged.png" width="15" height="15" border="0" onmouseover='status = alt; return true;' onmouseout='status = defaultStatus; return true;' /></a> <!-- /Subject --> <!-- Message Actions --> <span id='nabble.rating16927944'> <script>document.write(Nabble.ratingStars(3));</script> </span> <div class="message-actions weak-color"> <p class="message-actions1"> by <script>document.write('<a href=\"' +'/user/UserProfile' + '.jtp?'+'user=394413\" rel=\"nofollow\" ' + Nabble.embeddedTarget('_top') + '>');</script>Pedro-21<script>document.write('</a>');</script> <span class="weak-color"><script>document.write(Nabble.formatDateLong(new Date(1209327175000)));</script></span> :: Rate this Message: <a href="#" title="Click to mark as Spam" onmouseover='Nabble.mouseover(16927944,0); return true;' onmouseout='Nabble.mouseout(16927944); return true;' onclick='Nabble.clicked(16927944,0); return false;'><img id="nabble.spam16927944" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a> <a href="#" title="Click to rate as Poor Post" onmouseover='Nabble.mouseover(16927944,1); return true;' onmouseout='Nabble.mouseout(16927944); return true;' onclick='Nabble.clicked(16927944,1); return false;'><img id="nabble.star16927944-1" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a><a href="#" title="Click to rate as Below Average Post" onmouseover='Nabble.mouseover(16927944,2); return true;' onmouseout='Nabble.mouseout(16927944); return true;' onclick='Nabble.clicked(16927944,2); return false;'><img id="nabble.star16927944-2" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a><a href="#" title="Click to rate as Average Post" onmouseover='Nabble.mouseover(16927944,3); return true;' onmouseout='Nabble.mouseout(16927944); return true;' onclick='Nabble.clicked(16927944,3); return false;'><img id="nabble.star16927944-3" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a><a href="#" title="Click to rate as Above Average Post" onmouseover='Nabble.mouseover(16927944,4); return true;' onmouseout='Nabble.mouseout(16927944); return true;' onclick='Nabble.clicked(16927944,4); return false;'><img id="nabble.star16927944-4" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a><a href="#" title="Click to rate as Excellent Post" onmouseover='Nabble.mouseover(16927944,5); return true;' onmouseout='Nabble.mouseout(16927944); return true;' onclick='Nabble.clicked(16927944,5); return false;'><img id="nabble.star16927944-5" height="12" width="12" alt="" border="0" style="vertical-align:middle;" /></a> <a href="#" title="Click to clear rating" onmouseover='Nabble.mouseover(16927944,-1); return true;' onmouseout='Nabble.mouseout(16927944); return true;' onclick='Nabble.clicked(16927944,-1); return false;'><img id='nabble.star16927944-0' alt="" border="0" src='/images/icon_clear_rating.png' style='vertical-align:middle;' /></a> <span id="nabble.descriptor16927944"></span> </p> <p class="message-actions2"> <script> document.writeln('<a href="/forum/Reply.jtp?post=16927944" rel="nofollow">Reply</a> | '); </script> <a href="/user/SendEmail.jtp?type=pm&post=16927944" target="_top" rel="nofollow">Reply to Author</a> <script> if( Nabble.user == 394413 ) { document.writeln('| <a href="javascript:Nabble.deletePost(16927944,Nabble.confirmDeletePostQuestionMailingList);" rel="nofollow">Delete</a>'); } else if( Nabble.user == 792292 ) { document.writeln('| <a href="javascript:Nabble.deletePost(16927944,Nabble.confirmDeletePostQuestionMailingList);" rel="nofollow">Delete</a>'); } document.writeln('| <a href="/forum/PrintPost.jtp?post=16927944" rel="nofollow" target="_new">Print</a>'); </script> | <a href="javascript: void Nabble.setView('newthreaded',16927944);">View Threaded</a> | <a href="http://www.nabble.com/Re%3A-is-there-any-export-all-notes-to-html-utility--p16927944.html" >Show Only this Message</a> </p> </div> <div class="message-details"> <div id="nabble.pending16927944"></div> <div class="message-text" id="nabble.msgtxt16927944">Ok, the first draft is complete and functional. <br>I just put a couple of functions from tomboy dbus API together. <br>The documentation on perl's Net::Dbus is not available yet so I just <br>used epiphany plugin as a reference. <br><br>Here's the script <br><br><a href="http://pastebin.com/f718a7655" target="_top" rel="nofollow">http://pastebin.com/f718a7655</a><br><br>Any suggestions on how to automate this process? Like... running this <br>script when tomboy starts or something similar would be cool. <br><br>just for future reference...... <br>#!/usr/bin/env python <br># <br>#   This script creates a tomboy note containing link to each other note <br>#   so one can easily export all the notes to an HTML file <br><br>import dbus <br><br><br>note_title = "Note Index" <br><br># Get the D-Bus session bus <br>bus = dbus.SessionBus() <br><br># Access the Tomboy D-Bus object <br>obj = bus.get_object("org.gnome.Tomboy","/org/gnome/Tomboy/RemoteControl") <br><br># Access the Tomboy remote control interface <br>tomboy = dbus.Interface(obj, "org.gnome.Tomboy.RemoteControl") <br><br>notes_links = "" <br><br>for note in tomboy.ListAllNotes(): <br>        notes_links += tomboy.GetNoteTitle(note) + " \n" <br>        <br><br>uri = tomboy.FindNote(note_title) <br>if uri == "": <br>        uri = tomboy.CreateNamedNote(note_title) <br><br>tomboy.SetNoteContents(uri, note_title + "\n\n" + notes_links) <br><br>#end of script =========================================== <br><br><br><br><br>On Fri, Apr 25, 2008 at 4:36 PM, Pedro <<a href="http://www.nabble.com/user/SendEmail.jtp?type=post&post=16927944&i=0" target="_top" rel="nofollow">pedro100@...</a>> wrote: <div class='shrinkable-quote'><br>> Yes, I got mixed up and forgot that all the notes are exported to one file. <br>>  The issue I was trying to address is the need for manually export the <br>>  notes rather than having an automated periodic export. <br>>  But I think I'll leave that to an hypothetical future plugin. <br>> <br>>  I'll  try to write this during the weekend. <br>> <br>>  On Fri, Apr 25, 2008 at 3:56 PM, Sandy Armstrong <br>>  <<a href="http://www.nabble.com/user/SendEmail.jtp?type=post&post=16927944&i=1" target="_top" rel="nofollow">sanfordarmstrong@...</a>> wrote: <br>> <br>> <br>> > On 4/25/08, Pedro <<a href="http://www.nabble.com/user/SendEmail.jtp?type=post&post=16927944&i=2" target="_top" rel="nofollow">pedro100@...</a>> wrote: <br>>  >  > <br>>  >  >  BTW, HTML export is an addin feature therefore is not supported by <br>>  >  >  dbus. Any suggestion on how to automate html export? <br>>  > <br>>  >  As I said, I would use dbus to get the titles of all of my notes, and <br>>  >  then create a new note whose body was the the title of each note on a <br>>  >  different line (again, with dbus).  This note would basically be a <br>>  >  table of contents.  When you export it to HTML, because it links to <br>>  >  all notes, all notes would be exported into one HTML file. <br>>  > <br>>  >  Sandy <br>>  > <br>> </div>_______________________________________________ <br>Tomboy-list mailing list <br><a href="http://www.nabble.com/user/SendEmail.jtp?type=post&post=16927944&i=3" target="_top" rel="nofollow">Tomboy-list@...</a> <br><a href="http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com" target="_top" rel="nofollow">http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com</a><br></div> <script> if (Nabble.searchterms != null && Nabble.searchterms.length > 0) { Nabble.hilt(Nabble.searchterms, Nabble.get("nabble.msgtxt16927944")); } </script> </div> </td> </tr> </table> <form><input type="hidden" id="nabble.back" value="no" /></form> <script type="text/javascript"><!-- if( Nabble.ads ) { Nabble.ads(); } //--></script> <div id='nabble.searchResults'></div> <script> //Nabble.gquery = 'test'; //Nabble.topicDumpSearch = true; if (Nabble.gquery!=null) { if (Nabble.topicDumpSearch) { Nabble.get('nabble.searchResults').innerHTML = '<h1> Other threads matching \"<strong>'+Nabble.gquery+'</strong>\":</h1>'+ '<p style=\"margin-left: 3em;\">looking for matching threads...</p>'; Nabble.loadScript('/forum/TopicDump$SearchJs.jtp?query='+encodeURIComponent(Nabble.gquery)+'&post=16861369'); Nabble.setVar('prev',null); } else { Nabble.setVar('prev', '<big><a id="nabble.prev_search" href="/forum/Search.jtp?query='+encodeURIComponent(Nabble.gquery)+'">Search Nabble for "<b>'+Nabble.gquery+'</b>"</a>' ); } } if( Nabble.prev ) Nabble.writeReturnToLink(Nabble.prev); </script> <div style="margin-top:2em;text-align:center;"> <a rel="nofollow" href="http://www.lightinthebox.com">LightInTheBox</a> - Buy quality products at <a rel="nofollow" href="http://www.lightinthebox.com">wholesale</a> price</a> <div style="margin-top:3px"><img src="/images/ad.gif" height=9 width="82"/></div> </div> <table class="footer-table shaded-bg-color" style='margin-top:.5em'> <tr> <td class="footer-left"> <a href="http://n2.nabble.com/free-forum.html" target="_top">Free Forum</a> Powered by Nabble </td> <td class="footer-right"> <a href="/help/Index.jtp" target="_top" embed="fixTarget">Forum Help</a> </td> </tr> </table> </div> <script> (function(){ if( Nabble.cur ) { var t = Nabble.get( "nabble.i" + Nabble.cur ); if( t ) { t.style.visibility = "visible"; } } if( Nabble.gquery!=null ) { var t = Nabble.get("nabble.searchQuery"); t.value = Nabble.gquery; Nabble.selectOption(Nabble.get("nabble.searchSelect"),"n"); if( !Nabble.notRed ) { t.className += "error-message"; t.style.borderStyle = "solid"; t.style.borderWidth = "3px"; t.style.backgroundColor = Nabble.currentStyle(Nabble.get('nabble')).backgroundColor; } } })(); </script> <script src="/forum/TopicDump$Js.jtp?root=16861369&rating=2&p=16861369&p=16861724&p=16862232&p=16863187&p=16863801&p=16878904&p=16895684&p=16898210&p=16898831&p=16927944&u=394413&u=282113&u=282113&u=393936&u=394413&u=1107906&u=394413&u=282113&u=394413&u=394413"></script> <script> Nabble.analytics(); </script> </body> </html>