Download
(1Kb)
Download
Updated: 09-30-08 12:00 PM
Updated:09-30-08 12:00 PM
Created:unknown
Downloads:4,307
Favorites:14
MD5:

Calendar Export

Version: 0.1.5
by: Innomin8 [More]

This add-on produces an export of calendar data from the in-game Blizzard Calendar. Alone not very useful.

This add-on is designed to be paired with the Calendar Converter, which is available from: http://code.google.com/p/wow-calendar-export/

The Calendar Converter application takes the saved variables file from this add-on and converts it into iCalendar format.

For the uninitiated, iCalendar format is a standard file format for calendars supported by:

- Microsoft Outlook
- iCal (Mac OS)
- Google Calendar

If you experience any problems with the add-on, please email me, or send me a message through WoWInterface.

0.1.5

Updated to new API. Now works with latest build (3.0.2 - 8982).

0.1.4

Updated to new API (Blizzard added creator of the event). Confirmed working in current build.

0.1.3

Resolved (I think) an error processing days with no events. Please post any error messages still being encountered so I can resolve.

Thanks!

0.1.2

New release with great thanks to Gnarfoz. This should now (hopefully) work, and produce some sort of useful export data.

Work has already commenced on the conversion tool to take Lua and make an iCalendar file, and if I can decipher the format of Blizzard's dates, I'll have that up and running in no time!
Optional Files (0)


Post A Reply Comment Options
Unread 05-17-09, 04:56 PM  
omphteliba
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
is this still alive?

is this addon still working? i hope so!
Report comment to moderator  
Reply With Quote
Unread 11-08-08, 01:26 PM  
nukeemusn
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Still can't get it to work

Ok, I know this question ahs been brought up, but I can't discern an actual answer:

How does this export the data, and where does it export to? (directory would be nice). I can't find the output, or a way to create it.
Report comment to moderator  
Reply With Quote
Unread 10-29-08, 08:41 AM  
NeilReynolds
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Permission

I'd like to use some of your code for another Addon. Would you mind?

There's no way to view the list of people who accepted an event and view the people who are logged on in your guild at the same time. Opening the calendar closes the social window and vice versa. This makes it very hard to start a raid, inviting just those people who want to go and not inviting the people who said they wouldn't go.

I want to write an addon that prints to the default message chat window the list of people confirmed to an event.

If I get that working I might expand it to say whether or no they're logged on, and maybe what roll they played last time, or if they have an alt that's logged on. And if I'm feeling really ambitious I might have it pop up a floating frame instead, with the names being invite buttons. But all of that's for the future.
Report comment to moderator  
Reply With Quote
Unread 10-29-08, 06:58 AM  
Pugro
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Export

I've managed to export data, but it's a pain as you have to use the events based approach (Call API to open an event, then process it when the event is raised to indicate it is ready.)

The issue I have is taint, you cannot ask for another event to be opened within the processing of an event, I had built up a queue of items to process but cannot make it output them all automatically.

In the end I've two buttons that talk to a script, button 1 scans the the calendar from the overview APIs and gets a list of events, then you press button 2, each time you press it it opens the event, dumps out the event subscribers etc to a local array, then queues up the next one to process. You then press button 2 until you have processed all the events.

It sucks but my Lua skills are shameful and I'm not knowledgeable to work around this. Perhaps bind an event to the mouse scroll for when shift is pressed or something...then you just spin the wheel until they're all exported..

Anyway random thoughts if it's of any use to anyone.

(On the other side, I used the GroupCalendar upload module (GCUPload PHP script) to upload my stuff to our guild website then added some options that are missing from the in-game calendar like comments which everyone was complaining about)
Report comment to moderator  
Reply With Quote
Unread 10-28-08, 09:26 PM  
ehh1974
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
ah the pains of waiting
Report comment to moderator  
Reply With Quote
Unread 10-21-08, 02:02 AM  
Pugro
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I'm also really looking forward to getting this working (and the Armory being update to let you sub to events...perhaps be able to pull from there too...anyway that's another post!)

From the looks of things those messages are outputted to the chat when the addon detects an event being raised by the game and the addon picking it up. The addon picks up events from the game which lets it perform an action based on what has just happened. These are debug comments from the developer to track down what events the addon is responding to.

Code:
function CalendarExport_OnEvent(self, event, ...)
	if (event == "CALENDAR_UPDATE_EVENT_LIST" or event == "PLAYER_ENTERING_WORLD") then
		DEFAULT_CHAT_FRAME:AddMessage("E: "..event)
		CalendarExport_Update()
Pugs_

Originally posted by Kryptyx
I'm having an issue with this addon. Where does the calendar export to? I am unable to find any export file on my machine. I am interested in writing a PHP based script that will allow people to upload the export and add it to a SQL driven database but I cant do this until I have an export so I can begin parsing the file.

Whenever I make a change or zone I get a message "E: CALENDAR_UPDATE_EVENT_LIST" or "E: PLAYER_ENTERING_WORLD"... So I'm not sure if in your code "E" stands for "ERROR" which would explain why I have no export file. I am not running any other calendar addons that would interfere with this.

Thanks... Looking forward to getting this working.
Report comment to moderator  
Reply With Quote
Unread 10-20-08, 09:50 AM  
Kryptyx
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I'm having an issue with this addon. Where does the calendar export to? I am unable to find any export file on my machine. I am interested in writing a PHP based script that will allow people to upload the export and add it to a SQL driven database but I cant do this until I have an export so I can begin parsing the file.

Whenever I make a change or zone I get a message "E: CALENDAR_UPDATE_EVENT_LIST" or "E: PLAYER_ENTERING_WORLD"... So I'm not sure if in your code "E" stands for "ERROR" which would explain why I have no export file. I am not running any other calendar addons that would interfere with this.

Thanks... Looking forward to getting this working.
Report comment to moderator  
Reply With Quote
Unread 10-19-08, 12:00 AM  
Paravel
A Murloc Raider
 
Paravel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 7
Uploads: 1
Re: No output

Originally posted by ehh1974
I take, that this is a passive mod. That it exports the data without any user input. Is this correct? If so, I am not getting any output from version 0.1.5
Yes, the versions Innomin8 had up did it pasively.

@Inno, If you have to why not make it intractable? That is if that will get around the issues the API is giving you so far. I know its not ideal, but I for one am willing to live with hitting a button to export before logging off. Besides, we still need to manually upload it . . .that is until someone comes up with an uploader. And I was just thinking today how sweet a little Adobe Air uploader could be Just food for thoughts.

Keep up the good work Inno. You will get it.
__________________
Report comment to moderator  
Reply With Quote
Unread 10-18-08, 12:31 PM  
ehh1974
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
No output

I take, that this is a passive mod. That it exports the data without any user input. Is this correct? If so, I am not getting any output from version 0.1.5
Report comment to moderator  
Reply With Quote
Unread 10-14-08, 07:43 AM  
Innomin8
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 10
Uploads: 1
Hi,

Unfortunately I haven't got this fully functional in time for patch day.

The API I want to use (gives the most detail) has moved to an event driven model, and I'm having trouble getting the calendar items fetch asynchronously.

I'm hoping the issue is only in the beta patch, and live is all good, and I'll know that tomorrow when the servers are back online.

Failing that, I will release a version I've got here which uses the more limited interactive API's, but some information from the export will be missing as a result.

Thanks
Report comment to moderator  
Reply With Quote
Unread 10-12-08, 01:37 PM  
blacknight
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 5
Uploads: 1
http://ulminia.zenutech.com/WOWBETA/...Calendar&a=g:1 this is a modded verson of the gc calender site and im working on making it compatable with this addon when it works properly lol
Report comment to moderator  
Reply With Quote
Unread 10-06-08, 11:56 AM  
Innomin8
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 10
Uploads: 1
Quick Update

Hi Guys,

A quick update...

I'm currently battling with the API to get all the data that was in the original export. It appears there's a significant chunk of data which is no longer programatically accessible through the API's

I'm hoping i'm just missing something, but it seems the method combinations I used to use don't work (you can't tell the calendar to get the detailed data I used to get without actually clicking on the appropriate calendar item).

It seems to be a latency thing... I think there's a round-trip happening whenever you try to get details on a calendar item, so when you fire through them as quickly as possible, it always gets the same calendar item back because it hasn't had time to update!
Report comment to moderator  
Reply With Quote
Unread 10-04-08, 05:15 PM  
Therigwin
A Murloc Raider
 
Therigwin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 44
Uploads: 1
It was an old calendar php mod for the Group Calendar Mod.

http://www.mediocrityinmotion.com/fo...pic.php?t=1725

All I know I could use the wowupdater program to upload the lua file to my site and it would execute the php script and import the calendar and all.

Plus it had a nice look and feel of wow, using icons for the raids that matched up, etc.

So if anyone could make something similiar for this mod, that would be awesome. Call me lazy, but I like having my website always up to date with what is scheduled for the guild with no actions taken on my part
Report comment to moderator  
Reply With Quote
Unread 09-30-08, 10:05 PM  
Paravel
A Murloc Raider
 
Paravel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 7
Uploads: 1
Originally posted by Therigwin
Presently using Group Calendar on live and an autoupload of the lua file to the website and then the php script converts it into the database.
What platform are you using Therigwin? I am going to be putting together a drupal mod to use this exporter, or it would be just as easy to use Innomin8's java parser to create the iCal file and import it. Shoot, you could use an embeded google calendar and import the iCal file into it.

Innimin8, not a worry about the max number, unless we can in the end find out a way to import into the calendar. Hmm. . but even then if we could just flag it for example as a Kara run, and supposing we could hook into the API to create an event, then all it would have to do is chose the instance much like the in game interface does. *shrugs* Its all academic until they finalize, and I have noticed they have not said a whole lot about this particular feature yet.
__________________
Report comment to moderator  
Reply With Quote
Unread 09-30-08, 08:31 PM  
Innomin8
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 10
Uploads: 1
Originally posted by Therigwin
While this is really cool, do you know of any php based calendar stuff we could automate this into?
I've got a Java algorithm in the linked Google project. You could download that code, and adapt it into a web application to import the information. This assumes that your web host supports it.

Otherwise, it shouldn't be too hard to write some code to parse the LUA and create the appropriate information in a PHP script.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: