google_contacts.ejs
464 Bytes
<p><a href="/google_calendars">Check google_calendars</a></p>
<h1>Google Contacts</h1>
<% for(var i = 0 ; i < feed.feed.entry.length ; i++ ) {
var contact = feed.feed.entry[i]; %>
<div>
<!-- you can access much more ! Just a sample: -->
<%= contact["title"]["$t"] %>
<% emails = contact["gd$email"] %>
<ul>
<% for(var j = 0 ; j < emails.length ; j++) { %>
<li><%= emails[j]["address" ]%></li>
<% } %>
</ul>
</div>
<% } %>