Enclosures don’t generate with xmlrpc_publish_post
-
When using a 3rd-party WordPress publishing client (Such as MarsEdit) to publish posts, the enclosures aren’t properly created on the podcast posts. This is likely because it uses
xmlrpc_publish_post
instead ofpublish_post
, which Powerpress hooks into to generate the enclosures.After the post is published via
xmlrpc_publish_post
, the enclosure looks like this:https://www.podtrac.com/xxxx.mp3
This is a problem, because WordPress 6.7 won’t show a malformed enclosure in the RSS feed.
When editing the post via wp-admin, when you click ‘update’, or when you publish it from wp-admin in the first place, the Powerpress functions all run and the enclosure is properly fixed, and looks like this:
'https://www.podtrac.com/xxxx.mp3 25074178 audio/mpeg a:17:{s:12:"value_pubkey";a:0:{}s:15:"value_lightning";a:0:{}s:16:"value_custom_key";a:0:{}s:18:"value_custom_value";a:0:{}s:11:"value_split";a:0:{}s:12:"person_names";a:1:{i:0;s:0:"";}s:12:"person_roles";a:1:{i:0;s:0:"";}s:11:"person_urls";a:1:{i:0;s:0:"";}s:9:"link_urls";a:1:{i:0;s:0:"";}s:16:"soundbite_starts";a:1:{i:0;s:0:"";}s:19:"soundbite_durations";a:1:{i:0;s:0:"";}s:16:"soundbite_titles";a:1:{i:0;s:0:"";}s:8:"duration";s:7:"0:34:19";s:12:"set_duration";s:1:"0";s:8:"set_size";s:1:"0";s:12:"episode_type";s:4:"full";s:10:"podcast_id";s:0:"";}'
Is it possible to file an issue to have the enclosure data also be generated when a post is published via
xmlrpc_publish_post
? I don’t see a public repo to add an issue to.
- You must be logged in to reply to this topic.