- I ended up using the opml package, since I can grok JavaScript objects better than I can an XML parser.#
- And lo and behold, I was not only able to search the object for all items with type==="outline", but I was also able to write a recursive function to get the text items from inside those items, even when nested. I didn't even have to look up anything on Stack Overflow! Hooray for me!#
- So now I have pretty much everything I need to pull OPML into Eleventy to stitch together blog posts. #
- I ended up using the opml package, since I can grok JavaScript objects better than I can an XML parser.#
- And lo and behold, I was not only able to search the object for all items with type==="outline", but I was also able to write a recursive function to get the text items from inside those items, even when nested. I didn't even have to look up anything on Stack Overflow! Hooray for me!#
- So now I have pretty much everything I need to pull OPML into Eleventy to stitch together blog posts. #