we no longer need to generate OPML 1.1 files

This commit is contained in:
Athou
2025-07-21 15:53:23 +02:00
parent 9853205849
commit 5ee15c6f68
2 changed files with 0 additions and 27 deletions

View File

@@ -1,26 +0,0 @@
package com.commafeed.backend.rome;
import org.jdom2.Element;
import com.rometools.opml.feed.opml.Opml;
import io.quarkus.runtime.annotations.RegisterForReflection;
/**
* Add missing title to the generated OPML
*
*/
@RegisterForReflection
public class OPML11Generator extends com.rometools.opml.io.impl.OPML10Generator {
public OPML11Generator() {
super("opml_1.1");
}
@Override
protected Element generateHead(Opml opml) {
Element head = new Element("head");
addNotNullSimpleElement(head, "title", opml.getTitle());
return head;
}
}

View File

@@ -1,2 +1 @@
WireFeedParser.classes=com.commafeed.backend.rome.OPML11Parser
WireFeedGenerator.classes=com.commafeed.backend.rome.OPML11Generator