An OPML export contains subscriptions and sometimes nested folders. To reuse it for a digest, extract the feed addresses and preserve the folders you use to organize your reading.
Export and inspect the outlines
Open an OPML export from your feed reader locally. Within the body, walk nested outline elements and collect xmlUrl values. An outline without xmlUrl can be a folder. htmlUrl usually identifies the website.
Keep a source inventory
Store feed URL, display name and folder path. Merge duplicate feed URLs into one fetch while retaining all folder labels. Review the inventory before using it and keep private or tokenized subscription links out of shared files.
Test one folder first
Choose a folder with two feeds and build a preview containing one headline and original article link from each. Compare it against your reader before adding the rest of the export.
from urllib.parse import urlsplit
from xml.etree import ElementTree
tree = ElementTree.parse("subscriptions.opml")
feeds = set()
for outline in tree.iter("outline"):
address = outline.get("xmlUrl", "").strip()
if urlsplit(address).scheme in {"http", "https"}:
feeds.add(address)
for address in sorted(feeds):
print(address)