Giter Site home page Giter Site logo

Comments (11)

maxwofford avatar maxwofford commented on June 21, 2024

+1. Should it be in this repo though? It might get cluttered if there are so many files.

from hackathon-calendar.

maxwofford avatar maxwofford commented on June 21, 2024

Just created it in a new repo. If anyone has a reason it should be in this repo, please feel free to post it here.

For the time being it's running at https://floating-lake-5505.herokuapp.com/

from hackathon-calendar.

hydrosquall avatar hydrosquall commented on June 21, 2024

This is a great idea!

Perhaps a webhook could be setup from @japacible's side so that a static file gets updated each time this repo is updated, and the API could just serve the static file. Unless the API is accepting parameters (such as results returned by keyword, location, date, etc), this would save you a heroku dyno and get the same effect :)

from hackathon-calendar.

architv avatar architv commented on June 21, 2024

@maxwofford Great work!

Just one thing though, it would be better if the output were more verbose. That is instead of

[  
   "[Smart Money Hackathon](http://www.eventbrite.com/e/smart-money-hackathon-registration-11443791689)",
   "San Francisco, CA",
   "6.6 - 6.8",
   "Date (2014)",
   "Date (2015)"
]

the output could be something like:

[  
   "name": "Smart Money Hackathon"
   "url": "http://www.eventbrite.com/e/smart-money-hackathon-registration-11443791689,
   "location": "San Francisco, CA",
   "startDate": 20140606,
   "endDate": 20140608,
]

from hackathon-calendar.

maxwofford avatar maxwofford commented on June 21, 2024

@architv I like your format! I've just updated it to output like this:

[{
    "name": "All Star Hacks",
    "url": "http://allstarhacks.tk/",
    "location": "New York City, NY",
    "date": "12.12, 2015"
}, {
    "name": "HackKings",
    "url": "http://hackkings.org/",
    "location": "London, UK",
    "date": "12.12 - 12.13, 2015"
}]

I'll play with the format of the dates next.

from hackathon-calendar.

stephnr avatar stephnr commented on June 21, 2024

Im not too fond with that date format @maxwofford . I would recommend having a start and end date separately so people can use proper date formatting tools. The current format is not compatible.

Here is my suggestion:

( I also suggest using ISO Formatted Date Strings and ISO region codes for full region support

{
    "name": "All Star Hacks",
    "url": "http://allstarhacks.tk/",
    "region": "US",
    "location": "NYC",
    "start-date": "2015-12-12T00:00:00.636Z",
    "end-date": "2015-12-13T00:00:00.636Z"
}

from hackathon-calendar.

maxwofford avatar maxwofford commented on June 21, 2024

@Stephn-R Got it. Writing the dates to be in that format now.

@japacible I was thinking of the edge-case where a hackathon goes through new years. How will that show up so I can account for it when parsing dates from tables?

from hackathon-calendar.

maxwofford avatar maxwofford commented on June 21, 2024

Forgot to mention in the last message: I haven't added regions yet, so the dates are wrong.

from hackathon-calendar.

stephnr avatar stephnr commented on June 21, 2024

@maxwofford please do. Without proper region codes, the Date fields wont be properly formatted to support i18n specs

from hackathon-calendar.

maxwofford avatar maxwofford commented on June 21, 2024

On second though, time is only tracked in days on the table so I'll just track days in the API. Here's a sample:

[{
    "name": "All Star Hacks",
    "url": "http://allstarhacks.tk/",
    "location": "New York City, NY",
    "startDate": "2015-12-12",
    "endDate": "2015-12-12"
}, {
    "name": "HackKings",
    "url": "http://hackkings.org/",
    "location": "London, UK",
    "startDate": "2015-12-12",
    "endDate": "2015-12-13"
}]

If I'm not making sense by doing this, please tell me!

from hackathon-calendar.

stephnr avatar stephnr commented on June 21, 2024

This works @maxwofford

Go for it @maxwofford

But im worried about the location

from hackathon-calendar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.