Giter VIP home page Giter VIP logo

Comments (2)

Nygu avatar Nygu commented on September 10, 2024

I do not have an answer to your question but I do recognise that "Right now" or even "Happening soon" posts would open up lots of possibilities for cool, innovative new apps. You could have an app that's all about the present or about future events. How awesome is that?

from tent.io.

danielsiders avatar danielsiders commented on September 10, 2024

Posts "expiration dates" are one of the first things we discussed when designing the protocol. Here's the challenge: most apps will ask for specific post types. So the status app won't know to ask for a new kind of post with shelf life. Every app that touches a specific type would need to become aware of new "duplicate" post types. We could of course add this to the general post schema (metadata on every post), but we're trying to keep things as lean as possible right now so we don't have feature creep in the early days.

There's an undocumented feature we'll be writing about soon called post versions. Basically posts are immutable, but you can publish a new version of the same post id. That update goes out to everyone in real time like normal posts and it's up to the app to display it in its feed in a manner consistent with its UI. So you can write an app that auto updates posts with a new version (or just deletes them) after a specific period of time.

We're still open to experimenting with expiration dates on all posts in the standard metadata (so it wouldn't have to be a different post type), but we'd like to see more developers adopt Tent first. Ultimately the community reaction will have a lot to do with this. In the meantime, try out delete (on a timer) and post versions (docs out soon!) and if those really don't work you can invent a new post type. We'll have more docs in the future on creating new post types, eventually with a whole JSON schema, etc which should make adoption a lot smoother.

from tent.io.

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.