<item> <guid isPermaLink="false">5460304c-e284-4f84-b4a3-2cccba31fb81</ +guid> <title>Sawbones: Sea Moss</title> <description><![CDATA[<p>Another day, another fad superfood on s +ocial media! Sea moss, or carrageenan or Irish moss, has historically + been used for ulcers and sore throats, but does it actually have any + proven medical use? Well, no, but itâ&#128;&#153;s probably a good v +egan substitute for gelatin. </p><p>Music: "Medicines" by The Taxpay +ers https://taxpayers.bandcamp.com/</p> ]]></description> <pubDate>Tue, 9 Apr 2024 16:00:00 +0000</pubDate> <author>sawbones@maximumfun.org (Justin &amp; Dr. Sydnee McElroy +)</author> <link>https://sawbones.simplecast.com/episodes/sawbones-sea-moss +-VjwtE6QL</link> <content:encoded><![CDATA[<p>Another day, another fad superfood +on social media! Sea moss, or carrageenan or Irish moss, has historic +ally been used for ulcers and sore throats, but does it actually have + any proven medical use? Well, no, but itâ&#128;&#153;s probably a go +od vegan substitute for gelatin. </p><p>Music: "Medicines" by The Ta +xpayers https://taxpayers.bandcamp.com/</p> ]]></content:encoded> <enclosure length="39466657" type="audio/mpeg" url="https://afp- +9384.calisto.simplecastaudio.com/a5445fde-0e70-4659-8f18-442f9aabbaac +/episodes/4ae21775-9cd0-464d-bed5-c9de9a5be711/audio/128/default.mp3? +aid=rss_feed&amp;awCollectionId=a5445fde-0e70-4659-8f18-442f9aabbaac& +amp;awEpisodeId=4ae21775-9cd0-464d-bed5-c9de9a5be711&amp;feed=y1LF_sn +2"/> <itunes:title>Sawbones: Sea Moss</itunes:title> <itunes:author>Justin &amp; Dr. Sydnee McElroy</itunes:author> <itunes:duration>00:40:36</itunes:duration> <itunes:summary>Another day, another fad superfood on social med +ia! Sea moss, or carrageenan or Irish moss, has historically been use +d for ulcers and sore throats, but does it actually have any proven m +edical use? Well, no, but itâ&#128;&#153;s probably a good vegan subs +titute for gelatin. Music: &quot;Medicines&quot; by The Taxpayers https://taxpayers.bandca +mp.com/</itunes:summary> <itunes:subtitle>Another day, another fad superfood on social me +dia! Sea moss, or carrageenan or Irish moss, has historically been us +ed for ulcers and sore throats, but does it actually have any proven +medical use? Well, no, but itâ&#128;&#153;s probably a good vegan sub +stitute for gelatin. Music: &quot;Medicines&quot; by The Taxpayers https://taxpayers.bandca +mp.com/</itunes:subtitle> <itunes:explicit>no</itunes:explicit> <itunes:episodeType>full</itunes:episodeType> <itunes:episode>493</itunes:episode> </item>

$element is being generated by foreach my $element ($rss->query('//item')) to grab individual items from within the RSS feed.

I've never worked with XPath before, but based on the Wikipedia page it looks like my $summary = $element->query('//itunes:summary'); ought to work, but it's still returning undef.


In reply to Re^2: namespaces in XML::RSS::Parser::Element by wintermute_115
in thread namespaces in XML::RSS::Parser::Element by wintermute_115

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.