Merge pull request #4689 from Wevah/fix-opml-import

Fix importing OPML
This commit is contained in:
Brent Simmons
2025-08-11 11:36:38 -07:00
committed by GitHub
2 changed files with 18 additions and 1 deletions

View File

@@ -100,6 +100,23 @@
</array>
<key>UTImportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.xml</string>
</array>
<key>UTTypeDescription</key>
<string>OPML</string>
<key>UTTypeIdentifier</key>
<string>org.opml.opml</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>opml</string>
</array>
</dict>
</dict>
<dict>
<key>UTTypeConformsTo</key>
<array>

View File

@@ -10,5 +10,5 @@ import UniformTypeIdentifiers
extension UTType {
static let opml = UTType(filenameExtension: "opml", conformingTo: UTType.xml)!
static let opml = UTType("org.opml.opml")!
}