Sha256: ef87355599db80db7e133c8be932dbfa4cc6e3725b40fd90a18e3a7f4ca81ffc

Contents?: true

Size: 1.49 KB

Versions: 2

Compression:

Stored size: 1.49 KB

Contents

<html>
<body>
<h1><%= list['name'] %> (list_id: <%= list['id'] %>)</h1>
<table border=1>
	<tr>
		<th>Status</th>
		<th>Email Address</th>
		<th>First Name</th>
		<th>Last Name</th>
		<th>MEMBER_RATING</th>
		<th>OPTIN_TIME</th>
		<th>OPTIN_IP</th>
		<th>CONFIRM_TIME</th>
		<th>CONFIRM_IP</th>
		<th>LATITUDE</th>
		<th>LONGITUDE</th>
		<th>GMTOFF</th>
		<th>DSTOFF</th>
		<th>TIMEZONE</th>
		<th>CC</th>
		<th>REGION</th>
		<th>LAST_CHANGED</th>
	</tr>
<% members.each_with_index do |member, index|  %>
<%	next if index == 0  #member[0] is column headers %>
	<tr>
		<td>Subscribed</td>
		<td typeof="email"><%= member[0] %></th>
		<td typeof="nameGiven"><%= member[1]||'&nbsp;' %></td>
		<td typeof="nameFamily"><%= member[2]||'&nbsp;' %></td>
		<td typeof="member_rating"><%= member[3]||'&nbsp;' %></td>
		<td typeof="OPTIN_TIME"><%= member[4]||'&nbsp;' %></td>
		<td typeof="OPTIN_IP"><%= member[5]||'&nbsp;' %></td>
		<td typeof="CONFIRM_TIME"><%= member[6]||'&nbsp;' %></td>
		<td typeof="CONFIRM_IP"><%= member[7]||'&nbsp;' %></td>
		<td typeof="LATITUDE"><%= member[8]||'&nbsp;' %></td>
		<td typeof="LONGITUDE"><%= member[9]||'&nbsp;' %></td>
		<td typeof="GMTOFF"><%= member[10]||'&nbsp;' %></td>
		<td typeof="DSTOFF"><%= member[11]||'&nbsp;' %></td>
		<td typeof="TIMEZONE"><%= member[12]||'&nbsp;' %></td>
		<td typeof="CC"><%= member[13]||'&nbsp;' %></td>
		<td typeof="REGION"><%= member[14]||'&nbsp;' %></td>
		<td typeof="LAST_CHANGED"><%= member[15]||'&nbsp;' %></td>
	</tr>
<% end %>
</table>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mailchimp_exporter-0.0.3 lib/mailchimp_exporter/list_template.erb
mailchimp_exporter-0.0.1 lib/mailchimp_exporter/list_template.erb