lnug/website — pull request #24 by fmsf (2014-12-15 22:42:23+00:00)
Title: Added lanyrd integration

I noticed that the site needs to be manually updated with dates and talks. So here is the functionality that adds lanyrd integration.

It is missing end to end integration, but I didn't had time to go through the learning curves of coffescript + sizlate.

Since this project doesn't have tests I added a test folder :+1: . Check it and it's easy to see how to get all event data :)

```

lanyrdClient = new LanyrdClient();
lanyrdClient.getEvent("2014", "lnug-november").then(function( event ) {
console.log(event);
}).done();
```

I added local caching so we don't get added RTT + Transfer on each http request to lnug.org

This is the payload on the event object, it can be used to directly populate the html template:
```
{
date: '2014-11-26',
speakers: [
{
name: 'BrockWhitten',
link: 'http: //twitter.com/sintaxi',
session: 'Harpjs'
},
{
name: 'GeorgeOrnbo',
link: 'http: //twitter.com/shapeshed',
session: 'RealtimeNode.jsfromthetrenches'
},
{
name: 'TomCartwright',
link: 'http: //twitter.com/tomcartwrightuk',
session: 'Peerconnectallthethings'
},
{
name: 'TomGallacher',
link: 'http: //twitter.com/tomgco',
session: 'Async: thebattle'
}
]
}
```