Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Support a Person's calendar #279

Open
daonb opened this issue Oct 26, 2014 · 10 comments
Open

Support a Person's calendar #279

daonb opened this issue Oct 26, 2014 · 10 comments

Comments

@daonb
Copy link
Member

daonb commented Oct 26, 2014

Folliwng discussion with Tomer Avital, we want to offer the MKs the ability to publish their shared calendar in Open Knesset. We can assume the MKs are using google calendar and the URL of the calendar will be entered through the admin interface.
We need to store the URL and display the calender on the MKs page.

@OriHoch
Copy link

OriHoch commented Oct 26, 2014

we already have this issue :
#183

also, somewhat related to this: #184

@OriHoch
Copy link

OriHoch commented Oct 26, 2014

do you have some examples of mks google calendar urls?

last time I looked into it I couldn't find any...

@daonb daonb closed this as completed Oct 29, 2014
@daonb
Copy link
Member Author

daonb commented Oct 29, 2014

This monday I spoke with Stav Shafir and she promised she will share her calendar, so that's one. we will have more...

@daonb daonb reopened this Oct 29, 2014
@OriHoch
Copy link

OriHoch commented Nov 13, 2014

The movement for freedom of information published some calendars.. but all in PDF :(
http://www.meida.org.il/?p=5028
OCR anyone?

@daonb
Copy link
Member Author

daonb commented Nov 13, 2014

No need for OCR. We scheduled a meeting in the Knesset on the 10/12 to
train MKs on how to publish their calendars using google.

On 13 November 2014 10:08, Ori Hoch notifications@github.com wrote:

The movement for freedom of information published some calendars.. but all
in PDF :(
http://www.meida.org.il/?p=5028
OCR anyone?


Reply to this email directly or view it on GitHub
#279 (comment)
.

"כְּרֹעֶה, עֶדְרוֹ יִרְעֶה, בִּזְרֹעוֹ יְקַבֵּץ טְלָאִים, וּבְחֵיקוֹ
יִשָּׂא; עָלוֹת, יְנַהֵל." (ישעיהו הנביא
http://www.sefaria.org/Isaiah.40.11).
http://yeda.us/daonb

@OriHoch
Copy link

OriHoch commented Nov 24, 2014

I'm working on it - this is the plan:

  1. Add an option to add the calendar URL for an MK - DONE (Added scraper that gets google calendar events from mk public calendar #284)
  2. write a scraping process that takes all the events from the calendar into our DB - DONE (Added scraper that gets google calendar events from mk public calendar #284)
  3. show the events on oknesset

@OriHoch
Copy link

OriHoch commented Nov 24, 2014

need to get the event color as well

@OriHoch
Copy link

OriHoch commented Dec 6, 2014

regarding event color - it seems there is a bug in google's api, it doesn't return the color for public events..
https://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=3684

@daonb
Copy link
Member Author

daonb commented Dec 7, 2014

great timing! I've added a comment to the issue asking them to speed things
up -
https://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=3684

On 6 December 2014 at 22:28, Ori Hoch notifications@github.com wrote:

regarding event color - it seems there is a bug in google's api, it
doesn't return the color for public events..
https://groups.google.com/forum/#!topic/google-calendar-api/r17_Q3kpvVM


Reply to this email directly or view it on GitHub
#279 (comment)
.

"כְּרֹעֶה, עֶדְרוֹ יִרְעֶה, בִּזְרֹעוֹ יְקַבֵּץ טְלָאִים, וּבְחֵיקוֹ
יִשָּׂא; עָלוֹת, יְנַהֵל." (ישעיהו הנביא
http://www.sefaria.org/Isaiah.40.11).
http://yeda.us/daonb

@OriHoch
Copy link

OriHoch commented Dec 15, 2014

Looks like google do not consider this as a bug. So, I suggest not relying on event colors at the moment.

@daonb daonb changed the title Support an MK's calendar Support an Person's calendar Dec 16, 2014
OriHoch pushed a commit to OriHoch/Open-Knesset that referenced this issue Dec 22, 2014
Stop the url and last sync token in the persons.Person model so it'll be
open to more users and store the events in events.Event.
OriHoch pushed a commit to OriHoch/Open-Knesset that referenced this issue Dec 22, 2014
Stop the url and last sync token in the persons.Person model so it'll be
open to more users and store the events in events.Event.
@daonb daonb changed the title Support an Person's calendar Support a Person's calendar Dec 23, 2014
@daonb daonb modified the milestone: 19.fin Dec 23, 2014
@daonb daonb removed this from the 19.fin milestone May 28, 2015
@OriHoch OriHoch added this to the misc milestone Jun 15, 2015
@morchickit morchickit modified the milestones: 20.4, misc Dec 21, 2015
@morchickit morchickit modified the milestones: misc, 20.5 - New features, 20.4 Dec 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants