diff --git a/lib/convertv2.js b/lib/convertv2.js index 5996e87..7d0172e 100644 --- a/lib/convertv2.js +++ b/lib/convertv2.js @@ -76,6 +76,7 @@ function itemsForFeed(user,feed) { return a.type == "Document"; }).map((a)=>{ return { + name:a.name, type:a.mediaType, url:a.url } diff --git a/lib/template.ejs b/lib/template.ejs index f26e7ed..dd20448 100644 --- a/lib/template.ejs +++ b/lib/template.ejs @@ -75,7 +75,7 @@ <% } else { %> <% if (e.type.indexOf('image') > -1){ %> - + <%= e.name %> <% } else { %> <%= e.url %> <% } %>