Giter VIP home page Giter VIP logo

Comments (3)

janboddez avatar janboddez commented on August 18, 2024

Also when I surf to https://jan.boddez.net/notes/10f23ae8fe?activitypub, the reply context is definitely there. (The div class="e-content"></div> is stripped, because we don't allow div in ActivityPub representations of posts.)

The inReplyTo property seems to be missing too. Could be because of the AP plugin filtering post_content (like, that sort of thing could break my regex).

from janboddeznet.

janboddez avatar janboddez commented on August 18, 2024

Similarly https://indieweb.social/@[email protected]/111598018713626744 is threaded correctly but the rest of the original post's (current) AP representation isn't 100% what I'd expected.

from janboddeznet.

janboddez avatar janboddez commented on August 18, 2024

So, what I think was happening is, I was filtering Activities, but not the base Objects. So I'd alter a post when it was posted to another server's inbox, but not the representation on my site. So the other server only sees it as a reply if I haven't already searched for it there. And whenever they went to catch the "original," they'd get a different post content (than what we sent them).

So we gotta filter both, always.

Also, I'm going to try to drop the regexes and rely on block parsing instead (which might prove ... interesting, because I don't always have a block, for all kinds of "IndieWeb" post type). Maybe we should rely on another type of parsing instead ... I mean, IndieBlocks already runs most posts to an mf2 parser ...

from janboddeznet.

Related Issues (7)

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.