#known 2018-01-26
2018-01-26 UTC
[colinwalker], [kevinmarks], [miklb], [cleverdevil], tantek, [keithjgrant], [eddie], loicm, jeremycherfas and j12t joined the channel
#
@pvagner Likes and Reposts handled by the @WithKnown Bookmarks plugin (part 2): https://pvagner.tk/2018/likes-and-reposts-handled-by-the-withknown-bookmarks-plugin-part (twitter.com/_/status/956818083645149184)
z2xy and [miklb] joined the channel
#
jeremycherfas Any idea why this request ignores the content field: curl -X POST -H 'User-Agent: shpub' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Authorization: Bearer xxx' -d 'h=entry' -d 'bookmark-of=https://indieweb.org/bookmark' -d 'content=using a different label for description.' -d 'tags=#testtag' -d 'title=Description' 'https://stream.jeremycherfas.net/micropub/endpoint'

#
jeremycherfas That would be useful

[xavierroy] joined the channel
#
Zegnat See https://chat.indieweb.org/dev/2018-01-26#t1516979533807500 for discussion

[andrea_arbogast joined the channel
#
[andrea_arbogast Yes, see https://pvagner.tk/2018/likes-and-reposts-handled-by-the-withknown-bookmarks-plugin-part
seekr_ joined the channel
#
[andrea_arbogast Likes, reposts and bookmarks are broken from the Known UI, but work from micropub, except for the description issue
seekr_ joined the channel
#
[andrea_arbogast No, we are just figuring this out. I did some testing this morning and was able to get likes, reposts and bookmarks via Quill. If I use the Known interface, they all become bookmarks.
#
[andrea_arbogast But my descriptions did not come through from Quill to Known
#
[andrea_arbogast I can try that this weekend.
#
[andrea_arbogast I think the fact that it works via micropub at all will be a happy revelation for folks
#
[andrea_arbogast Appreciate any help you can give!
[jeremycherfas], [miklb] and [cleverdevil] joined the channel
#
pvagner Guys, that Bookmarks vs Reactions conflict is a night mare. In order to allow sharing via bookmarklet to the known site and generate Likes and Reactions I basically have to turn Likes, Bookmarks and Reposts into seperate entity subtypes. When doing that I think it's easier to discard Likes and Reposts from Bookmarks plugin and just use Reactions.
#
[cleverdevil] Has anyone opened an issue on GitHub about this?

#
[cleverdevil] Might be nice to get a consensus on the best path forward.

#
pvagner There are infact two issues. One is here: https://github.com/kylewm/KnownReactions/issues/17
#
pvagner And the second one is at https://github.com/idno/Known/issues/1753
#
[cleverdevil] Gotcha. Might be worthwhile to ping benwerd and @mapkyca on this, or send an email to the Known mailing list to see if a conversation could be sparked.

#
[cleverdevil] The right solution is to get it fixed within core, not an external plugin.

#
pvagner if you will look to those 2 articles I have posted on the subject, you will see I tried to move it all to what the core provides, but that is not sufficient and even if missing features will be implemented, it will become breaking. So perhaps Repost and Like handling should be removed from the built-in Bookmarks plugin. That might be easier than porting functionality from the Reactions plugin into Bookmarks plugin. And it
#
pvagner will introduce no breaking changes hopefully.
#
[cleverdevil] Known needs to support like-of, bookmark-of, et al in core itself.

#
[cleverdevil] Well, that's my personal opinion at least 🙂

#
pvagner Yes it should support these features by default i.e. they should be built-in.
#
pvagner But I am saying let's trash Likes and Reactions handling from the Bookmarks plugin and pack Reactions plugin into the core.
#
[cleverdevil] I could get behind that.

[jeremycherfas] joined the channel
#
[jeremycherfas] This is separate from the way that bookmark-of discards the content if you try to use Micropub

#
[jeremycherfas] And the Known API mangles description if you try to use that.

#
[cleverdevil] Some work would need to be done in the Micropub endpoint, but it needs some work anyway.

#
[cleverdevil] For a long time, I've wanted to see the Micropub endpoint to be refactored to enable the delegation of work to plugins.

#
[cleverdevil] But, I am only a half-decent PHP developer at this point.

#
pvagner [jeremycherfas]: Well, the core assumes body contains url the same way likeof, repostof or bokmark does. For title it assumes pageTitle like all the rest and it expect the description.
#
pvagner camb: btwI'm also chatting via Riot and a part of some matrix.org explained down times and issues with the load it works perfectly for me all the time.
#
[jeremycherfas] !tell pvagner Yes, but core accepts a description if I type it in by hand. It is only when using Micropub or the Known API that it refuses to use description.

#
[cleverdevil] They really *should* be handling that as much as possible.

#
[cleverdevil] Given that the plugins define the Entities, they should define the mapping of those Entities to microformats.

#
[cleverdevil] Sure, which is great, but very strongly limits the ability of new plugins to take advantage of Micropub.

#
[cleverdevil] My Watching plugin, for example, has no way to enable creating posts via Micropub.

#
[cleverdevil] With the Micropub plugin? Not that I know of.

#
[cleverdevil] Its a whole bunch of conditionals that hardcode the behavior.

#
Zegnat [cleverdevil], I *think* this is how you register a h-type to go to you from the Micropub plugin, the Text plugin handles the `entry` type: https://github.com/idno/Known/blob/0ebe9aae3ba9c016854c4aaafad1bc5843830791/IdnoPlugins/Text/ContentType.php#L11

#
[cleverdevil] Oh, interesting.

#
[cleverdevil] Still, that's a very very simple case.

#
[cleverdevil] And the creation of the entity still happens within the Micropub endpoint itself, I believe.

[miklb] joined the channel
tantek and [kevinmarks] joined the channel
#
[cleverdevil] Yeah, exactly.

#
pvagner Guys is there a way to get twitter feeds into woodwind? Or another similar reader?
#
@rMdes_ @pvagner @withknown Amazing post, always wanted to understand how this was happening.. Thanks for the explanation :) (twitter.com/_/status/956982941812391936)
[keithjgrant], tantek, [cleverdevil], [eddie] and [kevinmarks] joined the channel