GroupCalendar iCalendar export

View planned events from the WoW AddOn GroupCalendar

Moderator: Ulminia

GroupCalendar iCalendar export

Postby lukes » Tue Sep 23, 2008 2:28 am

Hi,

I just can't stop creating some export functions for roster, and somehow I always extend Ulminias addons. Home you don't mind. :)

Here I've build an iCalendar exporter, so you can see your events in your calendar application like Thunderbird (with Lightning) oder Google Calendar (at least I've testet with those two, but the export should work with every other iCalendar aware program.).

As already explained with the rss feed for RosterGallery: This addon doesn't change anything, it only reads from the database. Not even caching. :-)

Installation:
  • Put ical.php into addons/GroupCalendar/guild
  • Put ical_functions.php into addons/GroupCalendar/guild/include/
  • add the following two lines to addons/GroupCalendar/locale/enUS.php:

Code: Select all
    // Texts used by the iCal export
    
$lang['ical']['as'] = "as"// used for attendance: "daHeilor as healer"
    
$lang['ical']['attendees'] = "Attendees"

Optionally upload the deDE.php into addons/GroupCalendar/locale. (I didn't translate it all, since I'm not sure if this plugin survives the integrated GuildCalendar from WotLK, but the important stuff is in and it's a start. Maybe I'll complete it some day.)

Then point your calendar app to the following url:
http://roster.example.de/index.php?p=gu ... endar-ical

Hope someone can use that, I prefer to check for new raids that way :)
Jakob
Attachments
dede.txt
Please rename into deDE.php after download.
(16.22 KiB) Downloaded 423 times
ical_functions.txt
Please rename into ical_functions.php after download.
(3.61 KiB) Downloaded 433 times
ical.txt
Please rename into ical.php after download.
(803 Bytes) Downloaded 422 times
User avatar
lukes
WR.net Apprentice
WR.net Apprentice
 
Posts: 35
Joined: Tue Jan 22, 2008 4:46 pm

GroupCalendar iCalendar export

Postby zanix » Tue Sep 23, 2008 3:47 am

I think someone already did this

I remember helping someone figure out why something like this was not working....
Maybe it was you?

:shrug:
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: GroupCalendar iCalendar export

Postby lukes » Tue Sep 23, 2008 11:53 am

Yeah that was me, but the code wasn't complete back then.

Jakob
User avatar
lukes
WR.net Apprentice
WR.net Apprentice
 
Posts: 35
Joined: Tue Jan 22, 2008 4:46 pm

GroupCalendar iCalendar export

Postby zanix » Wed Sep 24, 2008 2:53 am

Ah, that explains it then
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

GroupCalendar iCalendar export

Postby Ulminia » Wed Sep 24, 2008 3:45 am

dont mind at all...
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com


Return to Group Calendar

Who is online

Users browsing this forum: No registered users and 0 guests

cron