Added 'title' attribute to OPML exporter

This commit is contained in:
daniel oeh 2012-12-15 18:43:47 +01:00
parent 3692119bed
commit 64348e4f18
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ public class OpmlWriter {
for (Feed feed : feeds) { for (Feed feed : feeds) {
xs.startTag(null, OpmlSymbols.OUTLINE); xs.startTag(null, OpmlSymbols.OUTLINE);
xs.attribute(null, OpmlSymbols.TEXT, feed.getTitle()); xs.attribute(null, OpmlSymbols.TEXT, feed.getTitle());
xs.attribute(null, OpmlSymbols.TITLE, feed.getTitle());
if (feed.getType() != null) { if (feed.getType() != null) {
xs.attribute(null, OpmlSymbols.TYPE, feed.getType()); xs.attribute(null, OpmlSymbols.TYPE, feed.getType());
} }