• Resolved greenzilla

    (@greenzilla)


    Plugin version 1.1

    When we publish an article, it does not go to Apple News until we click update.

    Settings on line 73 in class-admin-apple-post-sync.php are exactly the same whether we click publish or update.

    Also, we use XMLRPC to publish directly to WP. These posts are not automatically being sent to Apple News. We must click update for the posts to be sent.

    https://www.ads-software.com/plugins/publish-to-apple-news/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    What are your publishing settings for Apple News? Are you using auto sync? Async publishing?

    We haven’t tested this with XML-RPC since that isn’t commonly used anymore, especially with the REST API forthcoming.

    It sounds like your bug could be related to https://github.com/alleyinteractive/apple-news/issues/116, which is being worked on very soon.

    Thread Starter greenzilla

    (@greenzilla)

    I dug a little deeper. Two things that appear to have fixed my issues.

    As for the publish button not publishing:
    Line 58 in class-push.php schedules a one-off event to be run immediately. This appears to have not been working. I added 60 seconds to time() and I was able to see the chron job in the wp chron queue. I suspect the chron job was not actually getting run (we are manually running the chron fyi).

    As for xmlrpc, our xmlrpc user was an editor and did not have the ‘manage_options’ capability as required on line 55 in class-admin-apple-post-sync.php. I simply hooked into the supplied filter ‘apple_news_publish_capability’ [Thanks for the filter!] and changed the capability to ‘edit_pages’. We use xmlrpc b/c a third-party script uses it.

    To answer your question: auto sync and async are both set to yes.

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    Ok so one issue is definitely permissions and you fixed that, which is great.

    For the other, definitely sounds like the bug I linked to, which we’re hopefully addressing in the next version.

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    This will be fixed in version 1.1.6, releasing on Monday.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Publish button/XMLRPC does not publish to Apple News’ is closed to new replies.