" + posts[i].title.rendered + "
" txt += "Post ID: " + postID + "
" txt += "Author: " + posts[i].author + "
" txt += "Author Href: " + posts[i]._links['author'][0].href+"
" txt += "Date:
" txt += "Slug: " + posts[i].slug + "
" txt += "Link: " + posts[i]._links['self'][0].href + "
" txt += "Status: " + posts[i].status + "
" txt += "Media / Thumbnail Image Link: "+posts[i]._links['wp:attachment'][0].href+"
" var pos = posts[i].content['rendered'].indexOf("") excerpt = posts[i].content['rendered'].slice(0, pos) txt += "Excerpt:
" txt += "" + excerpt + "
" txt += "Content:" + posts[i].content['rendered'] + "
" txt += "