On Mar 24, 2009, at 1:43 AM, Brad Bozarth wrote:

This is nice, no more superfluous flat file... thanks!

I don't think so!  Because if I see this correctly, your own
solution will allow new entries to be refiled to other files,
removed or archived, without the script adding them again.  If you
do this in Ians solution, I think they will be added again.

- Carsten

-brad

On Mon, Mar 23, 2009 at 6:47 AM, Ian Barton <lists@manor-farm.org> wrote:

Pretty simple - it could be cleaner, and filenames and such are
hardcoded, but it should be easy for anyone to fix it up or simply
replace the filenames and formatting to their liking. It's simple ...
but still feels like magic when I press one button on my iPhone in the
car, and what I spoke is sitting in my gtd.org when I get to the
office :) ... tarball of hack attached. Note that my awk is from OS X,
should work on linux as well though (I first got it running on linux,
but had to escape some / characters in a pattern match to get
reqallxml.awk to work on my mac and haven't tested it again on linux).

Appended is a quick hack in Python that appends items from the rss feed to
an org file. Tasks are give the guid property, which is used to identify
which tasks have already been imported.

Requires Mark Pilgrim's feed parser (think this is already part of Python)
and Charles Cave's orgnode.py. Note orgnode.py seems to have a bug, where it
requires at least one entry in the file.

Ian.

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode