Skip to content

hubertron/event-feed-email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'] %>
            <a href="https://www.winterparkresort.com<%=  event['EventLink'] %>">Learn More</a><img src="https://www.winterparkresort.com<%=  event['ImageLink'] %>" width="300"> </td>
         
          <% 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published