Skip to content

NPF issues? #150

@gloriamonika

Description

@gloriamonika

Hi! I was directed here from tumblr/tumblr.js#556 since we figured out this is probably an API behaviour issue.

Since Tumblr has officially migrated into NPF to render posts on blogs, I've noticed a few odd things (and a few requests):

  1. It seemed to me that NPF cannot render emojis properly, not only in tags but also in the post body (compare the reblogged post and the original post). If I log the content of {npf}, all it returns for emojis is ?, like so:
    Image
    (This is a snippet of a theme I worked on a few months back.)
    But emojis are rendered fine for legacy posts.
  2. When a user reblogs a legacy video with no commentary, the original caption disappears (compare the original post (legacy) and the reblog (NPF)). BUT if you have additional commentary, the original caption appears as expected. Might be worth looking into it?
  3. A legacy quote when reblogged will be turned into a usual "text" post with blockquote (the reblogged post vs the original post). I am not sure if this is expected behaviour.
  4. Is it possible to return if a post has a Read More break, something like {block:More}{/block:More} in legacy post? Right now it seems to me the most viable way to add a read more break is to add it manually, so something like if the original post has a read more break, truncate the post and then insert a link that directs users to the permalink (I'm sure there's a better way to do this).

I can set up a test blog if needed to reproduce all these behaviours.

I also understand that NPF might not be as much of a priority right now since there's the in-dashboard view that unifies the look of all the blogs (and it doesn't matter for people who use the default theme on their Tumblrs), but I think this could be a boon for us theme makers who are trying to support NPF on our themes and people who are still using custom themes on their Tumblrs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions