List<SyndPerson> authors = feed.getAuthors();
String jsonAuthor = null;
if (authors != null && !authors.isEmpty()) {
SyndPerson author = authors.get(0);
if (author.getName() != null) {
jsonAuthor = author.getName();
} else if (author.getEmail() != null) {
jsonAuthor = author.getEmail();
}
}
JSONArray entries = new JSONArray();
json.put("Entry", entries);