set opml version for OPML 1.0 generator
This commit is contained in:
parent
3fe096365c
commit
86dc04fcd9
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ public class OPML10Generator extends BaseWireFeedGenerator implements WireFeedGe
|
|||
final Opml opml = (Opml) feed;
|
||||
final Document doc = new Document();
|
||||
final Element root = new Element("opml");
|
||||
root.setAttribute("version", "1.0");
|
||||
doc.addContent(root);
|
||||
|
||||
final Element head = generateHead(opml);
|
||||
|
|
Loading…
Reference in a new issue