#dev 2019-09-08
2019-09-08 UTC
imsky, treora, ketudb, DenSchub, gRegorLove, jeremych_ and [jgmac1106] joined the channel
# [jgmac1106] I don't see an endpoint anywhere on that post
# @jgmac1106 @MacDara I am not a developer to there maybe better folks to ask in the #IndieWeb dev channel but looking at https://macdaraconroy.com/2019/09/webmentions-just-stopped-working-on/ I do not see a webmention endpoint in your header or anywhere in the post. (https://quickthoughts.jgregorymcverry.com/s/1BixE2) (twitter.com/_/status/1170668227413852162)
# [jgmac1106] oops my bad..I was searching not sure how I missed
# [jgmac1106] thx for help zegnat
[pfefferle], imsky, Guest23442, JKingWeb and vika_nezrimaya joined the channel
# vika_nezrimaya Checkin markup like <a href="https://fireburn.ru/hcards/anticafe" class="u-checkin">Anticafe</a> acceptable or not? Does u-checkin need to be an h-card or can it be a URL to an h-card? Assume /hcards/anticafe is an h-card describing a venue.
# vika_nezrimaya The Wiki marks it up as "u-checkin h-card" which I find... not exactly the best choice considering how contemporary MF2-consuming programs work.
# vika_nezrimaya Y'know, experience from trying to make my avatar show up on others sites
[pawel_madej] joined the channel
# vika_nezrimaya Maybe I should make a <span class="u-checkin h-card"><a href="https://fireburn.ru/hcards/anticafe" class="u-url u-uid p-name">Anticafe</a> <span class="h-geo">(<span class="p-latitude">53.0000</span><span class="p-longtitude">45.000</span>)</span></span>
# aaronpk what do you mean about that in relation to getting your avatar to show up? That's pretty well described by /authorship now and there are a few solutions to the markup
# vika_nezrimaya Will the last example be valid to refer MF2 consumer to a canonical representation of an h-card in case user requests more data?
# vika_nezrimaya aaronpk: I had trouble when I was using "u-author h-card"
# vika_nezrimaya Nobody was fetching h-cards, assuming the data in the embedded h-card is complete
# aaronpk Ah yeah, that's described on /authorship
# vika_nezrimaya Yeah. Does that apply to checkins, as they use h-cards and similar markup?
# vika_nezrimaya If yes, maybe Aperture should fetch venue URLs to provide data? :3
# vika_nezrimaya I'd do it if I was a Microsub server developer
# vika_nezrimaya But the idea itself seems valid, right?
# vika_nezrimaya Great. I'll add just the URL then, but for compatibility I'll add an h-card just for Aperture <3
# vika_nezrimaya Are there any other Microsub servers in the wild? I'd like some feedback from other happy owners of Microsub servers
# vika_nezrimaya I think we need something like Discord roles, like @Microsub server writer, @Micropub client writer, that we could ping when we want feedback on some markup or extensions
# Loqi Microsub provides a standardized way for reader apps to interact with feeds https://indieweb.org/microsub
# vika_nezrimaya aaronpk: I also kinda want to jump on the story bandwagon and I'm kinda brainstorming the markup
# vika_nezrimaya Because I think stories should be MF2 posts viewable via reader, containing a u-photo or u-video and a new property dt-expires - marking when the story should be expunged by readers conforming to specification. Quick question before I add this to wiki: do you as someone who posts indie stories think this kind of markup is reasonable?
# vika_nezrimaya By the way, there ARE precedents of people posting text in stories so we shouldn't prohibit e-content :3
# vika_nezrimaya Instagram allows posting a story with a "just text" template
[Ramiro_Ruiz] joined the channel
# [Ramiro_Ruiz] Hello everyone 👋 Is this the best channel to ask for some help in implementing something basic? or where should I go?
# vika_nezrimaya @Ramiro_Ruiz: This is a channel for developers of any experience, we can help you with everything including onboarding
# vika_nezrimaya At least I am in the mood for helping people with basic stuff, my head explodes from more complex things I want to implement :joy:
# vika_nezrimaya What do you struggle with?
# [Ramiro_Ruiz] Thank you @vika_nezrimaya it is basic, I’m just trying to get syndication to twitter working. I got micropub working and did some test with quill and all good so far, but I don’t really know what should I do to publish my notes to twitter, I’m trying to use bridgy and I read I should add a link in the note to https://brid.gy/publish/twitter I just did that and still nothing or is not right away using bridgy to publish
# vika_nezrimaya Can your site send webmentions automatically? Brid.gy expects a webmention to be sent to https://brid.gy/publish/twitter, you may be forgetting to do that
# vika_nezrimaya Try doing this: curl https://brid.gy/publish/webmention -d source=<your post URL> -d target=https://brid.gy/publish/twitter
# [Ramiro_Ruiz] I don’t really know, I’m using https://webmention.io but that is only to receive right? would the micropub be the one in charge to send the webmention? I have a hugo / netlify setup, testing IndieKit micropub
# vika_nezrimaya webmention.io is for receiving indeed. I already joked that the name is confusing >.<
# vika_nezrimaya Doesn't seem like IndieKit supports webmention sending for now. But usually the Micropub server does this.
# vika_nezrimaya At least my did. Before I started rewriting it
# vika_nezrimaya Try the curl command earlier - this is basically a manual webmention to Brid.gy
jeremych_ joined the channel
# [Ramiro_Ruiz] That worked
# vika_nezrimaya Yay!
# vika_nezrimaya This means that your backlink is correct :3 You just need a solution for sending webmentions. Usually a micropub server takes care of that, but looking at IndieKit's home page it seems like this feature isn't implemented yet. For now you could send webmentions yourself
# vika_nezrimaya If you know any node.js I suggest you to write this feature yourself and contribute :wink:
# [Ramiro_Ruiz] so as for other ways to make it less manual would need to try a different route, or micropub? I read a great post by Max Böck about using netlify functions
JKingWeb joined the channel
# vika_nezrimaya I don't know a thing about Netlify except it's great for static sites and JS applications
# vika_nezrimaya that work client-side
# [Ramiro_Ruiz] Oh ok, not really 😅, I’m a designer first trying my best
# vika_nezrimaya Your webmentions don't have to be sent by your Micropub
# [Ramiro_Ruiz] yes, and do you know about micro.blog? the feed section has a crossposting area or that works only for paying users?
# vika_nezrimaya Same as with netlify - I only know that it is a great site
[fluffy] joined the channel
# [Ramiro_Ruiz] [fluffy] I would need a twitter dev key right?
# vika_nezrimaya @Ramiro_Ruiz I don't think you need a twitter dev key
# vika_nezrimaya telegraph.p3k.io is a nicer interface that automatically discovers endpoints. If you can somehow send it your source and target URLs it will handle endpoint discovery itself
# [Ramiro_Ruiz] ahh that’s right because of bridgy 😅
# vika_nezrimaya Yeah, bridgy handles twitter for you
# [Ramiro_Ruiz] yeah POSSE, with ifttt is there a way to send a web mention or in that case you use the twitter api?
# vika_nezrimaya Ramiro_Ruiz: ifttt replaces brid.gy
# [Ramiro_Ruiz] Sorry for not be more clear, so I want to post notes from quill or other micropub client, publish on my site is working and crossposting to micro.blog but I also want to post to twitter
# vika_nezrimaya you use one or the other, using both is redundant
# vika_nezrimaya Micro.blog supports IFTTT for free, you could use that to cross-post to Twitter instead of Brid.gy
# vika_nezrimaya You'll have a pipeline of Your website -> Micro.blog -> IFTTT -> Twitter
# [Ramiro_Ruiz] The webmention talk started because bridgy need to receive one to crosspost my notes to twitter
# [Ramiro_Ruiz] Thank you @vika_nezrimaya I already applied for a twitter dev key yesterday, I’m waiting that would be the plan b to do a IFTTT for tweets
# vika_nezrimaya Twitter dev key may be useful for other things
# vika_nezrimaya Save it for later
# [Ramiro_Ruiz] So how does IFTTT post to twitter without a dev key? I thought they would ask for one.
# [Ramiro_Ruiz] Oh I get about the delay, and in facebook it only works on pages or profile accounts too?
# vika_nezrimaya IFTTT probably has their own key I think
# vika_nezrimaya I mean, they're a BIG service, Twitter would hand them their own key
# vika_nezrimaya and probably bigger API limits than either of us will ever have :3
# vika_nezrimaya You'll just need to connect your Twitter account and give IFTTT permission to post stuff on your behalf
# [Ramiro_Ruiz] Ok sounds good for me, I’ll take a look on that thank you!
# vika_nezrimaya GWG: good morning :3
[jgmac1106] joined the channel
# [jgmac1106] I used IFTT in the Blogger IndieWeb set up. You can manually push it. I just bookmarked the page
# [jgmac1106] Only necessary during live Twitter chats
imsky joined the channel
# [Ramiro_Ruiz] Just tested IFTT with my notes feed and it was pretty fast (2-3min). I think I’ll stay with this setup for now.
# [Ramiro_Ruiz] Now that I think about it, because the IFTT tweet doesn’t include the note url I would not be able to get likes or replies of that tweet as webmention to my website via Bridgy or I’m wrong?
# vika_nezrimaya Brid.gy probably matches content of tweets too
# vika_nezrimaya note that Twitter's implementation of The Algorithm lowers tweets with links in search if links are posted often
# vika_nezrimaya I don't recommend linking to your site if all content fits in a single tweet
# vika_nezrimaya That way Twitter won't think of you as a spammer...
imsky joined the channel
# [Ramiro_Ruiz] 🤔 very true, I’ll test if I can still get the webmentions
# vika_nezrimaya aaronpk: No way. Look at my Twitter. No links, but Brid.gy definitely syndicated stuff
# vika_nezrimaya I used brid.gy for posting stuff though
# vika_nezrimaya that may be significant
# vika_nezrimaya aaronpk: Oh wait, I remember! I used u-syndication links
# vika_nezrimaya The moment I received a response from Brid.gy, I modified my posts to have a u-syndication link to the tweet. That's how Brid.gy found my posts
imsky joined the channel
# jeremycherfas spent way too long tracking down an errant </div> that was making things behave very strangely. Found it, but that's the afternoon fully gone.
# vika_nezrimaya forgot what she was doing today
# jeremycherfas I wish I could forget it, but at least having done it, I can stop tearing my hair out.
# @ramiroruiz Test to have bridgy publish with a webmention using an iOS shortcut (https://ramiroruiz.com/notes/1567964364/) (twitter.com/_/status/1170753847947649024)
imsky joined the channel
# [Ramiro_Ruiz] Sorry I’m new and I don’t know how the Loqi work to post that but I found out a good setup for now.
# [Ramiro_Ruiz] Post to my site via Quill, then as it takes me to the new note url I run a workflow from the safari share window to run a shortcut that gets the current url and sends a webmention to Bridgy. I don’t see many drawbacks just add 2 taps more taps.
# @ramiroruiz Test to have bridgy publish with a webmention using an iOS shortcut (twitter.com/_/status/1170757837791924231)
# vika_nezrimaya Yay, checkin support incoming to my site <3
[Michael_Beckwit joined the channel
# [Michael_Beckwit who reads about XML parsing willingly? <-- this guy
# vika_nezrimaya XML?! OH GODS NO
# vika_nezrimaya I hate Android development because I'm forced to jump between XML and Java code
# vika_nezrimaya Java is enough pain for me.
# [Michael_Beckwit 😆 "Therefore, as of this writing, we who hope to parse a syndication feed may have to contend with one of three protocols: RSS 1.0, RSS 2.0 (which is not a
# [Michael_Beckwit descendant of 1.0), and Atom. So let’s talk about something less controversial— like the weather. Here’s how we can parse a feed from the Weather Channel [6] using SimpleXML."
# vika_nezrimaya :3
# vika_nezrimaya Ok. I deployed it and it didn't crash. Good thing I'm using automatic tests on my Micropub endpoint to verify that it responds to requests properly before deployment. At least I won't break things.
# vika_nezrimaya How do you people test your stuff, other than just YOLOing it and deploying straight in production?
# vika_nezrimaya like I did before the big rewrite
# [Michael_Beckwit staging sites?
gxt joined the channel
# vika_nezrimaya Ok. My site is down.
# vika_nezrimaya lol
# vika_nezrimaya IT WORKED IN DEV
# vika_nezrimaya Why doesn't it work in production?!
# vika_nezrimaya Oh. I see. Incorrect URL in checkin
# vika_nezrimaya It compiled AND passed unit tests
# vika_nezrimaya And then I sent an incorrect request
# vika_nezrimaya And it crashed :3
# vika_nezrimaya Tried to fetch an h-card from localhost:5000
# vika_nezrimaya btw I definitely need to cache these requests
# jeremycherfas !tell Zegnat the real problem was that there are tags hidden in the content, and it was one of those. So the template worked with some kinds of content, not with others, and it too me ages to think of looking in the content instead of the template.
# [Michael_Beckwit [Zegnat] probably yet probably not too. We are a bit nerdy in here 😄
[fluffy] joined the channel
# vika_nezrimaya https://fireburn.ru/posts/1567956895 - my first checkin! How's my markup? :3 Pinging aaronpk as he's a checkin poster too.
# vika_nezrimaya This was posted manually with JSON constructed by hand.
# vika_nezrimaya I'll test Indigenous checkins a bit later probably...
# vika_nezrimaya As a venue, I picked an anticafe in which I am currently sitting, sipping my coffee
# aaronpk Nice! Here's what it looks like in monocle https://media.aaronpk.com/2019/09/file-20190908122542-3782.jpg
# aaronpk you can preview your feed at https://Monocle.p3k.io/preview to test it
# vika_nezrimaya lol
# vika_nezrimaya aaronpk: why Unknown? What happened to venue's name?!
KevlarmonkeyDisc joined the channel
# vika_nezrimaya It's called Anticafe "Wings", not Unknown!!!
# vika_nezrimaya >.<
# vika_nezrimaya aaronpk: wait, it works in a preview. #itsabug
# vika_nezrimaya aaronpk: How can I improve my markup? can Monocle show more than just the name?
# vika_nezrimaya The feed page https://fireburn.ru
# vika_nezrimaya thanks Loqi for not deadnaming me lol
# vika_nezrimaya O____O
# vika_nezrimaya what the fsck
# vika_nezrimaya aaronpk: why doesn't it show the map?
# vika_nezrimaya aaronpk: The post itself also has the venue named properly
# vika_nezrimaya at least in the previewer
# vika_nezrimaya Maybe something's wrong with Aperture? Please make it reindex the post! It probably picked up a bugged version, I'm guilty of debugging in production
# vika_nezrimaya I was debugging an error in which the venue URL wasn't parsed correctly into h-card
# vika_nezrimaya All because Aperture doesn't pick up h-cards yet. But now it works <3 I left u-url u-uid just in case so implementations would know where's the canonical h-card for it
# vika_nezrimaya at least it should work. aaronpk please tell me it works and which properties need to be present for the pretty map in Monocle
# sknebel !mf2 https://fireburn.ru
# vika_nezrimaya How can I mark it up?
# vika_nezrimaya sknebel++
# vika_nezrimaya ok wait a minute I'll fix my templates :3
# vika_nezrimaya sknebel: no map :c Maybe I need a geo uri?
# vika_nezrimaya aaronpk: I updated my markup, turns out XRay doesn't pick up the geo property at all. Maybe it is a bug? Since python.microformats.io picks it up!
# vika_nezrimaya I think it should, since an h-geo object is a bit more idiomatic than p-latitude and p-longitude IMO
# vika_nezrimaya Ugh >.<
# vika_nezrimaya I dunno php :sob:
# vika_nezrimaya I'm a happy Pythonista, my whole blog engine is Python+Flask
# KartikPrabhu vika_nezrimaya: such discrepancies are bound to exist, since consumers of mf2 are free to select which properties they want to use
# vika_nezrimaya KartikPrabhu: I feel Linux kernel ideology is suitable to mention here: "If kernel changes and something in userspace breaks, it's a kernel regression and should be fixed"
# vika_nezrimaya TL;DR Userspace is always right
# vika_nezrimaya MF2 could use the same ideology
# vika_nezrimaya Markup publisher is always right (as long as markup is reasonable and logical)
# KartikPrabhu it isn't about right/wrong. It is not reasonable to expect all consumers of mf2 to support all properties
# vika_nezrimaya But we can patch stuff <3
# vika_nezrimaya I'll try to fork XRay and add geo property. Don't expect my code to be correct
# KartikPrabhu right, you could file a bug on xray to support h-geo
# KartikPrabhu or better send a PR which might motivate aaronpk to add support
[KevinMarks] joined the channel
# vika_nezrimaya KartikPrabhu: Done! https://github.com/aaronpk/XRay/pull/93 (ping aaronpk)
# KartikPrabhu :thumbsup:
# vika_nezrimaya ANNNNND the CI build failed. lol
# vika_nezrimaya Building...
# vika_nezrimaya And building again. I am NOT a PHP coder, thankfully
# vika_nezrimaya yay it works
[asuh] joined the channel
# vika_nezrimaya I hope it works. I hope aaronpk can test it once he notices me (notice me sempai)
vendan, deathrow1 and Miranda_Blair joined the channel