WP All Export – XML feed
-
I am trying to automate an XML export feed for one of our clients using the WP ALL EXPORT plugin. Everything works great, but when I try to export the PODS photos field, it exports an entire array string of data. Any idea how we can pull out only the URL from this string of data? I see the “guid”;s:101:”https://www.yourdomain.com/wp-content/uploads/2021/11/Coming_Soon_Inventory_Graphic_1.jpg” part of the overall array for that product below.
<![CDATA[ a:24:{s:2:"ID";s:4:"8537";s:11:"post_author";s:1:"4";s:9:"post_date";s:19:"2021-11-29 21:18:26";s:13:"post_date_gmt";s:19:"2021-11-29 21:18:26";s:12:"post_content";s:0:"";s:10:"post_title";s:31:"Coming_Soon_Inventory_Graphic_1";s:12:"post_excerpt";s:0:"";s:11:"post_status";s:7:"inherit";s:14:"comment_status";s:6:"closed";s:11:"ping_status";s:6:"closed";s:13:"post_password";s:0:"";s:9:"post_name";s:31:"coming_soon_inventory_graphic_1";s:7:"to_ping";s:0:"";s:6:"pinged";s:0:"";s:13:"post_modified";s:19:"2022-01-05 15:27:51";s:17:"post_modified_gmt";s:19:"2022-01-05 15:27:51";s:21:"post_content_filtered";s:0:"";s:11:"post_parent";s:4:"8539";s:4:"guid";s:101:"https://www.yourdomain.com/wp-content/uploads/2021/11/Coming_Soon_Inventory_Graphic_1.jpg";s:10:"menu_order";s:1:"0";s:9:"post_type";s:10:"attachment";s:14:"post_mime_type";s:10:"image/jpeg";s:13:"comment_count";s:1:"0";s:11:"pod_item_id";s:4:"8537";} ]]>
The topic ‘WP All Export – XML feed’ is closed to new replies.