Hi Team,
Right not on ‘/wp-admin/admin.php?page=apple_news_index’ page we get details such as ‘Title, Last updated at, Apple News Status, Sync Status’. can we get some additional details such as ‘Error message’. if any article failed in api sync. do we store that error message anywhere in DB, for each article? how i can get the failure details?
How do we remove the Publish To Apple News options Icon (The N icon) that gets added to the Gutenberg Editor up activation of the plugin.
We would like to prevent this icon from showing up on the right-hand side of the Gutenberg Editor when composing a new post or page.
We are trying to remove this from toolbar specially for user roles (authors, contributors editors etc.) who have no need for this option?
Please advise on how to accomplish this and declutter the Gutenberg toolbar and user experience?
Team,
I have activated the plugin on UAT env and have added the settings (Channel ID, Key ID, Secret) in the settings pages with the both 2 available methods
Channel ID:8e8f386b-7810-42aa-b123-c07——
Key ID:8747343e-19c2-4120-9c76-05——-
Secret:FGyBrObhuWQlB1J5YXW0OSDk/ZlXA3TV63O——-
kept in a file called apple_config.php and uploaded the file and tried with pasting the above values in the given text area manually. after adding details plugin showing The Apple News channel config has been successfully added. message
after the above process tried to publish the articles to apple cloud it is giving the error, can you please help on this the error is Your Apple News API settings seem to be empty. Please fill in the API key, API secret and API channel fields in the plugin configuration page.
I am using the latest version of the plugin (2.5.0)
Dear Support Team,
I am experiencing an issue with Instagram embeds on my WordPress site when publishing articles to Apple News. Despite adding Instagram embed codes to my articles, the embedded Instagram content does not appear in the Apple News version of the article. I have used apple news plugin to publish apple news.
I am new to Apple News, and I need to submit 3 article samples as drafts before I am allowed to publish on the platform.
“Provide at least three sample articles that will show the Apple News team what kind of content you plan to publish.”
However, the only option I’m seeing in the plugin is “Publish” for articles, and when I try to do this I get this message:
There has been an error with the Apple News API: ONLY_PREVIEW_ALLOWED
On the Apple site there is a “Draft Articles” section and it’s empty, and I don’t see an option to manually upload the .json created by the plugin. Is there a setting to send articles via the API as drafts, rather than to be published?
I see this in the docs: “If your channel is not yet approved, you can still configure the plugin?but you will need to push articles in preview mode.” But how does one push articles in preview mode?
]]>Hi, we would like to display the caption from the feature image. We tried to add the caption of the uploaded image on the feature image or add some caption text from the cover image option under “Publish to Apple News Options”. As I also tested the plugin with Twenty Twentyfour theme, the caption of first image was always blank.
https://share.zight.com/rRuDEenE
Is there any way to display the caption of the first image?
hen a YouTube Embed is inserted, the iframe is wrapped in a div, resulting in the removal of other body content from the article when the Apple News plugin is enabled.
I have found a work around which is to add the YouTube embed by custom HTML block.
Has this issue has been previously reported and if there are any known solutions or updates planned to address it in the near future?
Thanks Jasmine
Hi,
Our client created the post and the image caption format shows some -(dash) between each word when we check the post on Apple News.
Do you know why it happens? Is there any setting to fix the issue?
https://share.zight.com/qGubpzRG
we cant publish articles, we get the following error:
There has been an error with the Apple News API: TOO_MANY_PREVIEW_ARTICLES
Any idea how to resolve this?
]]>Hi,
When i used this plugin several years ago all we needed was API details now we are required a file and unfortunately there is no instruction for windows users, seems publishers who don’t use a mac can’t get on Apple News.
Please what do i do?
]]>Hello,
We recently started getting this error when trying to publish to Apple News:
There has been an error with the Apple News API: INVALID_DOCUMENT – Resource with URI [bundle://] not found. (keyPath components->2->components->0)
The last published article was on January 23rd, after that date we haven’t been able to push anything to Apple News. We haven’t changed any setting on our end.
Any help/ feedback is appreciated.
Thanks,
Recently, since a couple days ago, any time we publish a new article or update an article we keep getting the same error from Apple News API.
There has been an error with the Apple News API: INVALID_DOCUMENT – Resource with URI [bundle://] not found. (keyPath components->0->components->0)
We have looked around, but were unable to find any solutions for this. Can somebody please help? It would be greatly appreciated.
We are currently using this plugin to publish articles to Apple News. We would like to begin serving ads to our articles.
Reading this guide about apple news targeting dimensions, it says our posts need to include the key value/metadata so that we can perform targeting.
In your plugin settings and documentation, I do not see this as an option. Am I missing something? What options to do have to enable this functionality?
]]>As of installing the WP 6.4 update today, getting cURL errors for Apple News; including ‘Unable to fetch a list of sections.‘ and also timeout error when updating post to push update to Apple News. PHP 7.4.33 Linux/Plesk dedicated server.
]]>I’m trying to input some custom JSON for the ‘End of Article’ and I’m finding that I can’t add more than one component. If I try to add an array of them, Apple rejects the article. Am I doing something wrong? Here’s the JSON:
{
"components": [
{
"role": "body",
"text": "<hr />Subscribe to <a >News Daily</a> and get top news stories from KQED delivered to your inbox every weekday.",
"format": "html",
"textStyle": {
"backgroundColor": "#012842",
"textColor": "#D7D7D7",
"textAlignment": "center",
"fontFamily": "Georgia",
"fontSize": 18,
"fontWeight": 700,
"lineHeight": 26
},
"layout": {
"margin": {
"top": 10,
"bottom": 10
}
}
},
{
"role": "link_button",
"URL": "https://www.kqed.org/newsletters/news-daily",
"text": "Subscribe",
"style": {
"backgroundColor": "#DDD",
"mask": {
"type": "corners",
"radius": 25
}
},
"layout": {
"padding": 10
}
}
]
}
]]>
I can not get keywords to be added to metadata from the plugin sidebar options. Not sure if I am entering wrong. There is only 3 fields.
I tried #2 as ”array” as well like this: the output for apple_news_metadata shows as
array ( 0 => array ( 0 => array ( ‘key’ => ‘keywords’, ‘type’ => ‘array’, ‘value’ => ‘strike, uaw, ford, gm, chrysler, united auto workers’, ), ), )
What is correct?
]]>Apple News suddenly giving error:
There has been an error with the Apple News API: FAILED_TO_PARSE_IMAGE – Failed to parse image with URI [bundle://AA1cDdpS.jpeg]
Also noticed that images not loading correctly on site. Any ideas why? Help appreciated.
Thanks
We noticed that our our Apple News articles are displaying the wrong time. Our WordPress site is currently set to Los Angeles (-7:00) timezone and we believe Apple News assumes our timestamp is in UTC and is subtracting an additional 7 hours. Is there a way within the plugin to specify the timezone?
]]>Hello,
We have a problem with plugin it was working fine but now it wont update The deks and bylines on apple news.
And it wont work for all post but lets take one as example:
This is how page looks: https://www.1stdibs.com/blogs/the-study/damien-hirst-suiko/
And this is apple news link: https://apple.news/AtXqoxUS7T_moqXeLfN-TGw
Both looks similar but The deks and bylines are missing or incorrect on the Apple News. Author is different and there is no text “Fierceness and fragility coalesce as the British artist revisits a cherished motif — the butterfly.” on apple story.
]]>Hello,
when editing page i get The “publish-to-apple-news” plugin has encountered an error and cannot be render. How i can check whats wrong is happening and how to fix that?
Also when i go to Apple news plugin > Articles and hit Publish I get: Skipped push of article 1087137 to Apple News because it is already in sync.
How I can sync that?
]]>Hi,
I am parsing our content and generating the json object for the youtube embeds according to – https://developer.apple.com/documentation/apple_news/embedwebvideo
Sometimes the video does not load at all (loading wheel), and other times it takes a few minutes for it to load in the news app. Random behavior. What could be causing this issue?
S
]]>We are trying to publish content to Apple News but the validation for the JSON is failing whenever we add Emojis to the content.
I have tested this behavior in the latest version of the plugin. When we pass the Emojis in the content, it always returns with the same error – JSON ins invalid(screenshot attached)
When I try downloading the JSON from the Apple News menu, it says as null with the status FAILED_PROCESSING_UPDATE.
Once I remove the emojis from the content, the post goes through without any issue. Does Apple News NOT support emojis in the content? Or is there anything we are missing to be able to include emojis in the content?
]]>Hi there,
I believe I’ve found a bug where all body content EXCEPT the date and the YouTube video is removed/overwritten if a YouTube (and maybe also Vimeo) URL is nested within another element, like a <div> or a <section> element, in the body content.
I’ve tested this on a clean WordPress (v6.0.3) site with only the Publish Apple News Plugin (v.2.3.3) installed.
On the working example, which you can preview in Apple News here, this is what I have in the text editor:
<p>Content above the video</p>
<p>https://www.youtube.com/watch?v=ThiCMd5kGbE</p>
<p>Content below the video</p>
This is components part of the JSON generated by the Apple News plugin:
"components": [
{
"role": "title",
"text": "Example post with YouTube",
"format": "html",
"textStyle": "default-title",
"layout": "title-layout"
},
{
"role": "author",
"text": "by Jane",
"format": "html",
"textStyle": "default-author",
"layout": "author-layout"
},
{
"role": "body",
"text": "Dec 12, 2022 | 9:53 AM",
"textStyle": "default-date",
"layout": "date-layout"
},
{
"role": "body",
"text": "<p>Content above the video<\/p>",
"format": "html",
"textStyle": "dropcapBodyStyle",
"layout": "body-layout"
},
{
"role": "embedwebvideo",
"aspectRatio": 1.777,
"URL": "https:\/\/www.youtube.com\/embed\/ThiCMd5kGbE",
"layout": "embed-web-video-layout"
},
{
"role": "body",
"text": "<p>Content below the video<\/p>",
"format": "html",
"textStyle": "default-body",
"layout": "body-layout-last"
}],
In the non-working example, which you can preview in Apple News here, this is what I have in the text editor:
<div>
<p>Content above the video</p>
<p>https://www.youtube.com/watch?v=ThiCMd5kGbE</p>
<p>Content below the video</p>
</div>
This is the component part of what is generated by the Apple News plugin:
"components": [
{
"role": "title",
"text": "Example post with YouTube nested in DOM",
"format": "html",
"textStyle": "default-title",
"layout": "title-layout"
},
{
"role": "author",
"text": "by Jane",
"format": "html",
"textStyle": "default-author",
"layout": "author-layout"
},
{
"role": "body",
"text": "Dec 7, 2022 | 11:56 AM",
"textStyle": "default-date",
"layout": "date-layout"
},
{
"role": "embedwebvideo",
"aspectRatio": 1.777,
"URL": "https:\/\/www.youtube.com\/embed\/ThiCMd5kGbE",
"layout": "embed-web-video-layout"
}],
As you can see, all content EXCEPT the date and the YouTube video is removed/overwritten if it’s nested within an element (in this case, a <div>).
Is anyone able to confirm:
1. If this is a bug/known issue?
2. You are able to replicate this same issue?
3. If there is work-around in the meantime that doesn’t involve editing the each article to remove any wrapping element(s)?
Please let me know if I can provide any additional information.
Thanks,
Jane
Excerpts currently only show the date on my site – is that how it’s supposed to work? (I’d assumed it would show the WP excerpt.)
Also – feature request, unrelated – could we have a way to exclude certain photos from Apple News consideration? That way we could still run pics below 640px.
]]>Hi,
I am looking for a bit of help. Apple Ads are auto-placing in the worst places in our content. This is happening in a custom content type where we have a number of ACF Fields showing up.
Our Apple rep has told us that we need to wrap our fields in a container and also add also disable autoplaced ads by including the folliwing property:
“allowAutoplacedAds”: false,
I am having a hard time figuring out where I need to add this stuff. I have made a couple changes and am trying to use the News Preview app, however it looks like the app doesn’t include ads, so I can’t even verify if anything I am doing has any effect.
I have included a pastebin of what our usual JSON file would look like of one of these articles.
If anyone can help, or point me to some documentation that relates to this it would be appreciated.
Thank you,
Michael
Hi there, love the plugin, it works great. In my case, too great. Here is my situation….
My site has a number of shortcodes embedded in the body that I don’t want to appear on Apple News. I’ve got a rough idea of the syntax I need, something like this…
add_filter( 'apple_news_exporter_content_pre', 'disable_myshortcode' );
function disable_myshortcode($content, $postID) {
remove_shortcode('myshortcode');
}
But that’s not working. Is that the right filter? Is there a different way the remove_shortcode should be invoked? Any thoughts?
Thank you!
]]>Hi there,
I just installed this plugin, and I’m still getting ready to submit my application to Apple News.
Problem 1) Can’t fetch a list of sections
I’m presuming this is an API issue. I copy and pasted in all the info and took some formatting notes from other posts but I still can’t seem to connect. I don’t have a papi file, I just copy and pasted using formatting cues. It says it successful but doesn’t seem to really work. I do have sections on Apple News.
Problem 2) Publishing to Apple News
I need to move over three drafts to apple news to finish my application but when I try to load in things through the plugin I get a “not-allowed” API error. Now, it would seem that the API is working but then I feel like I wouldn’t have problem 1 if that were true. Not sure what’s wrong here. Is the APi Working or isn’t it?
Problem 3) Emails
I seem to get four emails every time I edit or update anything now. Anyway to slow those down?
Thanks for your help on this.
]]>Hello,
We are having issues with previewing articles before submitting them to Apple News approval.
We’ve installed the Apple News plug-in successfully, had to manually enter the API information (Our CMS asked for a PAPI file, and I did know where to retrieve that), and have published a select amount of articles from our CMS.
The status for each published article states “live” in our CMS and is populating the “Drafts” area of the iCloud News Publisher.
Apple advises that we preview our articles before submitting for approval. Unfortunately, we are unable to do that at this time.
Thank you,
– NdS
When I upload the .papi file, it says invalid .papi key, and I save the file info as instructed with the info from Apple
]]>Hey everybody –
I’m trying to follow the steps in the Apple News API Client Utility README.md file and hitting a wall.
I’ve successfully installed the Ruby CLI and created the .papi configuration file.
I’ve placed this file in the home folder on my local machine (when I run a open ~/.papi in terminal the file launches without issue). However, when I proceed to the next step of running papi-client channel get, I get the following response:
400 Bad Request: INVALID_TYPE
Message:
Key path:
Article ID: <CHANNEL ID APPEARS HERE BACK HERE>
My .papi file looks like this (with my values swapped for the placeholders):
#<SiteName>
endpoint: https://news-api.apple.com
channel_id: <channel_id>
key: <key>
secret: <secret>
Not seeing a lot of (recent) documentation around this error so I’m just not sure where to proceed from here. Any insight would be extremely helpful.
]]>