• Resolved jbmanos

    (@jbmanos)


    So I got approved for an Apple news channel, and proceeded to use this plug-in to submit the 10 articles for Apple review.

    I was unable to see the drafts in the news app prior to submitting them, however, after submitting them I realized it was because I had not connected the news app to iCloud within the settings.

    Now that I can see the draft, it appears that every block quote and every article was rendered with the styling for Pull quotes instead. That means block quotes in the middle of articles are 48 point text. It looks terrible.

    Obviously, that’s not the way this is supposed to work. On the settings for the plug-in it is apparent that block quotes were not thought of. Block quote styling should be different then pull quotes.

    Please advise on how to remedy the mangled articles and how to prevent this sort of styling disaster by the plugin. Block quotes are a regular style and should not be treated as pull quotes.

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

    (@potatomaster)

    This is an issue that’s been discussed internally and we do plan to make some styling updates in a future plugin version. For now, you’re welcome to use any of the available plugin filter hooks to modify the JSON output.

    Hi Bradford,
    Could you guide me on how to use the plugin filter hooks to modify the JSON output.I am new to plugin use. Please guide me with steps on how to avoid block quotes being rendered as pull quotes using plugin filter hooks.

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    apple_news_generate_json lets you fully modify the JSON output right before it’s sent to Apple News. You can also add or replace the component classes using the filter apple_news_initialize_components.

    An exhaustive reference is out of scope for me to provide right now. I suggest you browse through the source code and see what suits your purpose best.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Block quotes rendered as pull quotes’ is closed to new replies.