Pulling <s:variant> from atom feed with simple pie
问题 How can I get the title tag from the s:variant block below using simple pie? <s:variant> <id>product_variants-96590662</id> <title>Default Title</title> <s:price currency="GBP">10.00</s:price> <s:sku>002</s:sku> <s:grams>0</s:grams> </s:variant> I've tried the following to avail, and also 'variant' and just 's' $caption = $item->get_item_tags('http://www.w3.org/2005/Atom', 's:variant'); The feed in question is here (from shopify), and the docs on get_item_tags is here. 回答1: You can read the