#dev 2018-12-27

2018-12-27 UTC
#
aaronpk
facebook has an explicit cancelled state: https://www.facebook.com/events/352784491841109/
#
aaronpk
they show the time and location with strikethrough
#
aaronpk
I like that
#
[tantek]
ok that's an improvement over what we have documented now: https://indieweb.org/event#Response_context_CRUD
#
[tantek]
checks UI verbs on a FB event admin UI
#
[tantek]
Invite, Edit, ...
#
[relapse]
Google has a "status" that can be "Confirmed", "Tentative", "Cancelled". https://developers.google.com/calendar/v3/reference/events/update
#
[tantek]
... > Notification Settings, Message Guests, Duplicate Event, Export Event, Export Guest List
#
[tantek]
ah there it is, inside Edit
#
[tantek]
lower left corner in the edit pop-up window
#
[tantek]
"Cancel Event"
#
[relapse]
Having the header on the top of the Facebook event is also very good. Unambiguous.
#
[relapse]
I also like how Google calls out the difference between cancelling a one-off event and cancelling one instance of a recurring event.
#
[tantek]
values for an event: tentative | confirmed | cancelled
#
[tantek]
values for a todo: needs-action | completed | in-process | cancelled
#
[tantek]
values for an entry: draft | final | cancelled
#
[tantek]
didn't we have something like that for micropub for whether a post was a draft or published or something?
#
jacky
post-status
#
[tantek]
what is status
#
[tantek]
[relapse] looks like Google's UI event status is the same values as in iCalendar RFC 5545
#
[tantek]
now we have another example (in addition to aaronp's) http://tantek.com/2018/360/e1/homebrew-website-club-sf
#
Loqi
Cancelled: Homebrew Website Club SF!
#
[tantek]
I think a multi-reply to the event and any RSVPs would be work to notify people who have RSVPd
#
[tantek]
that would be the equivalent of commenting on a FB event that the event is cancelled (opportunity to note why), which would notify everyone who had commented or RSVPd
#
aaronpk
which I also did on FB for that event
#
aaronpk
(on FB that is)
iasai joined the channel
#
[relapse]
So does this mean that the h-event will be extended to include a p-status ?
#
[relapse]
With values as per rfc5545 for event? And will p-status be also added to h-entry?
#
[tantek]
certainly worth some experimentation
#
[tantek]
ColinMorirs actually adding a property requires a more work: http://microformats.org/wiki/h-entry#change_control
#
[tantek]
[relapse]
#
Loqi
[Tantek Çelik] h-entry is a simple, open format for episodic or datestamped content on the web. h-entry is often used with content intended to be syndicated, e.g. blog posts. h-entry is one of several open microformat standards suitable for embedding data in HTML. ...
#
[relapse]
Excellent, ty.
jgmac1106 and [jgmac1106] joined the channel
#
[tantek]
jacky, do you display comments on your RSVP posts or notes?
#
[tantek]
I tried sending webmentions from my cancellation note to your RSVP and recent note
#
[tantek]
[relapse] "status" feels like too generic (potentially overloaded) of a term
#
[tantek]
jacky noted that the existing experiment with micropub and distinguishing between draft and published states uses "post-status"
#
[relapse]
[tantek] True, but should it be aligning with an existing event standard (e.g. RFC5545 as you indicate), or come up with its own standard?
iasai joined the channel
#
[relapse]
Does it become an "event" status by being a child of h-event, or is it a generic 'status' such as all h-* seem to have a u-uid property that means the same.
strugee and Afrophysics joined the channel
#
Afrophysics
Hey all
#
Afrophysics
pleasantly surprised to find a like-minded community here. Is this an active thing?
#
GWG
Active? We like to think so.
iasai and [tantek] joined the channel
#
[tantek]
[relapse] rather than "align" per se (we did that in the past and it resulted in more complexity than necessary for actual use-cases), is to use existing formats as inspiration at least, and try to re-use at least aspects, possibly even names of things
#
[tantek]
more importantly than past formats is modern UIs
#
[tantek]
as an example take a look at how the "rsvp" property was researched and developed: http://microformats.org/wiki/rsvp
#
[tantek]
and yes it would be a generic 'status'
#
[tantek]
mf2 uses a flat set of properties across all h-*
[relapse] joined the channel
#
[relapse]
Aha, nifty.
#
[relapse]
I didn't see that the microformats also had a "show-your-working" section. Excellent.
iasai joined the channel
#
jacky
!tell [tantek] I have to rebuild my site - it's all static!
#
Loqi
Ok, I'll tell them that when I see them next
snarfed, iasai, benwerd and [tantek] joined the channel
#
@sl007
Dito. And Applause³ for everyone supporting indieweb stuff like Webmention or Micropub, IndieAuth or federation like ActivityPub – be it in code, words, design, awareness or freaky awesome longterm projects or whatever – Rock on !
(twitter.com/_/status/1078194382082326528)
iasai, barpthewire and jjuran joined the channel
#
petermolnar
morning, all
#
Loqi
petermolnar: pstuifzand left you a message 11 hours, 1 minute ago: if you have problems with `ek` you can ask me. Perhaps you can create an issue on the github with the problem.
#
Loqi
petermolnar: pstuifzand left you a message 10 hours, 48 minutes ago: I also created version 0.8.3 of ek (on Github) that has better error handling (and reporting), use `ek -verbose channels`.
#
petermolnar
ah, it was here, not in -chat
iasai, krychu, swentel and [jgmac1106] joined the channel
#
sknebel
What is mod_rewrite?
#
Loqi
It looks like we don't have a page for "mod_rewrite" yet. Would you like to create it? (Or just say "mod_rewrite is ____", a sentence describing the term)
#
sknebel
mod_rewrite is a module for the [[Apache]] web server to rewrite/redirect URLs to different locations.
#
sknebel
mod_rewrite << [http://httpd.apache.org/docs/current/rewrite/remapping.html Redirecting and Remapping with mod_rewrite] - examples from official docs
#
Loqi
ok, I added "[http://httpd.apache.org/docs/current/rewrite/remapping.html Redirecting and Remapping with mod_rewrite] - examples from official docs" to a brand new "See Also" section of /mod_rewrite https://indieweb.org/wiki/index.php?diff=55060&oldid=55059
[smerrill] joined the channel
#
sknebel
mod_rewrite << [http://httpd.apache.org/docs/current/rewrite/intro.html Introduction to regular expressions and mod_rewrite] - docs for used regex syntax and directive structure
#
Loqi
ok, I added "[http://httpd.apache.org/docs/current/rewrite/intro.html Introduction to regular expressions and mod_rewrite] - docs for used regex syntax and directive structure" to the "See Also" section of /mod_rewrite https://indieweb.org/wiki/index.php?diff=55061&oldid=55060
[jgmac1106] joined the channel
#
[jgmac1106]
[sknebel] will begin a tutorial later today
iasai and [smerrill] joined the channel
#
@_am1t
Finally, managed to document the steps to enable webmentions support on one’s site. This should allow people to fetch mentions to their posts, including the replies from http://micro.blog, and display them along with posts. https://www.amitgawande.com/display-webmentions/
(twitter.com/_/status/1078305772616876032)
iasai, [tantek], [Vincent] and [jgmac1106] joined the channel
#
[jgmac1106]
Wow!! Awesome tutorial.
iasai and [metbril] joined the channel
#
pstuifzand
petermolnar, hi are you there? I don't have to much time right now, but perhaps I can help?
#
petermolnar
hey; got the messages, thank you, it looks like it may not be ek, but eksterd, given I can't set up monocle with that eksterd instance either
#
petermolnar
on the other hand, I tried to reset ek settings, now I'm getting 2018/12/27 16:38:46 main.go:221: open /home/pemolnar/.config/microsub/client.json: no such file or directory and nothing else
#
petermolnar
one thing that's not completely clear to me: should the connect url be my site or the microsub server?
#
pstuifzand
the url should be your site
#
petermolnar
ok, that wasn't clear
#
pstuifzand
and the site should have the <link rel="microsub" href="...">
#
petermolnar
yes, that's clear
#
petermolnar
the EKSTER_BASEURL for eksterd should be the eksterd external URL, right?
#
petermolnar
that same as in the microsub meta
#
pstuifzand
EKSTER_BASEURL the external url yes
#
petermolnar
I'm not certain what I'm doing wrong then
#
pstuifzand
how do you start the server with docker-compose?
#
petermolnar
nope, I wrote a systemd file
#
pstuifzand
ok, do you have Redis running?
#
pstuifzand
do you have a backend.json file?
#
petermolnar
first is the backend.json, seconds is the systemd file, third is the env file for systemd
#
pstuifzand
did you compile the latest version with go ? or did you download the binaries?
#
petermolnar
good question, I need to check
iasai joined the channel
#
petermolnar
I believe this is the binary after go get
#
petermolnar
I'll recompile it
#
petermolnar
now it's certainly the one from `go get`
#
pstuifzand
it seems to be running, when you go to the url, you get the login page
#
petermolnar
sure, but shouldn't the token endpoint be the one in backend.json?
#
pstuifzand
the token endpoint should be the same as the one you use on your website
#
petermolnar
that's the problem then
#
petermolnar
at least one of them
#
pstuifzand
ok, it will use that to check the token that it gets from the client
#
pstuifzand
it will cache the result for 10 minutes in redis
#
petermolnar
so the trouble is that my token endpoint on my website is https://tokens.indieauth.com/token (because I'm lazy to do my own); I've added "TokenEndpoint": "https://tokens.indieauth.com/token" to backend.json, but https://microsub.petermolnar.net/ has <link rel="token_endpoint" href="https://microsub.petermolnar.net/auth/token" /> and <link rel="authorization_endpoint" href="https://microsub.petermolnar.net/auth" />
#
pstuifzand
the token endpoint should match the one on your website
#
petermolnar
I understand that. What should I configure to make it so?
#
pstuifzand
change "TokenEndpoint" to "https://microsub.petermolnar.net/auth/token"
#
petermolnar
because in the templates, I see <link rel="token_endpoint" href="{{ .Baseurl }}/auth/token" />
#
pstuifzand
that's something different
#
pstuifzand
that's for the endpoints built into server itself
snarfed joined the channel
#
pstuifzand
you should restart eksterd after changing the backend.json file
#
petermolnar
wait; you want me to change the token endpoint on my website or in eksterd?
#
Loqi
I agree
#
petermolnar
no luck, monocle - https://monocle.p3k.io/channel/ - says "not found"
#
petermolnar
ek still says "open /home/pemolnar/.config/microsub/client.json: no such file or directory"
#
petermolnar
which is true
#
petermolnar
but it refuses to generate a new config
#
pstuifzand
is that when you use `ek connect https://petermolnar.net/` ?
#
petermolnar
main.go:204: invalid character 'm' looking for beginning of value
#
petermolnar
pstuifzand: thank you very much for the help, unfortunately I need to transition from my workplace to home now, I'll be online soon after
#
petermolnar
client.json file exists, but empty
#
pstuifzand
we'll talk later
#
pstuifzand
this is the other content-type (not application/json), which isn't parsed currently in ek
#
pstuifzand
the response starts with me=...
[schmarty] joined the channel
#
pstuifzand
I added an issue on Github for this problem.
snarfed joined the channel
#
[tantek]
!tell GWG are you using phpmf2 master? I'm asking because it has the ID parsing feature you wanted, and I'm wondering if you're able to use it for your use-case
#
Loqi
Ok, I'll tell them that when I see them next
#
[tantek]
I can't quite tell from following this thread: https://github.com/dshanske/parse-this/issues/20
#
Loqi
[jackjamieson2] #20 fetch_feeds notes
iasai, jenett, eli_oat and [jdpinto1] joined the channel
krychu joined the channel
#
GWG
I think I am on stable. I can switch to master
#
Loqi
GWG: [tantek] left you a message 2 hours ago: are you using phpmf2 master? I'm asking because it has the ID parsing feature you wanted, and I'm wondering if you're able to use it for your use-case
iasai, benwerd and jgmac1106 joined the channel
#
petermolnar
!tell pstuifzand got ek working against aperture, seems like the problem is with my eksterd
#
Loqi
Ok, I'll tell them that when I see them next
#
petermolnar
!tell aaronpk I'm testing opml import with pstuifzand's `ek` and aperture, if I do something nasty, please let me know
#
Loqi
Ok, I'll tell them that when I see them next
#
aaronpk
haha okay
[tantek] joined the channel
#
[tantek]
GWG that would be great, and try using the new “id” in the parsed JSON
[jgmac1106], tomasparks, iasai, snarfed, leg, snarfed1, snarfed2, krychu, [kevinmarks], jgmac1106, [tantek], jjuran, barpthewire and eli_oat1 joined the channel