Hi there,

If you are using the post method.

Create your entry in the format specified here :
http://code.google.com/apis/calendar/docs/2.0/developers_guide_protocol.html#CreatingSingle


Then create a comment feed to your event :

  $arrTemp[] ="<?xml version='1.0' encoding='utf-8'?>";
  $arrTemp[] = "<entry xmlns='http://www.w3.org/2005/Atom'  xmlns:gd='
http://schemas.google.com/g/2005'> " ;
  $arrTemp[] = "<category scheme='http://schemas.google.com/g/2005#kind'
term='http://schemas.google.com/g/2005#message' />";
  $arrTemp[] = "<title type='text'>". $arr["Title"] ."</title>";
  $arrTemp[] = "<content type='html'>". $arr["Description"]."</content>";
  $arrTemp[] = "<author>";
  $arrTemp[] = "<name>CUBRIC studies database note:</name>";
  $arrTemp[] = "<email>cubric.calen...@googlemail.com</email>";
  $arrTemp[] = "</author>";
  $arrTemp[] = "</entry>";


On Sun, Feb 15, 2009 at 2:15 PM, Nuno Cordeiro <nunomfcorde...@gmail.com>wrote:

>
> Actually I wanted to see the example (the link doesn't work) but some
> code would be great =)
> Thanks for the help.
>
> On Feb 14, 8:09 pm, CUBRIC studies database
> <cubric.calen...@googlemail.com> wrote:
> > Hi there,
> >
> > Sorry that link was just an example do you need some code ?
> >
> > On Thu, Feb 12, 2009 at 7:15 PM, Carl <cinn...@technicate.com> wrote:
> >
> > > I'm getting the same problem and I've seen links for it, and so far
> > > Google hasn't said a word.
> >
> > > I agree with you, it makes no sense to do it this way.
> >
> > > On Feb 9, 10:47 am, Nuno Cordeiro <nunomfcorde...@gmail.com> wrote:
> > > > Hi,
> >
> > > > I have a Google calendar embedded on my webpage with events related
> to
> > > > activities I am organizing. On each event, I create a link that
> > > > redirects the user to a page with more information and the option to
> > > > subscribe to the event.
> >
> > > > My problem is that the links I post on the event get rewritten by
> > > > google. One a user clicks on one, a new tab is created which leads to
> > > > a page with a redirect warning. Since I am providing the users with a
> > > > link to within the same website this is inconvenient and makes no
> > > > sense at all.
> >
> > > > Is there anyway that I can remove this warning? I thought of using JS
> > > > to rewrite the links but since the iframe is in a different domain,
> > > > the browser probably wouldn't allow it.
> >
> > > > Any suggestions? I'd hate to have to use the API to fetch all the
> > > > events and then build a Calendar of my own only to avoid a silly
> > > > warning.
> >
> > > > I would be REALLY thankful for any help
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
google-calendar-help-dataapi@googlegroups.com
To unsubscribe from this group, send email to 
google-calendar-help-dataapi+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to