473,396 Members | 2,020 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,396 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 4716
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.