|
From: Cyrus H. <cy...@bo...> - 2012-08-11 17:10:19
|
When I run this script, all of the SUMMARY lines come through as "BUSY". Do I need to somehow authenticate myself before I run the script? thanks, Cyrus On Jul 13, 2012, at 2:17 AM, Andrew McMillan <an...@mo...> wrote: > On Tue, 2012-07-10 at 22:33 +0200, Arthur Chereau wrote: >> Thanks, but as I said I don't want to use wget because I don't want to >> put passwords in a script, and your method doesn't work with contacts. I >> need something that directly queries the database. > > The latest version of DAViCal includes a script in the scripts > subdirectory which you can use to dump any calendar (or addressbook) to > a file. > > You need to have the PHP command-line installed, and then you should be > able to run: > > /path/to/davical/scripts/export_calendar.php site.domain.name /username/calendar/ > > Which will export that calendar to STDOUT. > > Cheers, > Andrew. > >> With all the calendar/contacts client applications, you can always >> export your data to ics or vcard. It's a "standard" feature, and a >> feature that allows you to import your current data into DAViCal. >> >> It's quite surprising that DAViCal lacks this feature. That means you >> can't backup your data into a standard format. That means when you >> choose DAViCal, you're locked into DAViCal: the software doesn't even >> allow you to export your data as any client app does. >> >> Please tell me I'm wrong. Where are the scripts to export my data to ics >> and vcard from the database ? (and, I repeat, not with wget) >> >> Thanks. >> >> >> >> Le 09/07/2012 23:29, Jon a écrit : >>> I don't know about the vcard but you can dump ical from davical at: >>> >>> "http://username:password@DavicalAddress:port/caldav.php/collection/calendar.ics" >>> >>> >>> in my case (collection name is 'calendar'): >>> http://username:password@192.168.0.5:8118/caldav.php/calendar/jon.ics >>> >>> >>> I have also set up a 60 minute chron to output to an intranet address in >>> linux for a oneway sync for my phone: >>> >>> #!/bin/bash >>> # >>> cd /home/jon/www/calendar >>> wget -N >>> http://username:password@192.168.0.5:8118/caldav.php/calendar/marlo.ics >>> /home/jon/www/calendar/marlo.ics >>> wget -N >>> http://username:password@192.168.0.5:8118/caldav.php/calendar/jon.ics >>> /home/jon/www/calendar/jon.ics >>> wget -N >>> http://username:password@192.168.0.5:8118/caldav.php/calendar/both.ics >>> /home/jon/www/calendar/both.ics >>> >>> >>> >>> Hope this helps. >>> >>> Jon Archer >>> "I can't change the direction of the wind, but I can adjust my sails to >>> always reach my destination." - Jimmy Dean >>> ------------------------------------------------------------------------ >>> Down to Earth Enterprises - Psychological Services >>> 1237 W. Auburn Dr. >>> Tempe, AZ 85283 >>> www.drmarlo.com >>> 480-705-5007 >>> ------------------------------------------------------------------------ >>> On 07/09/2012 01:39 PM, Arthur Chereau wrote: >>>> I just installed DAViCal 1.1.1 and it's working fine. Thanks ! >>>> >>>> Now, I would like to backup my calendars and contacts in a format that's >>>> portable and usable with any CalDAV/CardDAV server, I mean ics and vcard. >>>> >>>> Unfortunately, I haven't found in the DAViCal package or the Web a >>>> script that connects to the database and just outputs a calendar.ics or >>>> a contacts.vcf file. I don't want to use wget, because I don't want to >>>> put a password in a script, and it doesn't work with contacts >>>> collections. I need something that gets the data directly from the DB. >>>> >>>> Do you know where I can find such a simple ics/vcard export script ? >>>> >>>> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. Discussions >>>> will include endpoint security, mobile security and the latest in malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> Davical-general mailing list >>>> Dav...@li... >>>> https://lists.sourceforge.net/lists/listinfo/davical-general >>>> >>>> >>> >>> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Davical-general mailing list >> Dav...@li... >> https://lists.sourceforge.net/lists/listinfo/davical-general >> > > -- > ------------------------------------------------------------------------ > andrew (AT) morphoss (DOT) com +64(272)DEBIAN > Does the turtle move for you? www.kame.net > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > Davical-general mailing list > Dav...@li... > https://lists.sourceforge.net/lists/listinfo/davical-general |