Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/drkpxl/event-feed-email


https://github.com/drkpxl/event-feed-email

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

        

This is a very simple app to parse a feed and display a limited amount of that data in a way that could be embedded in an email.

** References **

```
This loops though all in feed
<% @events.each do |event| %>

<%= event['Title'] %>

<%= DateTime.parse(event['StartDate']).strftime('%A %b %e %I:%M:%S %p') %>

<%= event['Description'] %>
Learn More

<% end %>

```

Event and Trust You `resort` key:
* Winter Park = 0
* Tremblant = 1
* Steamboat = 2
* Snowshoe = 3
* Stratton = 4
* Blue = 5

Lodging `resort` key:
* Blue Mountain = 0
* Stratton Mountain = 1
* Steamboat Resort = 2
* "Winter Park Resort = 3
* Snowshoe Resort = 4
* Tremblant = 5