#wordpress 2018-08-03

2018-08-03 UTC
#
GWG
Yes
#
GWG
Welcome to my world
#
GWG
I had to learn all this as the documentation stinks
#
GWG
I should write something
#
aaronpk
oh boy, what does this mean "Call to undefined function wp_get_current_user()"
#
GWG
Where are you calling it?
#
aaronpk
from my activated() hook
#
aaronpk
er, the hook in register_activation_hook
#
[matpacker]
dougbeal: apache server, 2gb ram, 60gb ssd storage...
#
aaronpk
I think?
#
GWG
Might not have loaded it yet
#
aaronpk
do I have control over that somehow?
#
GWG
Not sure, never tried to get a user that early
#
GWG
Can't imagine new issue
#
aaronpk
I didn't think I was trying to get the user
#
aaronpk
the stacktrace says it's being called in wp-includes/capabilities.php on line 598
#
aaronpk
which is like, so not my problem
#
dougbeal
matpacker: you could install Query Monitor, and it will tell you how long the page took to render
#
aaronpk
wow now my whole wordpress is crashed
#
GWG
What are you trying to do?
#
aaronpk
I can't even load the dashboard
#
aaronpk
okay it's something in my register_rest_route
#
aaronpk
can I not do that from the plugin constructor?
#
aaronpk
copies more from the indieauth plugin
#
aaronpk
add_action( 'rest_api_init', array( $this, 'register_routes' ) );
#
GWG
I hope I did it right
#
dougbeal
matpacker: my linode instance has similar stats, takes .1 to .5s depending on how many dashboard pages I go through
#
dougbeal
matpacker: I'm running nginx and php-fpm, but I wouldn't think that would make a huge difference
#
GWG
aaronpk, first time I feel like I am giving back to you
#
aaronpk
haha thanks
#
aaronpk
okay that's progress, but things aren't quite hooked up yet
#
aaronpk
gotta run for now tho
#
[matpacker]
Maybe it's just me "thinking" it feels slow...
#
dougbeal
Oh, a lot of that is loading stuff from twitter
jgmac1106 left the channel
#
[matpacker]
dougbeal: ahh ok, I might tweak a couple of the cache settings, but otherwise I guess it's not as bad as I'm thinking...
#
GWG
REST API switch just went into master on Micropub.
jg and [xavierroy] joined the channel
#
[xavierroy]
[dshanske] 2.0.0 version?
#
GWG
[xavierroy]: Working on it, but much closer.
#
GWG
[xavierroy]: If you want to beta test it, always appreciated
#
Ruxton
GWG: what do you need people to test? :)
#
Loqi
Ruxton: GWG left you a message on 2018-06-20 at 11:34am UTC: I'm glad someone reads them
[xavierroy] joined the channel
#
[xavierroy]
[dshanske] gettign this error when activating: The plugin generated 241 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
#
GWG
Just the functionality
[tantek] joined the channel
#
boffosocko.com
edited /WordPress_Outreach_Club (+241) "Evren Kiefer (moved); David Peach update; Created on hold section for future developments"
(view diff)
tantek__, BWBellairs26, r3m6, marig, Random, d9b4bef914, [kevinmarks], jeremycherfas, [grantcodes], jgmac1106 and [jgmac1106] joined the channel
#
GWG
Morning
#
Loqi
morning!
[Vanessa] joined the channel
#
[Vanessa]
I'm assuming that this Gutenberg thing is something I don't want?
#
jgmac1106
yeah [vanessa] stick with classic
#
GWG
We aren't ready for it here
aOssed-, [grantcodes] and raretrack joined the channel
#
petermolnar
actually... I tried the current gutenberg, and it's not as terrible as it was a few months ago.
#
GWG
petermolnar: Didn't say it was.
#
GWG
Just as a community, the Indieweb isn't compliant with it
#
petermolnar
oh, gotcha
tantek__, y0sh11 and [Khurt_Williams] joined the channel
#
[Khurt_Williams]
[chrisaldrich] I removed the social profiles menu entirely. It’s not compatible with IndieWeb plugins. I also removed a few other useful plugins. My experience so far is that adding IndieWeb means removing some of what makes my site my own.😞
#
GWG
It shouldn't
#
[Khurt_Williams]
Hi [xavierroy], I installed the plug but I am not sure how to get things started.
#
[Khurt_Williams]
> For now, to start the whole shebang, need to run bs_start_import( $user ) somehow. This sets up a cron job that will backfill all old checkins for that user and import all new ones.
#
[Khurt_Williams]
@gwg give me a moment to set things back to IndieWeb Twenty Sixteen and let me test again.
[grantcodes] and [jgmac1106] joined the channel
#
[jgmac1106]
Agree @KhürtWilliams a minimum plugin approach required.
#
[jgmac1106]
But hey I still can't send webmentions but I keep plugging away
[pfefferle] joined the channel
#
[pfefferle]
Webmentions are Sent via wo-cron
#
[pfefferle]
Might cause some time to send them
#
[pfefferle]
Try to trigger the cron manually!
#
[pfefferle]
[Khurt_Williams] what did you have to remove so far?
#
[pfefferle]
[Khurt_Williams] I am trying to build all plugins so ubiquitous as possible...
#
jgmac1106
yeah [prefferle] I will try and figure it out, [johnjohnston] been helping me
#
[pfefferle]
[jgmac1106] will try to add some logs, so it is easier debugable
#
jgmac1106
[pfeefferle] I don’t have any cron jobs that seem related to webmentions in any way
#
jgmac1106
think I might be getting somewhere
#
[pfefferle]
We hook into the ping cron
#
jgmac1106
…ohh okay
#
[pfefferle]
The core cron that sends pingbacks and trackbacks
#
jgmac1106
what is the name of the cron job do you know?
#
Loqi
It looks like we don't have a page for "name of the cron job do you know" yet. Would you like to create it? (Or just say "name of the cron job do you know is ____", a sentence describing the term)
jackjamieson joined the channel
#
[pfefferle]
‘do_pings’
#
[pfefferle]
But it is only created on new posts
#
[pfefferle]
It is no standard scheduled cron
#
jgmac1106
okay so I wouldn’t see it in crontol then anwyways
#
[pfefferle]
Only if you published a new post
#
[pfefferle]
But perhaps we have to implement a separate handling for webmentions
#
jgmac1106
I sent one, where can I check if ping cron job ran?
#
jgmac1106
one ran 109.59s after the previous one which was my post cron
#
jgmac1106
…hmmm looking a bunch of cron jobs run after each post but no database entry made…wondering if that is where my failing is coming
donblanco joined the channel
#
donblanco
so something in WP 4.9.8 has hosed my bookmarklets for post-kind posts :(
#
donblanco
OR NOT - evidently I jumped the gun a bit. nvm. nothing to see here, move along :(
jgmac1106 and [xavierroy] joined the channel
#
[xavierroy]
I thought you might find it useful 🙂
[dougbeal], [generativist] and raretrack joined the channel
#
donblanco
the more I think about Gutenberg, the more I think about moving back off of WordPress. Just need a one-shot IndieWeb CMS install...
#
aaronpk
I keep being tempted to package up p3k for other people, but that's a lot of work
[dougbeal] joined the channel
#
[dougbeal]
I suppose we could make a cPanel indieweb WordPress install?
tantek__ and jgmac1106 joined the channel
#
dougbeal
What is cPanel
#
Loqi
cPanel is a web based hosting control panel that provides an interface to tools designed to simplify the requirements of hosting a web site https://indieweb.org/cpanel
jackjamieson and [jgmac1106] joined the channel
#
[jgmac1106]
@donblanco I agree, or have all the building blocks folks could spin up even if it is not WordPress
jackjamieson, [chrisaldrich], donblanco and [cleverdevil] joined the channel
#
[chrisaldrich]
[Khurt_Williams] what is the social profiles menu exactly? I'll try it on mine to see if I can recreate your issue.
#
Loqi
[chrisaldrich]: jgmac1106 left you a message 2 days, 1 hour ago: when you get a chance can you add a feed example here for a post kind plus a category….post kind plus a tag….post kind plus a category and a tag: https://indieweb.org/RSS#WordPress
[Khurt_Williams] joined the channel
chrisaldrich joined the channel
#
GWG
Can I suggest the built-in social links in Indieweb
#
[Khurt_Williams]
I have a friend who is testing out using Jekyll instead of WP. He’s working through the challenges of how to provide commenting, receiving/sending Webmentions. This stuff is trivial may be easy if one is a web developer/uber geek but frustrating otherwise. Even an old dev like me is struggling.
#
[Khurt_Williams]
@GWG, which is that.
#
[chrisaldrich]
[Khurt_Williams] there are a lot of bits of meta data that could be injected manually with that method, so trying to recreate it will be impossible. Perhaps a screen cast of how yours is set up may be easier.
#
[chrisaldrich]
I actually use that method on my site, but don't have that problem btw.
#
chrisaldrich
Khurt, I'm noticing that the Twitter icon in your footer directs to Twitter's homepage instead of your account
#
[Khurt_Williams]
Let me fix that.
#
[Khurt_Williams]
Fixed.
#
[Khurt_Williams]
FYI. I switched to IndieWeb Twenty Sixteen to test this.
#
chrisaldrich
are you seeing the same problem as before with IW-2016?
#
chrisaldrich
It was something to do with an errant microformat on your RSS link if I recall?
#
[Khurt_Williams]
I can’t get past “Bridgy Error: Could not find a tweet to reply to”.
#
gRegorLove
Sounds like it's missing the in-reply-to microformat
#
sknebel
or you are replying to something that doesn't have a tweet
#
[Khurt_Williams]
@sknebel No. Publishing a post with “Brig.dy” publish enabled.
#
[Khurt_Williams]
It’s just a blog post with post kind “Article”.
#
Loqi
2018 Montgomery Township United States Independence Day Fireworks at the Montgomery High School
#
[Khurt_Williams]
Sorry. Wrong link: this one; https://islandinthenet.com/treat/
#
Loqi
Hopewell Valley Vineyards
#
sknebel
but that is a reply?
#
gRegorLove
It has an in-reply-to for a non-Twitter URL
#
gRegorLove
Bridgy processes that in-reply-to and tries to find the tweet you're replying to and fails
#
gRegorLove
If there is a Twitter URL for the thing you're replying to, could add that and make it a /multi-reply. Then Bridgy Publish would work.
#
[Khurt_Williams]
So if I understand you correctly, “Brid.gy can’t publish a post to Twitter that is a response to another post?’
#
[Khurt_Williams]
Remember I am using the WordPress editor. Not doing anything by hand.
#
gRegorLove
Bridgy Publish for Twitter can publish an article or note to Twitter, or a reply to a tweet.
#
gRegorLove
But if you reply to example.com and try to Bridgy Publish it to Twitter, it won't work.
#
gRegorLove
Awesome!
#
sknebel
except if example.com has a syndication link to Twitter, it does find that
#
sknebel
(which is why you see replies between indieweb sites also on twitter)
#
gRegorLove
Oh, I didn't realize Bridgy checked syndication links.
#
Loqi
Manhattan skyline from J. Owen Grundy Park, Jersey City, New Jersey —Apple iPhone 7 +iPhone 7 back camera 3.99mm f/1.8 @ 3.99 mmf/1.8 ISO 20— Hudson River Waterfront Walkway —Apple iPhone 7 +iPhone 7 back camera 3.99mm f/1.8 @ 3.99 mmf/1.8 ISO ...
#
[Khurt_Williams]
That one published to twitter but without the featured imaged: https://twitter.com/khurtwilliams/status/1025438701533442048
#
gRegorLove
That post appears to be missing the u-featured microformat
#
gRegorLove
Not sure the details of how the WP theme applies (or doesn't) that property
#
gRegorLove
leaves it to the WP pros
[jgmac1106] joined the channel
#
[jgmac1106]
[Khurt_Williams] did you set a featured image in WordPress.. That is the only way the image goes, also 2016 syndicates best to Twitter if using WordPress... If you want granular control use SNAP you can set up the tweet anyway you want
#
[jgmac1106]
My SNAP account still suspended 😔
#
[jgmac1106]
[Khurt_Williams] I say daily it's time to walk away from WordPress...not sure this stuff will ever work. I can build two blogs exactly the same on two different domains and have them work diff
#
chrisaldrich
Khurt, I've been using miklb's method to add u-featured to posts to get WordPress's Featured Image metabox photo to work: https://miklb.com/blog/2017/04/12/microformats2-wordpress-and-featured-images-classes/
#
[jgmac1106]
I need to explore the pages on micro.blog to see if they are adequate enough for my kids to make home pages and about me pages
#
[jgmac1106]
Or go back to just using Known, everything worked then.
#
[Khurt_Williams]
[jgmac1106] I always have a feature images for photography related posts (which is most of my posts. SNAP isn’t working at ALL. No errors I can see but nothing goes to Twitter, Facebook, Google+ or Twitter. Zero.
#
[jgmac1106]
You got suspended maybe
#
chrisaldrich
Khurt, you might want to keep in mind that even GWG isn't using Bridgy Publish on his own site. This is going to make it quite fragile as a syndication method.
#
[jgmac1106]
Facebook got turned off
#
[Khurt_Williams]
I could switch to Jekyll but then I have a new challenge. Comments and Webmentions and the obtuse formatting langue.
#
[jgmac1106]
[Khurt_Williams] yeah micro.blog is fine but I also need long form and I like the flexibility of post kinds
#
chrisaldrich
I know he has said that he's going to work at abstracting a different/better method in the future, but until then (or someone else builds something) you're going to have to do some tinkering and reading of Brid.gy's faq to get things working properly for syndication to twitter.
#
[Khurt_Williams]
[jgmac1106] only posting to profiles is disabled. You can still post from SNAP to a page. Assuming it works. What’s that phrase: “Manual until it hurts”. Well I’m bleeding.
#
chrisaldrich
It's like Winston Churchill said about WordPress: "It's the worst CMS, except for all the rest." ;)
#
[jgmac1106]
If you check your SNAP logs I bet you might see it is flagged by Twitter. Nobody told me I had to find it myself
#
[Khurt_Williams]
[chrisaldrich] it worked and then it didn’t. Not sure what changed.
#
chrisaldrich
is your site under version control? can you roll it back or compare diffs?
tantek__ joined the channel
#
[jgmac1106]
When using Bridgy to Twitter if you see have a set featured image and you publish a post the image will load
#
chrisaldrich
I've noticed recently that SNAP's auto posting functionality has ceased working (for me at least); I typically go into the post after publishing and manually trigger the posts to individual silos one at a time instead.
#
gRegorLove
I don't think Bridgy Publish is the issue with the featured image. Which plugin is reponsible for adding u-featured markup?
#
[jgmac1106]
When using Bridgy to Twitter using photo post kind featured image would also syndicate
#
[Khurt_Williams]
[jgmac1106] I looked at SNAP logs. ZERO errors.
#
gRegorLove
[chrisaldrich]: Churchill never tried ProcessWire ;)
#
[jgmac1106]
[gregorlove] different post kinds syndicate images differently
#
chrisaldrich
gRegorLove, to my knowledge there isn't a plugin that adds u-featured other than the solution miklb made. Otherwise it needs to be hardcoded into a theme or added manually somehow.
#
gRegorLove
Odd it appears on one of Khurt's posts and not the other
#
chrisaldrich
This was the last of the conversation about u-featured for WP that I'm aware of: https://github.com/dshanske/bridgy-publish/issues/30
#
Loqi
[chrisaldrich] #30 Automatically add u-featured class to Post Thumbnail
#
[jgmac1106]
Nor does Twitter automatically recognize u-featured
#
gRegorLove
Bridgy does, [jgmac1106]
#
[Khurt_Williams]
[chrisaldrich] I’ve been doing the same. They way I see it, if I give you money and I have to manually post post links to twitter + Facebook and manually create instagram posts and manually enter syndication links then I’ve been “ripped off”. Also, if all I want to do is post an image or two then …. too much effort. It takes more time to POSSE than creating the content.
#
chrisaldrich
Khurt, have you posted an issue to SNAP about it?
#
chrisaldrich
He's usually been reasonably responsive to customers.
#
[jgmac1106]
According to their website they have a new paid API that allows profile publishing on facebook
#
[Khurt_Williams]
[chrisaldrich] not this particular one but others. Not happy with the responses.
#
[Khurt_Williams]
[jgmac1106] is that a new paid API on top of the original paid API access?
#
[Khurt_Williams]
I am paying for this: https://www.nextscripts.com/snap-api/
#
Loqi
Social Networks Auto Poster {SNAP} – Universal API Social Networks Auto Poster (SNAP) API is a universal API for the most popular social networks. SNAP API gives you an ability to make a beautifully formatted posts to the most popular social n...
#
[jgmac1106]
You should have it.. But I wouldn't believe they have write access to profiles
#
chrisaldrich
SNAP has been known to do custom coding to work around standard APIs and use various methods to post without them. As an example neither G+ or Instagram have post API's yet SNAP can post to them, but suggests using care in posting velocity so as not to get your silo account flagged.
#
[Khurt_Williams]
Could be an error in the “easy to undestand” instructions for enabling this: https://www.nextscripts.com/snap-nextscripts-api-for-facebook-configuration/
#
chrisaldrich
I'm off to a meeting; back in a bit....
#
Loqi
Setup/Installation: Facebook - Social Networks AutoPoster (NextScripts API) NextScripts API for Facebook Configuration ...
#
[Khurt_Williams]
I will not renew the SNAP subscription.
#
[Khurt_Williams]
[chrisaldrich] none of my accounts are flagged. I can use them with no issues. SNAP just does nothing (except trigger Google security). Perhaps the SNAP network IP range is blacklisted by Twitter, Facebook, etc.
#
[jgmac1106]
Moral of the story.. The days of syndication are over eventually small towns realize a POSSE won't do and they build the required infrastructure
#
[jgmac1106]
Think it's time we start thinking of web in geographic and interest based nodes and connect with stuff like.... RSS with something cool and new not yet out
#
[jgmac1106]
Was just at New Haven Public Library asking them to carve out server space where folks could use library card to check out a subdomain
#
[Khurt_Williams]
[jgmac1106] I came to that conclusion a few weeks ago but … I’ve been sticking my head in the sand. Time to admit POSSE (and perhaps PESOS) is dead.
#
[jgmac1106]
Better yet just declare Facebook dead and walk away
jgmac1106 joined the channel
#
sknebel
is there a reason why the u-featured isn't done by the theme, or just not something that has happened yet?
[pfefferle] joined the channel
#
[pfefferle]
Not just happened yet... ZenPress and sempress support u-photo and u-featured
#
dougbeal
Hurm, I think the Wordpress update nag is hiding the Kind edit boxes :(
#
[jgmac1106]
[pfefferle] but SemPress and ZenPress syndicate only a url to post with Bridgy in my experience
#
[pfefferle]
[jgmac1106] I am not sure what you mean? It is only a theme... it shares nothing...
#
[Khurt_Williams]
[gregorlove] 👍
#
jgmac1106
No I mean with syndication to Twitter with Bridgy…for some reason, it only publishes the url and I didn’t compare markup post to gwg theme: https://www.youtube.com/watch?v=w2QE_B1oX-o
#
jgmac1106
I didn’t know how to file an issue bc: i didnt know if that is what you want, or if it was a bridgy issue, and I didn’t have time to compare the markup of each post if that was the problem
#
[pfefferle]
Ah, might be, that I have not pushed the latest version of SemPress to Wordpress.org
#
dougbeal
What is bookmark
#
Loqi
A bookmark (or linkblog) is a post that is primarily comprised of a URL, often title text from that URL, sometimes optional text describing, tagging, or quoting from its contents https://indieweb.org/bookmark
#
jgmac1106
Also I need to find the commit [gwg] that allowed an excerpt to appear in posts with no title…super helpful
#
jgmac1106
[pfefferle] good to know. So we shoudl be telling people to use GitHub and not theme on WordPress.org
#
dougbeal
jgmac1106: its only showing the bookmarked link?
#
jgmac1106
yes any post syndicated from SemPress to Twitter shows that way
#
sknebel
it's publishing the title and and the link to the post
#
sknebel
that's what bridgy does if there's a title and it's not a reply
#
jgmac1106
only reason I tell people, “If syndicating to Twitter is main goal then just use 2016-IndieWeb, if playing with all other types of metadata impt use ZenPress/SemPress
#
[pfefferle]
Ok, so I really have to support empty titles in SemPress...
#
[pfefferle]
[jgmac1106] no, will try to push an update to WordPress...
#
dougbeal
Ugh, response properties got turned off somehow
#
jgmac1106
I can also update all documentation to say don’t use WordPress.org if you want
#
dougbeal
!meme W U DO THIS, WordPress?!?!?
#
[pfefferle]
[jgmac1106] no, this is not very usable
#
[pfefferle]
I update SemPress
#
jgmac1106
[pfefferle] cool sorry about not filing issues bc half the time it seems issue I am having only relate to me, like webmentions, I don’t want to file false positives
#
donblanco
File All The Things!
#
[pfefferle]
[jgmac1106] please file every issue you had!
#
jgmac1106
What is a plethora
#
Loqi
It looks like we don't have a page for "plethora" yet. Would you like to create it? (Or just say "plethora is ____", a sentence describing the term)
#
jgmac1106
I know everybody has their theme….but maybe we just need to come together as community and get one theme 100% working, and hosted on WordPress.org with all the updated documentation….just not sure we have the capacity to support three themes…even if we get down to two….but being in WordPress.org crucial, so SemPress beats out 2016-IndieWeb IMO only for that reason
#
[pfefferle]
I am not a fan of the theme thing... people want to use their themes or the theme that fits their style, not a single theme that is the only supported theme by the IndieWeb community
#
[pfefferle]
[jgmac1106] I would love to see https://indieweb.org/rel-alternate as alternative, at least for WordPress and other CMSs
#
jgmac1106
yeah I get that….if only we could get it to work
#
jgmac1106
so we would be basically translating the metadata WP includes and when somebody shares a link to a post it really redirects to another link that just contains the translated mf2? Is that how it works
#
[pfefferle]
Not really redirecting, but it tells the service, where to find a machine readable version of the site... In the end it should be done by a few lines of code, at least for WordPress Webmentions/Semantic Linkbacks
#
jgmac1106
[pfefferle] maybe its easier bc it doesn’t have to go into the html but the way Snopes injected the LD for claim/review using custom fields in WordPress was awesome. made me think could we use the custom fields like we did with the old xfn box to just get stuff in the right placd
#
[pfefferle]
Sure, but I am not sure how or if custom fields are supported by gutenberg...
#
jgmac1106
and it would be really a pain to set each p-name or reply-to for everything…..back to let the smart people figure this out
#
[pfefferle]
But this is not really true... sometimes it is easier to get new ideas if you are not that deep into coding...
[jgmac1106] joined the channel
#
[jgmac1106]
Yeah was really hoping I could just make a block called div=h-entry etc using the class attributes and just drop them in the right place on a template... Oh well
#
[jgmac1106]
Just boggles my mind how hard it is to get WordPress to spit out html exactly how you need it to be spit out
#
[pfefferle]
Me too ;)
[kevinmarks] joined the channel
#
dougbeal
Me three
tantek__ joined the channel
#
aaronpk
urgh WP_REST_Response insists on returning a JSON response
#
aaronpk
I think I need to just echo?
#
GWG
No, it will convert
#
GWG
Look at how Webmention does it with the form
#
aaronpk
I give it a string and it outputs "foo"
#
aaronpk
with quotes
#
aaronpk
I don't want the quotes
#
aaronpk
this is almost working tho!
#
aaronpk
lol thanks Loqi
#
GWG
You have to override
#
GWG
There's a way
#
aaronpk
I couldn't find anything in the docs
#
GWG
rest_pre_serve_request
#
aaronpk
whoa, that's annoying
#
aaronpk
I really can't just tell it to output a different content type?
#
GWG
Apparently not
[cleverdevil] joined the channel
#
Loqi
[dixonge] The good news is that this does, in fact, work now. 2 remaining issues (possibly feature enhancements): 1 - long delay before the 'saved' button comes up with no indication that anything is happening 2 - The entire page is going into my main d...
#
[cleverdevil]
Indiepaper wasn't properly working with WordPress micropub endpoints, because I was only requesting the "save" scope, and WordPress' micropub endpoint was rejecting my POST requests saying "insufficient scope."
#
[cleverdevil]
Now, I request "save create update"
#
GWG
cleverdevil: What is the save scope?
#
[cleverdevil]
It'd be awesome if the WordPress endpoint could be updated to do something smart with the "save" scope, like map those saved articles to a post category/kind or whatever.
#
GWG
I am listening
#
[cleverdevil]
This is what [aaronpk] advised I use with Aperture micropub.
#
aaronpk
that sounds like my suggestion from before: https://github.com/indieweb/wordpress-indieauth/issues/28
#
Loqi
[aaronpk] #28 Allow the user to set a default category for posts created by the application
#
aaronpk
that is a generic and more flexible solution to the problem
#
GWG
aaronpk, this is a scope thing, not a client id thing though
#
aaronpk
it's only kind of a scope thing
#
[cleverdevil]
Indeed, its sort of both.
#
[cleverdevil]
It'd be nice to be able to make these decisions on both a scope and a client ID basis.
#
GWG
cleverdevil, so far, does anyone do that?
#
[cleverdevil]
The closest thing now is Aperture.
#
[cleverdevil]
At least, that I know of.
#
GWG
Does it customize scope to client?
#
GWG
But what ability does save represent?
#
[cleverdevil]
"Save" represents the use case that Indiepaper fills – here is an article (represented by a fully specified h-entry) from elsewhere that I'd like to save for reading later.
#
aaronpk
save vs create, because it's not intended to create a public post
#
GWG
I have to figure out how the endpoint will interpret that
#
GWG
I just got media in there
#
GWG
We really need to work on that scope wiki page
#
GWG
I will see what I can do
#
GWG
I will sign up for indiepaper
#
GWG
I am working on permissions now anyway
#
[cleverdevil]
:thumbsup:
#
[cleverdevil]
Thanks! Let me know if I can help!
#
GWG
The hardest part is what the endpoint will do
#
[cleverdevil]
Having support for this in WordPress would be a huge use case fulfillment for Indiepaper.
#
[cleverdevil]
Indeed, that is a good question.
#
aaronpk
where would you read these in wordpress?
#
aaronpk
cause it's not right to make them public posts
#
[cleverdevil]
Or would you at all?
#
aaronpk
where else would they go?
#
[cleverdevil]
I sort of like the Micro.blog implementation, where it just saves them to a feed.
#
[cleverdevil]
Which you could subscribe to in a reader.
#
aaronpk
right, clever workaround for that
#
GWG
aaronpk, exactly the problem
#
GWG
Custom post type?
#
[cleverdevil]
But, I could also see them being created as posts that you can only see if you're logged in.
#
GWG
That's how I talked the Microsub plugin into doing it
#
aaronpk
alright I think I got this working
#
aaronpk
when you activate the Aperture plugin, it goes and registers for an account
#
aaronpk
and adds the microsub link tag with the right ID
#
GWG
aaronpk, got repo?
#
aaronpk
almost ready
#
aaronpk
making sure I can actually log in to monocle first
#
aaronpk
is there a way I can display a banner notice in case there's an error?
tantek__ joined the channel
#
GWG
aaronpk, yes, admin notices
tantek joined the channel
#
aaronpk
if I run that, it will make the notice show up, and it won't show up again unless I run the function again?
#
GWG
No, you have to code that
Waldo12 joined the channel
#
aaronpk
i'm storing the error message using update_option
#
aaronpk
so if the error message exists then I show the notice
#
aaronpk
I guess I have to use delete_option to get rid of it? do people normally delete it after it's shown one time?
#
GWG
Depends on the person
#
aaronpk
it's a little weird cause it takes a few seconds for the registration to succeed or fail
#
aaronpk
so you don't see the result immediately after activating the plugin
#
aaronpk
I guess I should show a notice when it succeeds too
Taylor19 joined the channel
#
GWG
Are you going to charge for Aperture for profit or just costs?
#
aaronpk
i'm hoping someone beats me to launching a for-profit service
#
GWG
Just curious
#
GWG
I am hoping for Microsub for WordPress
#
aaronpk
that would be even better
bradenslen joined the channel
#
aaronpk
GWG: does "is-dismissible" do anything besides just make the little X show up?
#
aaronpk
it would be nice if it sent an event to the plugin so that I could trigger deleting the notice when it's clicked
#
aaronpk
I wish the wordpress docs were any good
#
aaronpk
oh it requires a plugin
#
aaronpk
eh too much work
#
aaronpk
one-time notice it is
#
aaronpk
hm, can I make this plugin require the IndieAuth plugin somehow?
#
aaronpk
I guess I can check for the existence of it and show an error if it's not there
#
GWG
No dependency support alas
#
aaronpk
this is good enough
#
aaronpk
I check for the indieauth plugin and if it's not found, this plugin deactivates itself and shows an error
#
aaronpk
strangely this doesn't actually require the indieauth plugin to register an account, but you won't be able to log in to anything else after without it
#
aaronpk
so this will prevent a bunch of support requests
#
Loqi
[aaronpk] aperture-wordpress: A WordPress plugin to use Aperture as your Microsub endpoint
[chrisaldrich] joined the channel
#
Loqi
aaronpk has 9 karma in this channel over the last year (310 in all channels)
#
aaronpk
hm now how do I publish to the wordpress plugin directory?
#
GWG
That's more complicated
#
aaronpk
I apparently lost my wordpress.org password and it isn't sending me a password reset
#
aaronpk
alright, well does anyone want to try this out by installing from source?
#
tantek
or the pw reset is getting blocked by your mail provider
#
aaronpk
it's gmail but it's not in spam
#
tantek
since pw reset emails are a source of phishing
#
aaronpk
unless I somehow used an email address I am not aware of
#
aaronpk
I entered my normal email and it didn't find my account. but it did find my picture from my username
#
tantek
the picture is associated with a gravatar account tho right?
#
aaronpk
and gravatar accounts are wordpress.com accounts 😂
#
aaronpk
so if I could log in to gravatar i'd be able to log in to wordpress.com
#
aaronpk
ooh got in to gravatar from a login link
#
aaronpk
and now i'm logged in to wordpress.com 😂
#
aaronpk
ooh but this is not wordpress.org
#
aaronpk
well that was a fun experiment
#
aaronpk
but i'm completely stuck now
#
dougbeal
what fun
#
aaronpk
I guess I can make a new account