#wordpress 2018-08-08

2018-08-08 UTC
jgmac1106 joined the channel
#
[matpacker]
I might just have to give it a try with postKinds. Not sure how I can workaround the Response Properties part though, will check to see how the workflow might handle the meta fields.
#
GWG
What are you trying to accomplish?
wagle joined the channel
#
[matpacker]
I want to be able to post from mobile, without the WordPress app, and not have to then go to my site on my laptop and edit the post to add response properties, post kind, all the IndieWeb stuff that's not supported in the WP apps.
#
GWG
What mobile OS?
#
[matpacker]
iOS
#
[matpacker]
I'm thinking I'm going to have to do it through Drafts.app and possibly Workflow / ShortCuts
#
GWG
What about Indigenous plus Micropub?
jackmcbarn14 joined the channel
#
[matpacker]
Indigenous doesn't seem to handle postKinds or Response Properties.
#
aaronpk
that's odd. that would be a problem with the Micropub plugin.
#
[matpacker]
Indigenous lets me post to my site, however, I don't get the option of selecting postKind, postCategory, and the Response Properties only works if it's a repost of a feed item.
#
GWG
Of course it does
#
aaronpk
the "kind" should be set automatically right?
[eddie] joined the channel
#
[eddie]
Is postCategory different than Micropub Category?
#
GWG
aaronpk, Post Kinds listens in on the Micropub submission and sets the kind
#
aaronpk
micropub category maps more closely with wordpress tags
#
GWG
Micropub the plugin maps Micropub categories to categories if the name matches, otherwise to tags
#
GWG
Basically Micropub concepts are mapped to WordPress concepts
#
[matpacker]
aaronpk: is there a way to import an OMPL feed to Aperture?
#
aaronpk
not yet, but i've been thinking about doing that
#
GWG
So, if Indigenous doesn't support an implied post type a kind won't be set
#
aaronpk
although wait i think someone made a command line tool for it
#
[matpacker]
is there any backdoor way you could load one in?
#
aaronpk
not the easiest thing to use but it's doable
#
Loqi
[Peter Stuifzand] Adding feeds from an OPML file to a Microsub server with xmlstarlet and Ekster (ek) xmlstarlet sel -t -v "//outline/@xmlUrl" hotlist.opml | xargs -n 1 ek follow mtjTXQELiT60Wtm5ArVcLo5G The first part parses the xmlUrls from the OPML file. This w...
APLU6 joined the channel
#
[matpacker]
Yeh, not sure I can manage that one. Might be easier to cut all the code out of my OPML and just copy / paste in the addresses. Probably better to do it that way and I can categorise subs better and get rid of old stuff I no longer want to see.
#
aaronpk
yeah i think that's better anyway
#
aaronpk
at least until there's a way to move feeds from one channel to another in aperture
Nietzsche0 joined the channel
#
[matpacker]
Cool
jgmac1106, wagle and Stryyker5 joined the channel
#
[eddie]
[matpacker] what types of PostKinds were you trying to create that you couldn’t create in Indigenous?
#
[matpacker]
[eddie]
#
[matpacker]
If I create a post from scratch, i.e. not a repost, there's no options to add anything more than a photo, tags, and the bridgy sharing.
#
[matpacker]
Ideally, I'd like to select postKind there, along with the Category
#
aaronpk
what post kind are you trying to create?
#
[eddie]
Hmmm I guess the part I’m confused about, is PostKinds should be automatically generated based on the types of attributes sent in the request.
#
[eddie]
Lol yep, what aaronpk asked
#
[matpacker]
If I post using the editor up in the top right?
#
GWG
[matpacker]: Correct, based on attributes
#
aaronpk
Yes, Any post created via Micropub
#
GWG
Something I suppose I should do in the Post Editor
#
[matpacker]
GWG: what do you mean by attributes?
#
aaronpk
Basically you shouldn't have to think about post kinda
#
GWG
Excuse me, that was [eddie]
#
aaronpk
it should just work
#
aaronpk
what post kind are you trying to set it to that it looks like it's not working?
#
[eddie]
[matpacker] I mean like “a photo, a tag, listen, watch, etc”
#
[matpacker]
[eddie] curious, how do a post a "watch" for arguments sake?
#
aaronpk
You cant from indigenous, which is why there isn’t a way to set the post kind
#
aaronpk
which type are you trying to set it to?
#
[matpacker]
aaronpk: a "watch"
#
GWG
If someone wrote a client that supported watch, it would work
#
[eddie]
[matpacker] to post a watch, you would probably have to enter the url of what you watched, or do it from safari using the Share Sheet
#
[eddie]
I have plans to support that in the future
#
[matpacker]
So like an IMDB link [eddie]
#
[eddie]
Yeah, something like that could work
#
[eddie]
I have been creating custom watch posts on my site while brainstorming that kind of stuff
#
[matpacker]
Cool, seems like we're on the same page [eddie]
#
GWG
I have to wait for swentel
#
[eddie]
👍 [matpacker] awesome. Let me know as you come across other things you’d like to see in Indigenous
#
[matpacker]
I'll put together a list for you [eddie], I've got a couple of suggestions
#
[matpacker]
[eddie] where's the setting to allow Indigenous access to my photos.app ?
#
[eddie]
Right now it only supports photos if your website has a media endpoint. If it does, you should see a photo icon in the bottom left corner of the “new post” window
#
[eddie]
Awesome, I look forward to the list 😁
#
GWG
WordPress will soon have one
#
GWG
Why not Form Encoded, [eddie]?
jgmac1106 joined the channel
#
[eddie]
@GWG: Photos have to be multipart, which is more complicated. I would like to add that, but media endpoint was a quick win
#
GWG
[eddie]: The development version of the WordPress plugin now has one.
#
GWG
I'm working to get it to the point I'm happy with it
#
GWG
But I'm also dealing with real life.
#
GWG
Something you know a bit about.
#
GWG
Congratulations, by the way
#
GWG
I'm glad that car repair worked out
#
[matpacker]
oh yeah, just saw the news, congrats [eddie]
nukedclx4, Guest63164, Humvee2, tantek__, Ragnor22, sushichef, raktajino22, nOgAnOo, Madbrad2005, dh12820, kaniini_, ugjka0, [pfefferle], Erynnn15, averell28, FuzzySockets, RustyJ6, jeremych_, noonehere4u, [kevinmarks], exponent0, Soni8, jgmac1106, MissionCritical, GuntherDW15, Michail1, nkuttler21 and Guest3871 joined the channel
#
jgmac1106
looks like [dougbeal] experimenting: https://dougbeal.com/
[eddie] joined the channel
#
[eddie]
Yeah, Real Life is great at interfering, GWG 😉 Don’t feel too much pressure. None of this stuff is too urgent. Thanks GWG and [matpacker]!
#
MarcoZDe
Hi all! Still here. :) I have been running with my WP sites having the IndieWeb stuff integrated for a bit now, and so far, Twitter mentions of blog posts etc. work very well.
#
GWG
Glad to hear
#
MarcoZDe
One thing that I don't yet see a good solution to is, if I get a reply from someone on Twitter, then reply to that comment, that reply obviously doesn't feed back to Twitter. So if the person doesn't have my comments subscribed via RSS, they won't see that answer.
#
MarcoZDe
Due to all that mess that Twitter is becoming more and more, I also again created two language specific accounts on micro.blog. Will have to decide how to wire everything together, so I can post statuses and have them fed back and forth. I am not particularly happy with the status implementation in WordPress, especially since they aren't really discoverable with a screen reader inbetween regular posts. Screen
#
MarcoZDe
Reader users like to navigate by headings, which statuses obviously don't have.
#
GWG
You can. Just set your post as a reply post and POSSE to Twitter using Bridgy
#
MarcoZDe
Anyway, tinkering along and wanting to un-silo myself from Twitter. And oh where Mastodon fits into all this, I have not yet figured out, either.
#
GWG
Neither have I
#
MarcoZDe
GWG: OK, here's my current work flow. I get an e-mail telling me that there's a new comment awaiting moderation. That may be a reply from Twitter, asking me something. i approve it as a comment on my site, and then there's this Reply button to instantly reply to the comment.
#
MarcoZDe
If I do that, the comment gets posted below the original comment, even indented, so there is direct correllation. But you're suggesting I do that differently?
#
GWG
Oh.... that's an interesting idea
Hoolootwo joined the channel
#
GWG
Right now, you have to make a reply post
#
MarcoZDe
GWG: It's the obvious workflow from the comment moderation screen, where the comments then appear.
#
GWG
Yes, but the reply button in WordPress is a built-in function to reply to local comments. It doesn't trigger a reply. But I am going to see if it could
#
MarcoZDe
GWG: So you're saying I would have to do a Reply post, a *new* post, from the Add New Post screen, set it as a reply type, fill in a permalink. The question then is which one? The permalink to the comment I am replying to, or the permalink of the tweet?
#
GWG
The tweet
#
GWG
I just made a note to see if I can have the system do that automatically
#
jgmac1106
that would be a really neat feature
#
MarcoZDe
GWG: Very cool! Because for someone not as tech-savvy, the next question that comes up is, if it's the tweet's permalink, does the reply post have to include the @UserName at the beginning, or will that be filled in automatically when marked as a reply?
#
MarcoZDe
GWG: Would be asesome if this comment Replying thing could be enhanced so one could indeed reply via one's own comment, keep it visually and logically in the comment thread on the same post, and still get it crossposted to Twitter somehow. Because the other problem with the "post as a reply" approach is that this reply won't be connected to the original comment for my blog readers. They'd have to jump back and
#
GWG
I think it should be possible
#
GWG
The problem is that comments don't have permalinks per say
#
GWG
It would be best to have the button trigger the post editor with values filled in
#
GWG
Or easiest
#
GWG
But I will experiment
jgmac1106 joined the channel
#
MarcoZDe
GWG: Hm, each comment has an anchor tag somewhere, that points directly to the spot on the post page where the comment is. So it's the post permalink with a # plus an anchor name added. If you right-click the time stamp of a comment and copy the link, you'll see it.
Kamilion11, Madcotto23 and jgmac1106 joined the channel
#
GWG
I know, but fragments are difficult
#
sknebel
GWG: didn't you have some trick-urls redirecting to the fragment for sending webmentions from commentS?
#
GWG
Yes, but I tabled the project
#
sknebel
isn't that in the plugin already?
#
sknebel
I mean the ?replytocom=<id> urls
#
dougbeal
jgmac1106: nah, just something borked in the theme, haven't made progress tracking it down yet
#
GWG
Yes, but those are fragile.
tantek__ and wagle_ joined the channel
#
sknebel
ah, ok
#
sknebel
and replicating functions for top-level posts for those would also be kind of weird, true
#
GWG
I think I can do it
#
dougbeal
Does the rss comment feed contain links?
#
dougbeal
Just w/anchors
Kilo`byte, jackjamieson, wagle, ben_zen24, cncr04s6, TheoM and jeremych_ joined the channel
#
dougbeal
Could you just give comments a mf2 permalink? So no display is really needed?
Guest67874, talisein and [jgmac1106] joined the channel
#
GWG
dougbeal, I wrote a comment permalink function
jackjamieson joined the channel
#
[jgmac1106]
@marcoZDE yeah I can keep my twitter replies and webmentions threaded well...I just have to always reply to the tweet permalink using bridgy
#
[jgmac1106]
and in terms of Mastodon the plugin I am using is great but [pfefferle] also helped me add ostatus so my website itself is its own fediverse instance
#
dougbeal
GWG: the media endpoint is failing micropub.rocks somehow, though it looks like its there
#
dougbeal
Woo, just used Quill to upload an image via media endpoint
#
dougbeal
Oh, no, its base64 encoded?!?!
#
aaronpk
file uploads can be base64 encoded but the server should handle decoding that transparently
#
dougbeal
aaronpk: and safari is crashing :( The image seems to be inline base64 encoded in the post?
#
aaronpk
is this in the blog post editor in quill?
#
dougbeal
The Rich editor?
#
dougbeal
the Note one doesn't support images?s
#
aaronpk
the note one has a separate photo upload button
#
aaronpk
the editor supports images two different ways
#
aaronpk
if there's a media endpoint it tries to upload it, and if it succeeds, it includes just the URL in the post HTML
#
aaronpk
if that fails or if there is no media endpoint, then it inlines the image into the HTML using a data: URI
#
aaronpk
which ends up as a base64 encoded blob in an <img> tag
#
dougbeal
ah, so the media end point failed
#
dougbeal
aaronpk: the media endpoint looks likes its there, https://gist.github.com/dougbeal/8bdac6f550047ec31d3b487463d6a30c but I get an error in micropub.rocks
#
aaronpk
huh that's strange
#
dougbeal
aaronpk: would the Note editor inline an image as well?
#
aaronpk
no because there's nowhere to inline it
#
aaronpk
the note interface will send a multipart request if there is no media endpoint
[kevinmarks] joined the channel
#
aaronpk
ahh the charset in the content type is throwing off micropub.rocks
#
Loqi
[kernox] Mastodon-Share-for-WordPress: Wordpress plugin for Mastodon
#
aaronpk
wait no i'm wrong it should be handling that
[iambismark] joined the channel
#
aaronpk
ah found it, it's a bug with the new regex
#
aaronpk
dougbeal: try again
#
dougbeal
aaronpk: :thumbs-up:
#
dougbeal
aaronpk: that gif is choice
[pfefferle] joined the channel
#
[pfefferle]
What is the problem with „webmentions for comments“?
#
Loqi
It looks like we don't have a page for "problem with „webmentions for comments“" yet. Would you like to create it? (Or just say "problem with „webmentions for comments“ is ____", a sentence describing the term)
#
dougbeal
pfefferle: native comments not having their own pages
#
dougbeal
WP almost passes micropub.rocks, but img alt is blank...
#
[pfefferle]
They have in the Webmention plugin
#
[pfefferle]
And it works perfect for me
#
[pfefferle]
The Webmention plugin supports threaded comment webmentions
#
dougbeal
And now that I think about it, when I reply to my own post (as a seperate post), the comment post will start getting replies from bridgy, because it has the original post as a syndication link
tantek and [jgmac1106] joined the channel
#
GWG
pfefferle, would that work for native replies to backfed comments?
[pfefferle] joined the channel
#
[pfefferle]
You mean brid.gy for example?
#
GWG
Correct
#
GWG
That may require some work
#
[pfefferle]
Yes, should work
#
GWG
I will check
#
GWG
I think I may have to make sure a webmention goes back to Bridgy
[iambismark], [kevinmarks], percY-17, SuperSeriousCat1, batman42, c0ded, Nevolution219, Sanders, nickoe26, [cleverdevil] and [jgmac1106] joined the channel
#
[jgmac1106]
[dougbeal] I have to manually send myself webmentions and I do get two one from Bridgy and me if I send it out on Twitter
globbot, [kevinmarks] and dougbeal|mb1 joined the channel