Merge pull request #290 from bibliolabs/master
Adds missing entry 'rights' to Atom 1.0 generator output
This commit is contained in:
commit
874a0c89a7
1 changed files with 5 additions and 0 deletions
|
@ -324,6 +324,11 @@ public class Atom10Generator extends BaseWireFeedGenerator {
|
||||||
eEntry.addContent(sourceElement);
|
eEntry.addContent(sourceElement);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
final String rights = entry.getRights();
|
||||||
|
if (rights != null) {
|
||||||
|
eEntry.addContent(generateSimpleElement("rights", rights));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void checkFeedHeaderConstraints(final Element eFeed) throws FeedException {
|
protected void checkFeedHeaderConstraints(final Element eFeed) throws FeedException {
|
||||||
|
|
Loading…
Reference in a new issue