Having a hard time getting google sheets =importxml formula to return the value inside the <itunes:email>
tag inside an RSS feed.
Let's use this feed, for example: https://feeds.soundcloud.com/users/soundcloud:users:27444293/sounds.rss
When using this formula:
=IMPORTXML("https://feeds.soundcloud.com/users/soundcloud:users:27444293/sounds.rss","//channel")
I'm getting everything inside the <channel>
tag (as expected). What's interesting is, the tag is nested inside the <itunes:owner>
tag along with <itunes:name>
-- so google sheets will put those two values in one cell. It looks like this: "WKXL - NH Talk [email protected]" because the <itunes:name>
tag is "WKXL - NH Talk" and the <itunes:email>
tag is "[email protected]".
When I try to isolate this using this formula:
=IMPORTXML("https://feeds.soundcloud.com/users/soundcloud:users:27444293/sounds.rss","//channel/itunes:owner")
I get an error that "Imported content is empty."
Is there a way to isolate JUST the <itunes:email>
value? Not very educated with the Xpath element here.
Any help is greatly appreciated!!