Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Kevin Fodness

    (@kevinfodness)

    The default format for content in Apple News JSON is Markdown, and Apple News Markdown has limited support for ordered lists. If your list includes content within a list item that is separated from the opening tag with newlines or breaks, it’s not going to render properly in Apple News.

    However, we added support for HTML format recently, which fixes this problem. You can turn on HTML support in Apple News > Settings. The setting is still somewhat experimental, so if you encounter issues with it, please report them here.

    Thanks!

    Hi Kevin,

    I also have a problem with lists: items are not appearing on the next line when they should, so you’ll get item1 item2 item3 all on the same line.

    HTML support is switched on and none of my html tags are working (b, i, li, a etc).

    Tested with different themes.

    I posted a separate msg. a week ago.

    Thanks!

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    If you set HTML Support to ‘yes’, this should be fixed in version 1.2.7 of the plugin which is being released today.

    Thanks.

    Thread Starter Kingsley Felix

    (@iamkingsleyf)

    alright.

    Good news then

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    Is this working for you now?

    Thread Starter Kingsley Felix

    (@iamkingsleyf)

    I will check later on list articles with page break those are mostly visible on News app.

    Then again navigation on this iPad is something else.

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    OK, just be aware you’d need to republish any old articles. They won’t instantly fix.

    Not sure what you mean about iPad navigation.

    Plugin Author Kevin Fodness

    (@kevinfodness)

    Hi @iamkingsleyf

    We had a separate report for this issue, which was fixed in the latest version (1.2.7) with HTML support turned on. If you could give it a try with the updated version and the HTML option enabled and report back, I’d appreciate it.

    Thanks!

    Thread Starter Kingsley Felix

    (@iamkingsleyf)

    Its displaying but no numbers like in the above IG image.i think this way is OK, as the sub headings (list items) are displaying without the numbers.

    Thanks

    Plugin Author Kevin Fodness

    (@kevinfodness)

    I looked at your original article again, and I see the root of the problem. You’re using the start parameter on the ol to determine which number should be displayed, which Apple News Format does not support:

    “Attributes on your tags will be ignored. Exceptions are the href attribute on the a tag, and the data-anf-textstyle on all tags.”

    https://developer.apple.com/library/content/documentation/General/Conceptual/Apple_News_Format_Ref/HTMLMarkupforAppleNewsFormat.html#//apple_ref/doc/uid/TP40015408-CH110-SW1

    If, instead of jumping in and out of ordered lists and using the start parameter to control the number that is displayed, you nested your content in the li tags, it should display properly in Apple News Format.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘LIST not functioning properly’ is closed to new replies.