Help - Search - Members - Calendar
Full Version: Publishing iCal calender
A Small Orange Forums > User-To-User Support > Web Design
furby
Setup a directory on the server and filled in the details in the options in iCal.

But I keep getting this error

[attachmentid=251]

I thnk i've set the chmod permissions for the directory (777) and it's the right username and password. It's not something I've done before. Shoud it work? Or do I need somethig sepecial (and OSX server?)

Was hoping someone here might have done it and could point me in the right direction.

edit/ This seems like something I'll need http://phpicalendar.net/ (Feeling I should have given this more of a go before blush.gif
huw
I believe that ical uses webdav. Webdav is not supported by Apache so you would have to go with a php calendar script. The php calendar script in cpanel is good and supports calendar publishing wink.gif
furby
Thanks huwnet, that was definatelty the problem. phpicalendar seems to make it display and function. quite cool.

Have to export it manually though. Hopefully I'll figure it out, or maybe just get automator to export it once a day. I forsee more frustration ahead
Randy
Tim has mod_dav (webDAV support for Apache) on the back burner, or did, last time I asked about it. Hopefully once things slow down a bit at ASO, we'll all get the ability to publish our calendars to our web space here smile.gif
huw
QUOTE(furby @ Mar 24 2006, 9:55 AM) [snapback]44516[/snapback]
Thanks huwnet, that was definatelty the problem. phpicalendar seems to make it display and function. quite cool.

Have to export it manually though. Hopefully I'll figure it out, or maybe just get automator to export it once a day. I forsee more frustration ahead


I have never used phpicalendar however the calendar in fantastico, http://www.k5n.us/webcalendar.php allows automatic importing / exporting

You will need to read the docs to see which php file you link to for the import / export
pdigioia
QUOTE(huwnet @ Mar 23 2006, 2:01 PM) [snapback]44476[/snapback]

I believe that ical uses webdav. Webdav is not supported by Apache so you would have to go with a php calendar script. The php calendar script in cpanel is good and supports calendar publishing wink.gif


Thanks for the tip, huwnet. The Webcalendar under the Fantastico option looks pretty slick for displaying .ics files.

I was wondering if you could tell me more about getting the .ics files *to* the ASO account. I'm interested in editing the calendar files on the fly, and having the changes reflected without having to manually upload the files. From what I've read on the boards, WebDav does not work. I was wondering if you could recommend anything to accomplish this seamless updating. For instance, does CalDav work?

Thank you,
-Paul
Nepherim
Depending on your needs you might want to try calendar.google.com.
TwisterMc
QUOTE(Nepherim @ May 7 2006, 9:59 PM) [snapback]46864[/snapback]

Depending on your needs you might want to try calendar.google.com.


I would like WebDav abilities for iCal syncing too. smile.gif I've been using iCalx.com but I'd like to host the .ics file myself.
sciurus
Any update on caldav support?
[ASO] Andrew
QUOTE(sciurus @ May 21 2007, 7:52 AM) [snapback]64476[/snapback]
Any update on caldav support?


Very soon. Webdav is supported in Cpanel 11 and we should be upgrading soon.

Jon20usa
If you guys want to try a different php calendar here is one. It is free and works great. Plus it has a good design which I think a lot of other php calendars are lacking.
TheTominator
Using WebDAV set up by cPanel 11 on my account on server aldo.asmallorange.com, I was able to successfully publish a calendar directly using Apple iCal v2.0.4. I am very pleased with this.

How to do it with Apple iCal v2.0.4 in Tiger. You are on your own to figure out other versions.

In this example, let us say that you want to set up access specifically for iCal with a uniquely chosen username and password for the new WebDAV account.
domain name: interactive.com
iCal-specific username is "zork"
iCal-specific password: xyzzy
publish in: /public_html/ical/
filename: adventure.ics

Of course you would change these to fit your circumstances.


Set up a "Web Disk" account (WebDAV account) using cPanel 11 on your server.

In the Create Web Disk account form enter
Login: zork
Password: xyzzy
Password (Again): xyzzy
Directory: /public_html/ical
(I'm not sure if you need to create this directory ahead of time. I did.)

Hit the Create button.


In Apple iCal, select the calendar you wish to publish.
In the Calendar menu select Publish... (or Change Location... if you have configured it previously).
Fill in the dialog as (using the example info above)
Publish calendar as: adventure
Publish on: a Private Server
Base URL: http://www.interactive.com:2077/
Login: zork@interactive.com
Password: xyzzy
Set the checkboxes in the dialog to your preferences.

Push the Publish button.

A file called "adventure.ics" will be uploaded into /public_html/ical on your server.
It will be uploaded again each time you "Refresh" the calendar publication in iCal.


Note that if you go back to edit the publishing information using "Change Location...", the Base URL will be incorrect. It will drop the :2077. You will need to add it back each time you edit the configuration info in that dialog.

With a shared hosting account, using port :2078 instead of :2077 will not work for iCal. The SSL will fail since iCal can't do a reverse DNS lookup to make sure that the name corresponds to the IP address. This is due to the account being on a shared server. Those of you with static IP addresses might be able to use :2078 and SSL for the connection.

-Tom
[ASO] Andrew
QUOTE(TheTominator @ Jul 10 2007, 8:28 AM) *
Using WebDAV set up by cPanel 11 on my account on server aldo.asmallorange.com, I was able to successfully publish a calendar directly using Apple iCal v2.0.4. I am very pleased with this.

How to do it with Apple iCal v2.0.4 in Tiger.


You've been wikied!
http://wiki.asmallorange.com/HOWTOPublishiCal

Anyone else with tips'n'tricks or Howtos, feel free to add them to http://wiki.asmallorange.com
TheTominator
QUOTE([ASO]Andrew @ Jul 10 2007, 12:42 PM) *

You've been wikied!

Neat. I have to admit, it sort of tickled.

QUOTE(TheTominator @ Jul 10 2007, 10:28 AM)
With a shared hosting account, using port :2078 instead of :2077 will not work for iCal. The SSL will fail since iCal can't do a reverse DNS lookup to make sure that the name corresponds to the IP address. This is due to the account being on a shared server. Those of you with static IP addresses might be able to use :2078 and SSL for the connection.

On further reflection, I don't think the shared hosting users with static IP addresses will have success. Those users with their own SSL certificate may have success with using SSL on port:2078. The problem probably isn't a reverse DNS lookup issue. The name on the shared SSL certificate is the name of the shared server and not your hosted domain name.

[ASO] Andrew
QUOTE(TheTominator @ Jul 10 2007, 2:42 PM) *
On further reflection, I don't think the shared hosting users with static IP addresses will have success. Those users with their own SSL certificate may have success with using SSL on port:2078. The problem probably isn't a reverse DNS lookup issue. The name on the shared SSL certificate is the name of the shared server and not your hosted domain name.


I haven't used iCal in a while. If I can get it to sync with my new phone somehow, I may set this up and update the instructions as necessary. Otherwise, feel free to create a wiki account and edit it.
Dakota
I just gave it a test run and it worked great, although still some url problems (it doesn't want to go into subfolders).

Thanks for the tutorial, I had tried to figure this out earlier and it didn't work!
eurcynia
I found this thread via Google after many different attempts and this finally worked. It was changing the address to http://www.domain.com:2077 rather than the full url http://www.domain.com/ical/.

However I had to change one little thing to work on my server with cPanel 11: Simply changing the Web Disk username to ical@domain.com did the trick!

I'm sorry to bump an old thread, but incase anyone else ran across this solution I wanted to contribute what worked for me smile.gif
Echilon
QUOTE (Jon20usa @ May 21 2007, 6:33 PM) *
If you guys want to try a different php calendar here is one. It is free and works great. Plus it has a good design which I think a lot of other php calendars are lacking.

Thanks for the link. iZeit is free and I'm always looking to add new features. smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.