Connecting Tech Pros Worldwide Help | Site Map

iCalendar (ICS) server

Mark
Guest
 
Posts: n/a
#1: Sep 14 '08
I am trying to write a light iCalendar server.

I have no problem serving iCalendar data, which is just printing the
right format with the right headers. The data comes from a database.

However, I have no idea how I can receive and process an iCalendar
request, as regards adding a new event. Eventually I want to parse the
request and add it to the database.

I am using Thunderbird with the Lightning Extension. I have connected it
to a remote calendar using iCalendar (ICS), and the http:// protocol.

At the PHP end, I have tried everything I can find to read input,
including getheaders(), and php://, but I cannot see anything relating
to adding a new event.

Sorry if the question seems a bit vague, as I have no knowledge of the
protocols involved with calendars, nor how to get this sort of data in PHP.

Any suggestions?

Thanks,

Mark
Jerry Stuckle
Guest
 
Posts: n/a
#2: Sep 14 '08

re: iCalendar (ICS) server


Mark wrote:
Quote:
I am trying to write a light iCalendar server.
>
I have no problem serving iCalendar data, which is just printing the
right format with the right headers. The data comes from a database.
>
However, I have no idea how I can receive and process an iCalendar
request, as regards adding a new event. Eventually I want to parse the
request and add it to the database.
>
I am using Thunderbird with the Lightning Extension. I have connected it
to a remote calendar using iCalendar (ICS), and the http:// protocol.
>
At the PHP end, I have tried everything I can find to read input,
including getheaders(), and php://, but I cannot see anything relating
to adding a new event.
>
Sorry if the question seems a bit vague, as I have no knowledge of the
protocols involved with calendars, nor how to get this sort of data in PHP.
>
Any suggestions?
>
Thanks,
>
Mark
>
Mark,

I'm still not sure what you're trying to do.

The only thing your PHP script will get is what's passed to it from the
browser (if running under a web server) or via the command line (not
running under a web server). Thunderbird is an email reader and does
neither of these.

How are you expecting to get data to your script?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Mark
Guest
 
Posts: n/a
#3: Sep 14 '08

re: iCalendar (ICS) server


Mark wrote:
Quote:
I am trying to write a light iCalendar server.
>
I have no problem serving iCalendar data, which is just printing the
right format with the right headers. The data comes from a database.
>
However, I have no idea how I can receive and process an iCalendar
request, as regards adding a new event. Eventually I want to parse the
request and add it to the database.
>
I am using Thunderbird with the Lightning Extension. I have connected it
to a remote calendar using iCalendar (ICS), and the http:// protocol.
>
At the PHP end, I have tried everything I can find to read input,
including getheaders(), and php://, but I cannot see anything relating
to adding a new event.
>
Sorry if the question seems a bit vague, as I have no knowledge of the
protocols involved with calendars, nor how to get this sort of data in PHP.
>
Any suggestions?
>
Thanks,
>
Mark
Actually, I think I've got the wrong idea. I gather that ICS is not a
format that will I can use for this purpose: only for reading, but not
writing events.

Mark
Jerry Stuckle
Guest
 
Posts: n/a
#4: Sep 15 '08

re: iCalendar (ICS) server


Mark wrote:
Quote:
Mark wrote:
Quote:
>I am trying to write a light iCalendar server.
>>
>I have no problem serving iCalendar data, which is just printing the
>right format with the right headers. The data comes from a database.
>>
>However, I have no idea how I can receive and process an iCalendar
>request, as regards adding a new event. Eventually I want to parse the
>request and add it to the database.
>>
>I am using Thunderbird with the Lightning Extension. I have connected
>it to a remote calendar using iCalendar (ICS), and the http:// protocol.
>>
>At the PHP end, I have tried everything I can find to read input,
>including getheaders(), and php://, but I cannot see anything relating
>to adding a new event.
>>
>Sorry if the question seems a bit vague, as I have no knowledge of the
>protocols involved with calendars, nor how to get this sort of data in
>PHP.
>>
>Any suggestions?
>>
>Thanks,
>>
>Mark
>
Actually, I think I've got the wrong idea. I gather that ICS is not a
format that will I can use for this purpose: only for reading, but not
writing events.
>
Mark
>
Not necessarily. It can be used for many things. You just have to
write the code to use it.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

C. (http://symcbean.blogspot.com/)
Guest
 
Posts: n/a
#5: Sep 18 '08

re: iCalendar (ICS) server


On 14 Sep, 23:52, Mark <m...@comparity.not.example.netwrote:
Quote:
Mark wrote:
Quote:
I am trying to write a light iCalendar server.
>
Quote:
I have no problem serving iCalendar data, which is just printing the
right format with the right headers. The data comes from a database.
>
Quote:
However, I have no idea how I can receive and process an iCalendar
request, as regards adding a new event. Eventually I want to parse the
request and add it to the database.
>
Quote:
I am using Thunderbird with the Lightning Extension. I have connected it
to a remote calendar using iCalendar (ICS), and the http:// protocol.
>
Quote:
At the PHP end, I have tried everything I can find to read input,
including getheaders(), and php://, but I cannot see anything relating
to adding a new event.
>
Quote:
Sorry if the question seems a bit vague, as I have no knowledge of the
protocols involved with calendars, nor how to get this sort of data in PHP.
>
Quote:
Any suggestions?
>
Quote:
Thanks,
>
Quote:
Mark
>
Actually, I think I've got the wrong idea. I gather that ICS is not a
format that will I can use for this purpose: only for reading, but not
writing events.
>
Mark
I think its caldav you should be looking for (an extension to WebDAV
which is an extension to HTTP to allow editing of files on server by
client).

C.
Closed Thread