#wordpress 2018-07-18
2018-07-18 UTC
[matpacker] joined the channel
# [matpacker] I'm with [Vanessa] here, I'm getting the 401 errors when trying to post to my WP install from Quill, Together, OwnYourGram, etc.
# [matpacker] IndieAuth is working OK, I'm able to authenticate and login on Aperture and Together, however, it all fails after that.
# [matpacker] Also just discovered that there's no media endpoint as part of the plugin, any suggestions for a workaround here?
[kevinmarks] joined the channel
# [matpacker] [dougbeal] ahh, just had a thought, I have Jetpack installed and active and I think it's set to use WordPress hosting for images. I wonder if that's causing an issue also.
[manton] joined the channel
[chrisaldrich] joined the channel
# [chrisaldrich] snarfed++
# [chrisaldrich] GWG++
[eddie] joined the channel
[jgmac1106] joined the channel
[miklb] joined the channel
jgmac1106 and [matpacker] joined the channel
# [matpacker] Any suggestions on getting past the “403 Forbidden” error when trying to post to WP from Quill, OwnYourGram, etc. ?
# [matpacker] Just thinking out aloud, wondering it the WP prevent brute force attack thing is interfering, i.e. should I whitelist the IP addresses of the various sites trying to post?
# [matpacker] [miklb] yes, just did the standard setup using the indie web plugin
# [matpacker] Haha yeh, probably a good idea [miklb]
jgmac1106 joined the channel
tantek joined the channel
jgmac1106 and [chrisaldrich] joined the channel
[miklb] joined the channel
[chrisaldrich] joined the channel
# [chrisaldrich] Who was it the other day who was having issues with the Admin UI disappearing except for part of the post kinds response properties? I went to edit an old post and am having the same general issue. I can't remember how they side-stepped it.
# [chrisaldrich] Looks like the answer is to clear out the URL from the response properties... somehow that saves/updates the page which then redisplays properly... very odd...
# [chrisaldrich] Post was from 10/2017, not sure which version of Post kinds it was or what the issue may have been, but seems to have sorted itself, at least for this particular post.
[xavierroy] joined the channel
# [xavierroy] [chrisaldrich] Have you had an issue with the response properties cleared but still the data is present in the db?
# [chrisaldrich] Not that I'm aware of.... I was going to look in the db on this one, but tried clearing out the URL first.
# [chrisaldrich] I'd have to see if I could find another one with this same issue to see what actually exists in the db
# [xavierroy] i have had issues where all properties are cleared, yet data from that is searchable
# [xavierroy] I've been adding machine tags to my books and movie posts
# [chrisaldrich] That's odd. In this case I was befuddled that the post in question seemed to auto-save itself when I'd cleared the data. At least the display of the rest of the UI came back and I was able to restore the missing data.
# [xavierroy] when i opened up an old post to check, the data inthe response properties are missing, but searching for it shows up in search results
# [chrisaldrich] I've seen that issue before [xavierroy]. When I checked it was because the mf2 value for the post (I think it was reads) changed from `read` to `read-of` so when the post went to display it wasn't find the right version and couldn't find the proper data. When I manually updated the meta key, it was able to find the data for the response properties and everything was fine.
ben_thatmustbeme, Kaja____, dougbeal, [xavierroy], [matpacker], gRegorLove, deltab, dougbeal|imac, GWG, Zegnat, aaronpk, petermolnar, sknebel, [chrisaldrich], drkokandy, Ruxton, wagle, voxpelli, jeremycherfas, globbot and chrisaldrich joined the channel
# [chrisaldrich] [matpacker] It's not an endpoint per se, but GWG built the simple location plugin that knows where micropub clients store geo data and allows you to retrieve and display it smartly. (You'll need an API key from one of the map providers to get it working). https://wordpress.org/plugins/simple-location/
# [chrisaldrich] sknebel, good point, that's another issue altogether... two different types of location.
# [chrisaldrich] I'll also mention that there's a discrepancy between Slack and the web version of chat. I'm not seeing Mathew's note in the web version, while it shows up in Slack and apparently in IRC.
# [chrisaldrich] His message above at 10:14 "Interesting, was able..." It's not showing up on https://chat.indieweb.org/wordpress/2018-07-18#bottom
# [chrisaldrich] alright... it's way too late here... got to go to bed to be able to function tomorrow... goodnight all.
[jgmac1106], [davross] and [tantek] joined the channel
# [jgmac1106] Morning @gwg
# [jgmac1106] Nothing but coffee for a change. Had kids out at All Star game went into extra innings. They didn't get back until late
# [jgmac1106] When is Manilla?
# [jgmac1106] Just curious.
# [jgmac1106] Cool. That is a bear of a project. My goal next week is to finish the WordPress for Beginners guide
# [jgmac1106] Have to have it done by 7/23 to give my students a "Week Zero" for those who want an extra week of set up time
# [jgmac1106] I think we should take [miklb] advice and label and/or close post kind plugin issues
# [jgmac1106] That doesn't really touch indieweb core and has good "first bugs" in it
# [jgmac1106] I also need to finish my IES #IndieWeb proposal by end of month. That is a 1.4 million dollar grant
# [jgmac1106] So basically more WordPress community than code for me next few weeka
[xavierroy] joined the channel
# [xavierroy] hi all
# [xavierroy] [dshanske] any idea how to display the tag field values in views template?
jgmac1106 joined the channel
# [xavierroy] [dougbeal] Not that. I also have that. I meant the tags withing the post kind response box
[jgmac1106] joined the channel
# [xavierroy] [dougbeal] you can add tags when creating a post.. I want to know how to display them.
# [xavierroy] https://files.slack.com/files-pri/T03QR2B2T-FBSQMJVFF/image.png?pub_secret=de0922de90&name=image.png [dougbeal] No. I'm using the 2106 indieweb one. I just want to display any tags that i enter in the tags field
joeld joined the channel
# [xavierroy] no. they don't. They never show up anywhere.
# [jgmac1106] use the hastag box further down
# [xavierroy] Any plugin that searches metadata will surface those tags..
# [jgmac1106] ohh didn't know, I thought it was the whole WP, whats a category? whats a tag? they are the different but the same debate
# [jgmac1106] https://files.slack.com/files-pri/T03QR2B2T-FBSLTN5R8/screen_shot_2018-07-18_at_9.29.53_am.png?pub_secret=6ba512164a&name=Screen Shot 2018-07-18 at 9.29.53 AM.png
# [jgmac1106] that is what I see
# [xavierroy] which plugin is for hashtags?
# [xavierroy] I think that Hashtags is by a separate plugin
# [xavierroy] i use a plugin called hashtagger to convert any hashtags in the post content to WP tags. Useful in PESOS posts
# [jgmac1106] realizes using wordpress as a tag was a stupid idea when trying to investigate it tags worked
# dougbeal tags work, here is a note https://dougbeal.com/2018/07/17/1949/
# [xavierroy] did you use the tags in the response properties?
# [jgmac1106] no, the publication sidebar. tested categories work but tags do not for me. Let me test...don't even have the option
# [jgmac1106] but I think I am a version or two behind master, need to update theme...but that means manually updating theme
# [jgmac1106] scatch that I do have it
# [xavierroy] the tags in the response box has been there for a long time
# [jgmac1106] yes I am using it
# [xavierroy] yes. I would like to display them also..if possible
# [xavierroy] for example, if you repost from huffduffer, the tags for that are populated in the tags box in the response properties
# [jgmac1106] my categories work
# [jgmac1106] and tags work on articles I think: http://jgregorymcverry.com/tag/indieweb/
# [xavierroy] yeah. that's what i want to do
[kim_landwehr] joined the channel
# [xavierroy] This post has these tags : podcast:type=book reading; book:author=k.j. parker; short story; read:by=heath miller; recording:by=beneath ceaseless skies; fantasy
# [xavierroy] They are not displayed but they can be searched for.. try a search for podcast:type=book reading on my site
# [jgmac1106] the tags are there in Db actually: https://jgregorymcverry.com/tag/wordpress
# [xavierroy] display them
# [jgmac1106] that would display them, has to be a plugin so you don't have to edit the theme
# [xavierroy] [jgmac1106] Will this display the tags entered in the response properties?
# [jgmac1106] yes
# [jgmac1106] just trying to find where it goes in theme, just gimme sec, but again probably a plugin that does this
# [jgmac1106] [dougbeal] should be in the theme not the plug in
# [xavierroy] the_tags() wil display only the tag associated with the tag... I am not looking for that. I want to display any tags that are entered in the tags field withing hte resposne properties section
# [jgmac1106] ..oooh okay this? If you're using your own custom Post Types the_tags() and related functions will not work. You must use the_terms() and its related functions.
# [xavierroy] got it to work
# [xavierroy] but only one tag is displayed.. 🙂
# [xavierroy] just added the emoji to the tag name manually
# [xavierroy] manual till it hurts.. .i believe is the indieweb motto 😛
[manton] joined the channel
# [jgmac1106] tags', ', ',
# [jgmac1106] Would display three I think separated by commas if you added it. Gonna copy what you do.
[dougbeal] and [chrisaldrich] joined the channel
# [chrisaldrich] [xavierroy] I think the 2016 fork removes the Categories from display altogether: https://github.com/dshanske/twentysixteen-indieweb/commit/36689b72fbb4e70db3c4dd0fd6f7aef6d2edac69
# [chrisaldrich] It would be interesting to have a template/view that displays the tags contained within the Post Kinds' Response Properties tag field. These are the tags given to the original post and might be different from the tags your own site might give to a post.
# [chrisaldrich] It would be nice to be able to search and find posts using both the internal WP core tags as well as by the Post Kinds tags. They are two different data stores, typically made by two different sites.
# [jgmac1106] [chrisaldrich] you were still up when I wake up. Go back to bed
# [jgmac1106] I think [xavierroy] figured out how to display tags
# [chrisaldrich] It's 8am here... time to work.
# [chrisaldrich] It sounded like he's got several areas of "tags" he wanted to display though. He's got (1) the core WordPress taxonomy (not to mention the core category taxonomy);
# [dougbeal] i get fewer rel-me icons on mobile 🤔
# [chrisaldrich] (2) the tags stored by the Post Kinds plugin, which picks up the tags set on a post by a separate author on another site as part of the reply context;
# [chrisaldrich] and (3) an additional store somewhere that allowed him to search for something like `reading; book:author=k.j. parker;` which he set via machine tags somehow: https://xavierroy.com/search/
# [chrisaldrich] None of the views provided actually displays the tags from within the Post Kinds response properties tag field. https://github.com/dshanske/indieweb-post-kinds/tree/master/views
# [jgmac1106] And core documentation said if you use custom taxonomies the tag display code does not work
# [jgmac1106] But I think [xavierroy] has it and just needs to have it display multiple tags
# [dougbeal] get_the_tag_list looks promising
# [dougbeal] Oh, no, need cite tags
[kevinmarks], [kim_landwehr] and [xavierroy] joined the channel
# [xavierroy] At dinner now... Will share the gist soon...
tantek__ joined the channel
# [xavierroy] if ( isset( $_POST['cite_tags'] ) ) {
# [xavierroy] }
# [xavierroy] $cite['category'] = array_filter( explode( ';', $_POST['cite_tags'] ) );
# [xavierroy] echo '<p><small>This post has the following machine tags: <br />';
# [xavierroy] echo sprintf ( '<span class="machinetags">%1s</span></small></p>', implode (";",$cite['category']) );
# [xavierroy] }
# [jgmac1106] And I think if you had x number of ', after cite_tags I think you get X number of tags to display
# [jgmac1106] Thx for gist, adding as soon as I get home
# [xavierroy] i added this to the listen view template.
# [xavierroy] since this is not tied to the WP tags, I am not creating links to the tags.
# [xavierroy] Another improvement would be to not add the tags if there are no tags associated with the post.
# [xavierroy] and also style it 🙂
# [xavierroy] [dshanske] https://github.com/colin-walker/hashtags ?
# [xavierroy] added my snippet there for reference and improvement
[cleverdevil] joined the channel
tantek, [manton], [ryan339], [chrisaldrich], [jgmac1106] and [colinwalker] joined the channel
# [colinwalker] [xavierroy] Ha. I’d forgotten I had added a separate function for changing the actual post content. I only use the one for display time conversion. Thanks for reminding me 😉
# [jgmac1106] Chrisaldrich++
# [jgmac1106] Nice response to link manager
[chrisaldrich] joined the channel
# [chrisaldrich] I wonder how he came across my usage?
# [jgmac1106] I spoke to @rboren a lot yesterday (mainly about using his I am autistic post on class). It was just a Twitter search set up for WordPress
# [jgmac1106] I did notice @photomatt never replied about IndieWeb on WordPress.com
# [jgmac1106] ... That would be ultimate in free IndieWeb hosting
[cleverdevil], [eddie] and tantek__ joined the channel
# @fncll Why does the #indieweb validator keep giving me this error "A h-card was found on your site, but it’s not marked up as the representative h-card!" for https://fncll.org/ ? I have the u-url class (not to mention u-email and p-note markup) there. (twitter.com/_/status/1019688512180719616)
# gRegorLove Are there WP-specific recommendations for making this pass?
# gRegorLove Issue seems to come with WP linking to the author profile URL
# gRegorLove Maybe we can add SemPress instructions to /representative_h-card#How_To_Publish_With_WordPress
[chrisaldrich] and chrisaldrich joined the channel
# gRegorLove indiewebify.me is finding the `p-author h-card`
# gRegorLove ahh, gotcha
[ryan339] and [cleverdevil] joined the channel
# gRegorLove Markup not escaped in that post
[matpacker] joined the channel
# [matpacker] Can anyone advise how to remove the Location plugin and how to remove any references to it in the database? I'm wanting to install it fresh and clean to see if that's what's stopping some things posting to my site, i.e. I can post to my blog via teacup.p3k.io but not via quill.p3k.io, from Quill I get the "Your endpoint did not return a Location header." message.
# Loqi It looks like we don't have a page for "location header" yet. Would you like to create it? (Or just say "location header is ____", a sentence describing the term)
# gRegorLove WP stripped the HTML markup, looks like.
[Chris_Lott] joined the channel
# [Chris_Lott] Indeed I did. Since fixed and thanks. If it's still true that sempress is "the only theme to support microformats, microformats2 and schema.org" - perhaps some specific instructions for it would be useful?
tantek joined the channel
# [matpacker] [dougbeal] makes sense, when I create the post on Quill it can't load the location, despite me giving the permission to use my location.
# gRegorLove Hi [Chris_Lott]. Did you try the h-card widget? https://indieweb.org/Getting_Started_on_WordPress#Identity_2
# [matpacker] Teacup doesn't try to add a location, whereas Quill, OwnYourGram, etc. do.
# gRegorLove Different "location". The error message means it expected your server to return an HTTP header like "Location: http://example.com/post"
# gRegorLove Where the newly-created post is
# [matpacker] [dougbeal] yes
# [Chris_Lott] I didn't. I will try it. It was unclear to me if, given that my theme is microformat ready/etc if I still needed the IndieWeb plugin or not. I think I have it disabled at the moment. Still trying to get my head around all of this!
# dougbeal I found this - https://github.com/aaronpk/Quill/issues/57
# [matpacker] [dougbeal] have tried both, same response
# gRegorLove [Chris_Lott], Understandable; it is a bit confusing and we're always iterating. Feel free to ask questions. AFAIK, IndieWeb Plugin is still recommended and includes the h-card widget.
# gRegorLove I think that h-card widget is the easiest way to add a representative h-card to any theme.
# [chrisaldrich] What is WordPress Troubleshooting?
# Loqi WordPress Troubleshooting is a list of things one can try when asking for help from the WordPress Outreach Club https://indieweb.org/WordPress_Troubleshooting
# [chrisaldrich] [matpacker] ^^ that has some details for debugging if you should need them.
# [matpacker] [chrisaldrich] thanks for that, will work through it
# [chrisaldrich] [matpacker] if it doesn't have everything you need, ping the chat for help; then we should improve the documentation if necessary.
# [matpacker] I'll write up some notes as things progress and report back.
bradenslen joined the channel