By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,746 Members | 1,928 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,746 IT Pros & Developers. It's quick & easy.

iCalendar (ICS) server

P: n/a
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
Sep 14 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Mark wrote:
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.
js*******@attglobal.net
==================

Sep 14 '08 #2

P: n/a
Mark wrote:
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
Sep 14 '08 #3

P: n/a
Mark wrote:
Mark wrote:
>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.
js*******@attglobal.net
==================

Sep 15 '08 #4

P: n/a
On 14 Sep, 23:52, Mark <m...@comparity.not.example.netwrote:
Mark wrote:
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
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.
Sep 18 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.