Giter VIP home page Giter VIP logo

Comments (2)

janboddez avatar janboddez commented on August 18, 2024

So, what I do is, I use post types rather than post kinds (or post formats), but the idea is very similar.

Of note: I also have sharing set to "opt-in," so I have to explicitly indicate for each post if I want to share to either Mastodon or Pixelfed or both. Or I could do nothing and check neither.

I'm not sure it's possible to, say, completely hide the "share" checkboxes for certain kinds/formats, as those are taxonomies that you'd normally set while creating a post, whereas a post type is something you decide on up front, if that makes sense. (In a way, all post kinds/formats are all ... just posts.)

But what we can do, and I'm relatively sure is already possible through a little bit of custom code, is either stop certain kinds/formats from being shared or force them to be shared.

I'll look into it.

from share-on-pixelfed.

janboddez avatar janboddez commented on August 18, 2024

Also, sharing to Pixelfed will simply be skipped (regardless of the checkbox value) for non-image posts. So, even if you had sharing to both Mastodon and Pixelfed enabled, text-only posts would only ever get shared to Mastodon.

But again, one could definitely halt "photo posts" from being shared on Mastodon. Or non-photo posts that happen to have a (featured) image from being shared on Pixelfed. Even if the checkboxes were (possibly automatically) enabled, or "sharing always" was enabled. But it'd require a tiny bit of extra code. I'll have a look and report back here.

from share-on-pixelfed.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.