Aryuko / Schedutalk

MIT License
1 stars 1 forks source link

Calendar importer #5

Open Aryuko opened 8 years ago

Aryuko commented 8 years ago

In order to actually get realistic data appearing on this app, we must somehow import the data from an existing calendar. Hopefully we can import the KTHs calendar. Perhaps we can import by making the user provide an iCAL link.

We may want to find a framework reducing the work-load of this feature


EricLewe commented 8 years ago

I was thinking that maybe we should establish some specifications about how the data structure should be in order to ease the process of connecting this logic to the Model code. Suggestion of the class:

Event : Time StartTime Time EndTime string Name string Description

What you think?

Aryuko commented 8 years ago

It sounds good, but some kind of data for the location of the event might be nice to have in the Event class.

Aryuko commented 8 years ago

I'm thinking we might be able to extract information from the .ics link KTH distributes, as it uses the iCalendar format.

EricLewe commented 8 years ago

Sounds good! I said some more at #15

Aryuko commented 8 years ago

This page can supply us with the data to use, at the bottom the search is translated to an .ics link. I'm thinking we can build these links depending on user input of their KTH program, as well as automatically inputting the current date into it.

EricLewe commented 8 years ago

Found an iCAL parser, perhaps some inspiration https://sourceforge.net/projects/icalparser/files/icalparser/

EricLewe commented 8 years ago

Hows it going? :)

Aryuko commented 8 years ago

Currently working on MDI stuff, the plan was to get to work as soon as I'm home! Will you be looking at #24 or is it on hold until we get an API key? I'm asking cause these are the two issues under the P1 milestone. If we want to, we could honestly work on #24 and show it on wednesday even without a key and just explain that it will work once we get it. :thought_balloon:

EricLewe commented 8 years ago

I can fix the #24 so we actually get a usable app ;) I think the result will be really impressive. :+1:

EricLewe commented 8 years ago

Hows it going?

Aryuko commented 8 years ago

I'm gonna be honest and admit that procrastination and I aren't the best buddies, this is the reason I'm usually tired :sweat_smile: To answer your question: I'm working on it, and I think I'm on the right track.

EricLewe commented 8 years ago

Cool! I will soon push #24 I kept it simple, due to to the time limitation, atleast we got the pipeline.

EricLewe commented 8 years ago

That is, we can see if a certain place has power outlet! :+1:,