473,387 Members | 3,801 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

iCalendar (ICS) server

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
4 4705
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: MassDev | last post by:
ICS, the User Interface Company, has acquired the UIM/X product line from Bluestone Consulting, Inc, of Moorestown, NJ. ICS will provide on-going technical support, product upgrades, and new...
0
by: saurabhaggarwal | last post by:
Hi I am trying to create a .ics file. Problems I have with this are................. 1. For few fields it gives me following message A program is trying to access e-mail addressess you have...
0
by: Johannes | last post by:
Hello all, On my webpage http://www.tdf.boers.sohosted.com/uciprotouri/2006i/download2006i.aspx I offer an iCalendar file with the FIFA wk 2006 match schedule so my visitors can import it...
4
by: Lyle Fairfield | last post by:
iCalendar is a standard (RFC 2445) for calendar data exchange. I plan to transfer data from iCalendar files (extension .ics), to a linked Outlook calendar table. While Outlook (2002) has an...
17
by: csharpusr | last post by:
Hello, I'm looking for some C# code that loads a iCalendar file from a wesbite, loops through the .ics file and extracts the event details from each event in the file. I don't want to use...
0
by: tinnews | last post by:
I am about to try writing a little Python utility to extract some data from an iCalendar file. A quick Google search turns up two possible libraries to use - vobject and "iCalendar package for...
1
by: =?Utf-8?B?QiBTaW5naA==?= | last post by:
Hi Scenario 1) Host - XP Laptop with internet connection using Sky Broadband Wireless Router Netgear DG834GT 2) MS Virtual Server 2005 - I have deployed an XP MS Virtual Server 2005 to act...
2
by: questionit | last post by:
Hi I ran ICS between 2 XP Systems. One of the XP system joined a domain on Windows 2003 server. Now, when i tried to run internet on that machine again (connected to XP with ICS enabled),...
2
by: Erik Witkop | last post by:
So I have been trying to get this to work all day. I can't get a local file on my web server to attach to an email. Right now I have it printing out in the body of the email. Please help me with...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.