Generate OPML from a list of RSS Feed Urls?

Is this possible to do in Shortcuts or drafts?

Can be done in Drafts with a JavaScript action.

This web service might be an alternative:

Here’s a couple of approaches that might work for you, or should at least give you a reasonable starting point.


The shortcut accepts text or URLs from the share sheet, or you can pass in a list of RSS entries from the clipboard, manual entry or by browsing to a file. The custom shortcut assumes an RSS entry per line. Blank lines will be skipped, but there’s no error checking of if a line is a valid RSS feed or not.

The OPML is constructed and the the user can opt to copy the OPML to the clipboard, save it to a file, or share it.


The Drafts 5 action takes the current draft and processes each line. It assumes that all entries are valid RSS feeds, but ignores blank lines. The processed lines are wrapped with some additional XML to turn it into what should be valid OPML. This is then set as the content of a new draft and Drafts then loads that draft.

The action could be modified to accept input from the clipboard or a file in a similar way to the Shortcuts custom shortcut, but my assumption here was if you were using Drafts, you’d probably have your RSS list in a draft anyway … and also this was just intended to be a working example, not a super robust and super flexible solution :wink:

Hope that helps.

1 Like