473,721 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4763
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*******@attgl obal.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*******@attgl obal.net
=============== ===

Sep 15 '08 #4
On 14 Sep, 23:52, Mark <m...@comparity .not.example.ne twrote:
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
1757
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 licenses to the thousands of UIM/X users worldwide. Additionally, ICS plans to migrate the products to the Linux platform. Along with the acquisition of Centerline Software last year and ICS' installed base of BX PRO customers, ICS now has strong...
0
5082
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 stored in Outlook. Do you want to allow this? 2. This file is created in a specific manner. I mean entries are made
0
1263
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 easily in Outlook. When you import the file in Outlook all matches are shown correct. The problem is that when you synchronize Outlook with a PDA alle matches are shown as a all day event and they are displayed the day following
4
7646
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 import strand for this, it does not seem to work with the format I shall be importing. iCalendar files are not comma delimited files. My first inclination is to open the iCalendar file with low level DOS commands, to parse its contents with Regular...
17
28098
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 aspose.icalendar or another one of the popular packages. My ultimate goal is take the iCal data and import into a SQL Server database. I can handle the import to the database but I'm having trouble reading the iCalendar files from external website. I've...
0
985
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 Python". First question - have I missed any other (better?) ones? Second question - how do I choose which to use. Do I just use the obvious criteria like recent activity, has the methods I want etc. or is there some place that assigns...
1
2263
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 as a virtual machine
2
1940
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), it didn't work. I checked the IP configuration, all seems fine. When i checked Windows Help, it says when a PC has joined a Domain, it then can not do ICS.
2
4287
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 any thouhgts on how to get it in as an attachment. CODE: <?php ini_set(SMTP, "172.18.1.65");
0
8837
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9214
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9059
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8005
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5977
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4484
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4751
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3187
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2572
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.