#wordpress 2019-03-25

2019-03-25 UTC
[jgmac1106] joined the channel
#
[jgmac1106]
gwg can you do anything with gpx files?
#
[jgmac1106]
I installed trackbook from f-droid.... May provide the trip data you wanted from Google Maps. Will use it next couple of days
#
GWG
Such as?
#
GWG
Sorry for the delay, nephew just left
[sebsel] and [kevinmarks] joined the channel
#
GWG
jgmac1106, still curious
[frank] joined the channel
#
[frank]
[Rose] I assume you use hooks to change the function?
[Rose] joined the channel
[jgmac1106] joined the channel
#
GWG
Minor fix for Post Kinds went out last night
#
GWG
Food and drink are online
[kevinmarks], [keithjgrant], jeremych_ and [jgmac1106] joined the channel
#
[jgmac1106]
Get better trip data. Just an idea as I came across
#
[jgmac1106]
Ohh meant to turn it on when I left. Basically you hit start and it pins your GPS location every ten minutes and adds a flag if it changes
#
[jgmac1106]
I never even heard of a gpx file before
[kenbauer], jackjamieson, [jgmac1106], [cleverdevil], [manton], gRegorLove_ and [Rose] joined the channel
#
GWG
I use GPSLogger, but haven't gotten to trip Data yet
[tantek], [asteres], jackjamieson, [manton], [jgmac1106] and [asuh] joined the channel
#
[asuh]
GWG++ for Post Kinds update for empty title post slug. I also like Rose’s idea about this also being date based slug.
#
Loqi
GWG has 82 karma in this channel over the last year (174 in all channels)
[tantek], dougbeal|mb1, [jgmac1106], [cleverdevil], doubleloop and [eddie] joined the channel
#
GWG
[asuh]: Needs improvement
[borismus] and [asuh] joined the channel
#
[asuh]
GWG, with a little modification, it solve a problem I was trying to solve for the last couple of years 🙂
#
[asuh]
I do think the slug can be a bit long with a long excerpt so my preference would be date or post_id instead. I modified your changes to use post_id and the result is perfect
#
GWG
The post ID is default for slugs
#
GWG
You meant the title in the admin?
#
GWG
Maybe I need some settings
#
[asuh]
I use a custom permalink structure `/%postname%/`. When I make a post without a title, the post ID always gets the dreaded `-2` so that they all look like `123-2` instead of `123`.
#
GWG
[asuh]: So what would you suggest as settings/behavior?
[Rose] joined the channel
#
GWG
I think we need to map this out
#
[asuh]
excerpt as default is a good start. i personally prefer brevity like post_id or date. I imagine this will be up to personal preference so options to switch between the three could be a good way to go
#
GWG
[asuh]: Well, there is also how much of the excerpt.
#
GWG
I think I use 40
#
[asuh]
GWG, what happens if those 40 characters match another slug? same -2 append?
#
GWG
[asuh]: Theoretically. I run everything through wp_unique_post_slug
#
[asuh]
ah, right i did see that
#
GWG
[asuh]: I'm not sure about your issue.
#
GWG
When you say slug, but talk about admin section...that's title.
#
[asuh]
My issue is solely based on the permalink method
#
GWG
Title may be used to generate slug, but they aren't the same thing
#
[asuh]
ok, replace “slug” with “permalink”
#
GWG
So, if there is no title, it generates a display name and displays it where the title would be.
#
GWG
Okay.
#
[asuh]
that’s what I’m referring to on the admin, let me update the bug
#
GWG
Yes. I see it
#
GWG
The suggested permalink override
#
GWG
I guess I'm going to do more permalinking
#
GWG
Maybe add settings
#
[asuh]
GWG, sounds good. I’ll create another Github issue for feature request around permalinking
#
GWG
I also have one on Micropub.
chrisaldrich joined the channel
#
chrisaldrich
[jgmac1106] I was playing around with Reclaim Hosting last night. It looks like their PressBooks set up is $125/month which seems pretty steep. Did you see it somewhere else in their installatron at one of their smaller tiers?
MorningMoon and tbbrown joined the channel
#
[jgmac1106]
Yeah... Makes no sense didn't know that I can ask Jim and Tim but pressbook is a theme. When I am in cpanel and click on all Apps Pressbook WAS an option. Maybe that changed
chrisaldrich joined the channel
#
chrisaldrich
[jgmac1106] They only added the functionality around November from what I can tell. Most managed versions are at least that expensive if not more. Running pressbooks usuallly takes some additional dependencies that most hosts don't support or which require some additional gymnastics.
#
chrisaldrich
From what I can tell from prior reading, pressbooks is a WordPress install with a bunch of additional code and dependencies as well as custom themes. It's not simply a plugin or simple thing to manage, which I suspect is why folks charge so much for it.
#
chrisaldrich
I get the feeling it's the type of thing a department or an institution would build and maintain for dozens or hundreds of books. None of the install stuff I've seen so far makes it look like the type of thing you'd set up as a hobbiest for just one book.
#
chrisaldrich
On the positive side I've now got my own version of /Wallabag installed and I've got my own personal wiki set up!