#wordpress 2020-10-13
2020-10-13 UTC
[Will_Monroe] joined the channel
# [Will_Monroe] Hello everyone. Does anyone have experience with and an opinion about SNAP (Social Network Auto Poster)? I'm exploring options to POSSE from my WordPress site to Pinboard.in and maybe Diigo. I might also consider a PESOS from Pinboard.in or Diigo but I would not need SNAP for that.
# [Will_Monroe] GWG I was hoping you would provide some clarity! Thank you. I didn't see much in the #indieweb-wordpress channel nor elsewhere. And it had a surprising number of one-star reviews at Wordpress.com for what that's worth.
# [Will_Monroe] Both Pinboard https://pinboard.in/api/ and Diigo https://www.diigo.com/api_dev provide API documentation. But that is beyond me.
# [Will_Monroe] Yes! I have this problem too.
# [Will_Monroe] @GWG I'm still figuring this out but would a post to WP that carries the tags and description to Pinboard suffice to describe a workflow? I would think that the same could be said for Diigo. I probably need to think harder about that though.
# [Will_Monroe] I think for now going forward would be great. Just to see how it works.
# [Will_Monroe] I feel comfortable that Pinboard is a reasonably good steward of the data for the time being.
# [Will_Monroe] That's great. WordPress and Pinboard are probably my most often-used tools right now.
# [Will_Monroe] I see. Yeah, I can definitely see the value of importing Pinboard content. It's simplicity and speed has facilitated my frequent use (multiple times a day) for a long time.
# [Will_Monroe] Here's something I've wondered about though: Pinboard allows you to both add tags and add notes. But I've often seen the notes field attenuated when IFTTT gets involved. If I was posting a link in WP with notes, I would hope to retain those notes (up to some sane character limit) in Pinboard. Does that make sense?
# [Will_Monroe] @Ruxton, I appreciate that! I was thinking that might be the case when I saw all the services it supported.
# [Will_Monroe] @GWG thank you! I will keep an eye on that.
# [Will_Monroe] @GWG will do.
[fluffy] joined the channel
# Ruxton GWG: any reason this didn't just get merged in? https://github.com/dshanske/indieweb-post-kinds/pull/298/files pretty simple change I've been trying to get into mainline for a while
# Ruxton trying to stop this https://puu.sh/GCqhz/b162d8dde4.png
[chrisaldrich] joined the channel
jeremych_ joined the channel
[Rose] joined the channel
jeremych_ joined the channel
[Denver_Prophit] and [jgmac1106] joined the channel
[KevinMarks], [prtksxna] and jeremych_ joined the channel
nickodd, [capjamesg], [tw2113_Slack_], ren, dopplergange, [chrisaldrich] and Ruxton joined the channel
# [Will_Monroe] @GWG thank you! It sounds like I'll need to update by using the Github code, correct? I think I can do this using GitHub Updater in WP. I'll give it a shot and post on the issue thread you started 👍
[Will_Monroe] joined the channel
# [Will_Monroe] @GWG yes, I do. And I see that this is a temporary dependency so it's not a problem.
# [Will_Monroe] I don't plan to stop using Post Kinds so this is great. No problem.
# [Will_Monroe] @GWG thank you for taking the time!
[chrisbergr] joined the channel; nickodd left the channel
# [chrisbergr] Side note: I had my admin and login area masked to some unintentional url instead of wp-admin on my in development replacement for my current website. I've got about 50 failed login attempts per minute for the last 30 minutes... After deactivating this option from my security plugin, everything stopped. Nothing indieweb related but maybe interesting for you wordpress users.
# [chrisbergr] Hi David
# [chrisbergr] This does not hurt me 🙂 In my framework plugin, which I'm writing for my new site, I get the data for the output directly via get_post_meta.
# [chrisbergr] I've worked on something for your kind display earlier this day. I have to admit that it is really difficult to create something that can be integrated into all available themes to some extent.
# [chrisbergr] Here is a screenshot with best case data given: https://christian.hockenberger.us/docs/2020-10-13.png
# [chrisbergr] Let's discuss this 😉
# [Will_Monroe] @GWG I hate to ask a dumb question but is there another way to install the Syndication Links code? Maybe some kind of loading of the Pinboard-specific code?
[chrisaldrich] joined the channel
# [chrisaldrich] [chrisbergr]++ That's a great (and reasonably generic) reimagining for the reply context in Post Kinds plugin!
# [chrisaldrich] [Will_Monroe] I think Github should allow you to download a version of the particular branch with the Pinboard portion to test out.
# [chrisbergr] [Will_Monroe] I'm doing it that way: https://gist.github.com/chrisbergr/f4278f0b8361414cfeec5d1aebe2ecc9
# [chrisbergr] Oh, guess, I understood your question wrong...
# [chrisaldrich] [chrisbergr] did you handle the if/then case of a Post Kind not having an author image still displaying the author name and link? I think that may currently be missing from the Post Kinds template set up at the moment.
# [chrisbergr] [chrisaldrich] yes, with my custom implementation I have a build_author_vcard function with multiple args that does this for me.
# [chrisbergr] In the case of default kinds view I discussed with David yesterday about if the template should have the logic or some other function.
# [chrisbergr] I guess aI guess that has not yet been finally decided.
# [chrisbergr] But I hope this will be implemented soon
# [chrisaldrich] One of the other things I've wanted in some of the templates was easy display of start/stop times or duration, so that (for example) Watch and Read posts might be able to display the timeframe that I was watching or reading an item.
# [chrisaldrich] I think that GWG has code for more robust parsing of sources like IMDb which would give running times for movies so that if I post when finished I might be able to display the running time (or otherwise calculate or display the time period in which I watched something), though that may be moving much further afield than some of the basics you're attempting to display.
# [Will_Monroe] [chrisaldrich] [chrisbergr] thank you both. i'll try both approaches.
# [chrisbergr] Changelog for 3.4.6 says "Add duration display for media files"
# [chrisaldrich] [Will_Monroe] I'd try something right now, but I need to go through the exercise of setting up a Pinboard account (and pulling up an API key too, I think).
# [chrisbergr] You're talking about duration without havig a media file, right?
# [chrisaldrich] I suspect that changelog is for audio and video files to display their running time. (So for posting podcast episodes I think).
# [chrisaldrich] I'm talking about non-media posts about passively reading, watching, or maybe listening to things to show how long I was doing a particular activity.
# [chrisbergr] Ok, I see... Yes, that would definitely make sense
# [chrisaldrich] Something along the lines of indicating: "I read this many pages of this book for X hours and Y minutes...."
# [chrisaldrich] It's amazing how so many reply contexts can use roughly the same format for display....
# [chrisaldrich] I particularly like how you've boxed off and slightly changed the color of the reply context to better differentiate it from the reply that the site owner would potentially supply.
# [chrisbergr] Thank you 🙂 The only problem I see right now: Twitter embeds
# [chrisbergr] Problem in case of: Would look ugly.
# [chrisaldrich] To use the Twitter javascript or not? That is the question. Whether 'tis nobler in the mind....
# [chrisaldrich] another thing to be careful of in the Twitter case is that I've always had problems with Post Kinds saving the appropriate meta data if a parsed tweet (or any other post really) has an emoji in it... WordPress doesn't seem to like it and filters out/doesn't save any of the Post Kinds data for the post.
# [chrisbergr] Yes. David is doing it like that: https://david.shanske.com/2018/08/18/2048/
# [chrisbergr] If it's possible I would prefer that post kinds grabs the post date, author, content and saves it similar to all other replies.
# Loqi [David Shanske] People continued working on it. Everything you need using W3C standards like Webmention, Microformats2…give it a try? https://IndieWeb.org/WordPress/Plugins
# [chrisaldrich] I do that same thing in some cases primarily because Post Kinds has had variable parsing of Tweets.
# [chrisaldrich] I think David has fixed the code in Parse This so it better parses tweets now, so I'd probably switch over to posting the raw text like all other cases rather than using Twitter's presentation.
# [chrisaldrich] I may be mistaken, but I think both David and I may be overwriting a KSES check to be able to do displays like that. I'm not sure if others are doing that???
# [chrisbergr] Okay, just tried it on a local test page. I don't get any data other than 'Site Name/Publication/Album'
# [chrisaldrich] [chrisbergr] you may need to be running a stand-alone version of Parse This to get the new Twitter parsing: https://github.com/dshanske/parse-this
# [chrisaldrich] I'm not sure if he's moved it into Post Kinds directly.
# [chrisbergr] Oh yes, tried again and I've received a lot more information. Unfortunately not the summary and author photo. But I have tags, date, author name, author url. That is much better 🙂
# [chrisaldrich] sometimes the older versions of parse this would put the author photo in the featured photo field (if and only if the tweet didn't have a photo(s) attached)
# [chrisaldrich] I haven't played with it since he made the recent updates, so I'm not sure what it may do now.
# [chrisaldrich] though I'll also say that in practice since most change their avatars often enough, the links to twitter avatars break regularly too...
# [chrisbergr] Maybe this should be a feature of Post Kinds? And also a feature of semantic linkbaks?
# [chrisbergr] In the future, my build_author_vcard function will store every external avatar, so this will be covered (for me). The intention is to avoid gravatar (because of eu cookie consens), the case of missing twitter avatars is a good side result.
# GWG [chrisbergr]: Re storing avatars.. https://github.com/pfefferle/wordpress-webmention/pull/297
# [chrisbergr] I agree with you, it should be a storage, not a cache
[Will_Monroe] joined the channel
# [Will_Monroe] @GWG just following up, did you upload the Pinboard-specific changes to GitHub? I'm not exactly sure I know what I'm looking for but I wasn't able to find the changes yet.
justache and [tw2113_Slack_] joined the channel