Merge pull request #290 from bibliolabs/master

Adds missing entry 'rights' to Atom 1.0 generator output
This commit is contained in:
Patrick Gotthard 2016-04-09 08:25:43 +02:00
commit 874a0c89a7

View file

@ -324,6 +324,11 @@ public class Atom10Generator extends BaseWireFeedGenerator {
eEntry.addContent(sourceElement);
}
final String rights = entry.getRights();
if (rights != null) {
eEntry.addContent(generateSimpleElement("rights", rights));
}
}
protected void checkFeedHeaderConstraints(final Element eFeed) throws FeedException {