Open kaihendry opened 10 years ago
I have been investigating parsing ICS and I ran into some issues with ical.js https://github.com/peterbraden/ical.js/issues/29
How about using https://github.com/cheeaun/life for this? Maybe an ics -> life translator would be a great open source project?
I don't like it because:
It might look impressive though. I prefer we get the stuff on http://hackerspace.sg/events/ first. Maybe we can come up with a http://hackerspace.sg/events.json from which a "Life" plot can be made.
OK. Agreed with your reasons. So what's the best format? Like a rolling index (blog)?
Yes, like a blog. I'm inclined to quickly write a ICS parser in shell since I can't be bothered to work out wtf is going wrong with https://github.com/peterbraden/ical.js/issues/29 Then creating boiler plate files and dirs with nodejs is also I imagine a bit of pain too.
Write a blogging engin in bash?? :P
I have a great idea, why don't we use WordPress?
Cheers, Chern Jie
On Thu, Mar 20, 2014 at 1:21 PM, Chinmay Pendharkar < notifications@github.com> wrote:
Write a blogging engin in bash?? :P
Reply to this email directly or view it on GitHubhttps://github.com/hackerspacesg/hackerspace.sg/issues/67#issuecomment-38136155 .
Joomla?
On Thu, Mar 20, 2014 at 2:19 PM, chernjie notifications@github.com wrote:
I have a great idea, why don't we use WordPress?
Cheers, Chern Jie
On Thu, Mar 20, 2014 at 1:21 PM, Chinmay Pendharkar < notifications@github.com> wrote:
Write a blogging engin in bash?? :P
Reply to this email directly or view it on GitHub< https://github.com/hackerspacesg/hackerspace.sg/issues/67#issuecomment-38136155
.
Reply to this email directly or view it on GitHubhttps://github.com/hackerspacesg/hackerspace.sg/issues/67#issuecomment-38138301 .
I support WordPress. For obvious reasons. :P
I managed to over come the issue with https://github.com/peterbraden/ical.js/issues/29 by manually cloning the latest code from https://github.com/peterbraden/ical.js into our node_modules directory. Also submitted a ticket.
So what do you mean by "over come"? Are you generating the JSON/mdwn needed for "/events/YYYY-MM-DD"? If so, where is it?
ical.js
had a bug where if there is a nested BEGIN
/END
, it will break. The issue is actually fixed in their main branch, however it has not been pushed to npm registry
. Now with this bug out of the way, you can generate the JSON/mdwn you desire
@chernjie Can you verify https://github.com/peterbraden/ical.js/issues/29 is fixed and close it?
verified
I would be more motivated to write this if my pull requests were merged.
We have fairly good archives of past events, at least WHEN they happened.
This is from Google takeout: http://s.natalian.org/2014-01-06/hsg-event-archive.ics
We need to generate something like:
Ideally we can show a neat history of a certain number (a graph?) and skills passing through our doors. This is what sponsors want to see.