Re: [Orgmode] Re: Adding entries to Google calendar

2010-09-13 Thread Sven Bretfeld
Hi

Eric S Fraga ucec...@ucl.ac.uk writes:

 I haven't found a way to push an ics file to google; however, you
 can tell google calendar to add a calendar that is based on a specific
 url pointing to an ics file and google will periodically load that
 file and update the calendar.  

Yes, that works. I've tested this with my mydisk.se account last week
for one or two days.

 The problem with this is that, although it works just fine, the url
 must be generally accessible (no authentication support). Of course,
 you can obfuscate the path to the file so that it won't be found
 easily but this is only security by hiding... It's also not clear how
 often or when google checks that file although it appears, from my
 limited testing, to be at least once a day but not much more often
 than that.

That's right. You can't update the imported files manually. You always
have to wait for a day before the changes in your ics file become
visible in Google. That's why I abandoned this method.

Greetings,

Sven

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


Re: [Orgmode] Re: Adding entries to Google calendar

2010-09-10 Thread Eric S Fraga
On Thu, 09 Sep 2010 10:25:31 +0100, Stephen Eglen s.j.eg...@damtp.cam.ac.uk 
wrote:

[...]

 I was keen to see if I could upload my 'org.ics' file generated by org
 mode using 'C-c C-e c' to google.  So effectively I just use google to
 be a read-only version of my agenda.  That doesn't seem to be possible
 either from what I read, but I thought I saw it was on a list of future
 projects.
 
 Stephen

Stephen,

I haven't found a way to push an ics file to google; however, you
can tell google calendar to add a calendar that is based on a specific
url pointing to an ics file and google will periodically load that
file and update the calendar.  The problem with this is that, although
it works just fine, the url must be generally accessible (no
authentication support).  Of course, you can obfuscate the path to the
file so that it won't be found easily but this is only security by
hiding...  It's also not clear how often or when google checks that
file although it appears, from my limited testing, to be at least once
a day but not much more often than that.
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Adding entries to Google calendar

2010-09-10 Thread Rémi Vanicat
Eric S Fraga ucec...@ucl.ac.uk writes:


 I haven't found a way to push an ics file to google; c

There exists Gcaldeamon (http://gcaldaemon.sourceforge.net/), but the
version as a bug that need a patch
(https://sourceforge.net/projects/gcaldaemon/forums/forum/643348/topic/3367835)
But there are still some problems with this.

I'm now trying to make it work, but it's not of release quality yet.
-- 
Rémi Vanicat


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


[Orgmode] Re: Adding entries to Google calendar

2010-09-09 Thread Stephen Eglen
 hi Matt,
 Carsten accepted a patch of mine a while ago that allows you to do stuff
 like the following from the agenda:

 i d RET 09:00-09:30 meeting with Joe

 and the time is extracted from the text you enter, if you set:

 (setq org-agenda-insert-diary-extract-time t)
 
 this is super, stephen thank you.

Great.  I should make the docstring for that variable a bit more
informative, if it has n1 user!


 for a real two-way sync to work with this method, I think we need access to
 uid's of google calendar events.  If I read the documentation properly, the
 underlying gdata-python library doesn't support uid queries.  So I filed an
 enhancement bug:
 http://code.google.com/p/gdata-python-client/issues/detail?id=444q=uid
 maybe someone with a better coding sense can improve it; in any case, we can
 all follow its progress at that url.

That's a good idea.  

I was keen to see if I could upload my 'org.ics' file generated by org
mode using 'C-c C-e c' to google.  So effectively I just use google to
be a read-only version of my agenda.  That doesn't seem to be possible
either from what I read, but I thought I saw it was on a list of future
projects.

Stephen


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


[Orgmode] Re: Adding entries to Google calendar

2010-09-08 Thread Stephen Eglen
Matt Price mopto...@gmail.com writes:


 - as I understand it this system will only work with entries that have
 been added via i in a calendar-mode org agenda view.  When I try to
 add items this way I am never prompted for a time, only a date.  Am I
 missing something here?

hi Matt,
Carsten accepted a patch of mine a while ago that allows you to do stuff
like the following from the agenda:

i d RET 09:00-09:30 meeting with Joe

and the time is extracted from the text you enter, if you set:

(setq org-agenda-insert-diary-extract-time t)

Stephen



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


[Orgmode] Re: Adding entries to Google calendar

2010-09-08 Thread Matt Price
On Wed, Sep 8, 2010 at 1:12 PM, Stephen Eglen s.j.eg...@damtp.cam.ac.ukwrote:

 The following message is a courtesy copy of an article
 that has been posted to gmane.emacs.orgmode as well.

 Matt Price mopto...@gmail.com writes:


  - as I understand it this system will only work with entries that have
  been added via i in a calendar-mode org agenda view.  When I try to
  add items this way I am never prompted for a time, only a date.  Am I
  missing something here?

 hi Matt,
 Carsten accepted a patch of mine a while ago that allows you to do stuff
 like the following from the agenda:

 i d RET 09:00-09:30 meeting with Joe

 and the time is extracted from the text you enter, if you set:

 (setq org-agenda-insert-diary-extract-time t)

 this is super, stephen thank you.
had some difficulties with google's timezone handling but those appear to be
fixed now.  seems to be woring perfectly!

for a real two-way sync to work with this method, I think we need access to
uid's of google calendar events.  If I read the documentation properly, the
underlying gdata-python library doesn't support uid queries.  So I filed an
enhancement bug:
http://code.google.com/p/gdata-python-client/issues/detail?id=444q=uid
maybe someone with a better coding sense can improve it; in any case, we can
all follow its progress at that url.

matt



  Stephen


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