-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sri Lanka Holiday Calendar Feed #14
Comments
Yea this should be interesting mini project |
i will do the input if someone can set up the site :) |
I'll setup the site |
I am maintaining a public calender of Sri Lanka holidays for my use. Hope we can use it. :) Reference: Ministry of Public Administration and Home Affairs, Sri Lanka |
@dhammika-marasinghe can you make a small script that fetch data from that xml and writes to https://github.com/budparr/jekyll-calendar/blob/master/_data/events.yaml |
This might be of interest to you: https://db.tt/5S4dVa54 .. I use it with my outlook. |
I'll do a bit of research on the structure of ical files and then try my hand at coding a parser for it. |
Well, instead of parsing it, I just converted it into a csv file and then converted that into JSON/XML. |
That works too, the JSON schema must be bit agile, can guys post a example JSON with one event and the metadata. |
[
{
"title" : "National Day",
"description" : "Independence day of Sri Lanka",
"start-date" : "2015-02-04",
"end-date" : "2015-02-04",
"type" : [
"Mercantile",
"Bank"
]
}
] What about this? EDIT: Included start/end data and type |
Start date end Date ( for incase ) I think this is ok for a base |
Hi Guys! I think rather than maintaining a Google calendar its better to have this And options to modify the feed to include the needed days would be awesome.
Other educational and recreational calendars
These can be important for apps and blogs. |
The only reason for Google Calendar is to allow non tech people to contribute too, and google kind dose the work of generating xml, json and Ical |
ok I agree, how about rest of the suggestions?
|
@pathumego @pasindud What about an API that basically does that? ../calendar?calendar_type=history&holiday_type=public&from=01011992&to=31122015 (Show all public holidays from the History calendar within the range of 01st of January, 1992 until 31st December, 2015) |
Lets keep holidays file and history as two (separation of concerns)
API should also have paging to deal with large set of data. |
calendar/holidays/?from=01011992&to=31122015 |
@pasindud @ishan-marikar guys Im not very well informed about technology, but I can comment on the users angle or UX of the project :) |
ok so to be clear I think there should be 3 kinds (or even more custom kinds?) of events on the non-holiday section as mentioned above. |
you mean something called "other calendar", where stuff that is not a holiday or history goes to ?. if so Good Idea works well 👍 |
well, not really, The definition/contents of 'history' is not clear here i guess. What is clear (and a separate calendar for sure) is - Important National Days / Weeks calendar.( ie: National Dengue Day week, Scouts Job Week) Rest could be other calendar/ calendars as @pasindud suggests |
Let's maybe work on the holiday and history first to see how this works out. |
@dhammika-marasinghe @ishan-marikar can you guys look into the tech side of this think u have a commit access to the repo's, if not let me know |
@pasindud What's the status of this project? do we have a proper iCal calendar in place? are we regularly updating it? |
I think @ishan-marikar was going to do something about this |
Yes, I was going to do something about this, but I don't really know what I should do. .___. |
This is a really small project, but will be really really useful.. a Public Google Calendar could be used I guess.
Or can this be on GitHub pages and serve the iCal (https://github.com/budparr/jekyll-calendar)
The text was updated successfully, but these errors were encountered: