Parse XML Feeds in PowerShell
Atom:
$atomfeed = [xml](iwr https://dmoj.ca/feed/problems/atom/)
# actual entries
$atomfeed.feed.entry
RSS:
$rssfeed = [xml](iwr https://www.theonion.com/rss)
# actual entries
$rssfeed.rss.channel.item
Atom:
$atomfeed = [xml](iwr https://dmoj.ca/feed/problems/atom/)
# actual entries
$atomfeed.feed.entry
RSS:
$rssfeed = [xml](iwr https://www.theonion.com/rss)
# actual entries
$rssfeed.rss.channel.item