[Tudu] tudu: Import/Export
Ruben Pollan
meskio at sindominio.net
Fri Aug 27 20:24:30 CEST 2010
On 11:04, Fri 27 Aug 10, Mark Holmquist wrote:
> > Ahh, I see. We where talking about different things. I was thinking on
> > import/export to other formats (like html), and you were thinking in
> > import/export other tudus. Sounds great, I like it.
>
> Well, I can do both....HTML might be a little trickier, but XSL might help. Maybe just link the XML files to an XSL stylesheet? I'm not sure it's possible to generate HTML programmatically with XSL, but I could be wrong.
I don't know I never used XSL. If tudu is able to export in other formats will
be nice if is kind of modular, so the users can create their templates for their
own formats.
Any way if you came up with any idea, just tell me.
>
> > What about something like have a command?
> > :import ~/foo.xml
> > It will import the '~/foo.xml' as a child of the task where is the cursor.
>
> Good idea! Are commands already implemented, or will I have to do that, too? :P
No, the commands are implemented, but there is few of them already (check the
man page).
You can see the file tudu/src/cmd.cc that handles the commands, and in
tudu/src/editor.cc there is the CmdEditor that handles the input of them (doing
autocomplexion and so).
>
> > And could be another command:
> > :export ~/bar.xml
> > That will export the task where is the cursor and all the childs to '~/bar.xml'.
>
> Or maybe allow the user to select tasks to export (using spacebar to select/deselect, and enter to finish).
That could be nice. There is no way right now for select tasks, but could be
useful to create it.
>
> > If you get lost in the code (there is few few comments) just ask.
>
> I think I'll be OK, the code seems pretty straightforward. This is my first time working with ncurses, though. We'll see how that goes :/
:)
PS: I send it to the mailing list, I just realize I send it only to you.
--
Rubén Pollán | jabber:meskio at jabber.org
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
La felicidad no es hacer lo que deseas
es desear lo que haces.
----- End forwarded message -----
--
Rubén Pollán | jabber:meskio at jabber.org
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Si luchas puedes perder
Si no luchas estas perdido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.cauterized.net/pipermail/tudu/attachments/20100827/24482450/attachment.pgp>
More information about the Tudu
mailing list