#dev 2019-01-22

2019-01-22 UTC
[davidmead] joined the channel
#
[eddie]
That’s really cool!!
[voss], dmcweeney, j12t, chrisaldrich, Ruxton, eli_oat, micahsilverman, [jgmac1106], [davidmead], tw2113, snarfed, [eddie] and snarfed1 joined the channel
#
@ChrisAldrich
↩️ Congratulations on launching into the #IndieWeb in 2019! If it helps, @mxbck recently wrote some excellent articles on using Eleventy to syndicate content to Twitter & add Webmention functionality. Both can be found at: https://indieweb.org/Eleventy #newwwyear https://boffosocko.com/2019/01/21/reply-to-feed-page-by-andy-bell/
(twitter.com/_/status/1087592422404612096)
cweiske, chrisaldrich, [pfefferle] and [frank] joined the channel; tw2113 left the channel
#
[frank]
Hey all...I have a question on Micropub, git and jekyll. Here is the situation I am working on:
#
[frank]
- I have a small server at Digital Ocean with Ubuntu 18.10, ruby and jekyll installed
#
Loqi
[frank]: sknebel left you a message on 2018-11-06 at 11:57am UTC: actually, they even give wordpress press-this as their example, so yeah, that should work :D
#
[frank]
- I have a direct git connection between local and server. So no github, gitlab or any of that.
#
[frank]
- Based on instructions, I use a bare git repo on the server. So only git objects, refs etc.
#
[frank]
- When I git push from local, a post-receive script starts to run to copy the git repo and jekyll build it (see https://sofiya.io/blog/webhooks as an example)
#
[frank]
- This all works fine when I post from my local machine to the server.
#
[frank]
- But when I want to use a micropub client, how do I deal with this? Because most clients build actual files and post them to Github. What are ways to work with this? Are there micropub scripts available to integrate in the above scenario?
#
[frank]
I hope the above makes any sense. I am working on a more extensive blogpost but would like to share some thoughts with the community already
#
cweiske
the micropub clients post directly to github? or rather a micropub endpoint that in turn posts to github?
#
cweiske
if the latter, then you need a micropub server/endpoint that supports direct git pushes, instead of using some proprietary github api
#
jacky
word to what cweiske; using a micropub "proxy" (one that converts a micropub action [create, delete, update] into what Jekyll would expect)
#
jacky
that sounds kinda complicated (IMO; my current site at https://jacky.wtf) is a jekyll one too; I do a git local -> dokku remote that handles the building
#
[frank]
[cweiske] Sorry, I mean an endpoint that turns post to github. But yeah, is there already an endpoint that supports these git pushes?
#
cweiske
no idea
#
jacky
this _might_ help
#
jacky
wait no, you said _no_ github
#
jacky
my bad
#
[frank]
Yeah I'm using that one right now through Heroku
#
[frank]
No worries
#
cweiske
yes, it uses github tokens
#
[frank]
But I want to see if I can break free from Github as well
#
[frank]
Cut out as many middleman as possible
#
cweiske
(I use my own git server, and github only as mirror)
#
[frank]
How do you do micropub then? Through github?
#
cweiske
I don't micropub currently
#
[frank]
Ah OK, that's also a possibility 😉
#
cweiske
and if I have to, I use commentpara.de
#
jacky
for my current site, I do it manually (like making custom posts)
#
[frank]
I might look into git push scripts. I am not really familiar with it...
#
[frank]
Thanks anyway
[Rose] and KartikPrabhu joined the channel
#
@vincentlistens
I've seen quite a few blogs recently linking directly to http://webmention.io for their #webmentions. This is not recommended. http://Webmention.io only holds on to webmentions for up to 30 days and there is a limit on numbers held per blog Save them somewhere! #indieweb
(twitter.com/_/status/1087642972777312256)
#
sknebel
uhh, what? ^^^
iasai and KartikPrabhu joined the channel
#
@vincentlistens
↩️ Hmm I've definately had webmentions vanish when not submitting more over a period of time. I vaguely recall a conversation about it being a temporary store? If I log in to http://webmention.io I can only see the last 40 mentions. The rest are gone?
(twitter.com/_/status/1087651604055117824)
KartikPrabhu joined the channel
#
@HeNeArXn
↩️ You can easily go to the blogs of people using http://webmention.io for a long time and see that the mentions on old posts are still there. E.g. here are mentions from a post from 2015: https://webmention.io/api/mentions.jf2?target=http://tantek.com/2015/218/b1/use-timezone-offsets
(twitter.com/_/status/1087656069709660161)
#
@vincentlistens
↩️ Worked out why I thought this was happening. GET https://webmention.io/api/mentions?token=xxxxxx Will only bring back the recent webmentions, but the readme says "Find all links to all sites in your account". You can still link to them specifically.
(twitter.com/_/status/1087660852831051776)
[Dilara_Cakir] joined the channel
#
[Dilara_Cakir]
Hi everyone I'm Dilara from Turkey
#
@HeNeArXn
↩️ @vincentlistens it's paginated, since returning thousands of mentions wouldn't be very practical: https://github.com/aaronpk/webmention.io#paging
(twitter.com/_/status/1087661887452524546)
[kevinmarks] joined the channel
#
[kevinmarks]
Hi Dilara
#
sknebel
[frank]: you could probably adapt https://github.com/dg01d/nanopub to call git to commit and push a file after it's been created
#
Loqi
[dg01d] nanopub: MicroPub support for Static Blog Engine
#
sknebel
nvm, clicked the link again, now it works...
#
dgold
sknebel: I was rebooting my thing
KartikPrabhu joined the channel
#
jeremycherfas
Can anyone explain why when I mount a remote serrver as a disk on OSX, the Finder sees /logs/example.https as an exe while Forklift (which I use to mount the remote server as a disk, sees it as a folder that contains log files? It is making it more difficult for me to use a local log viewer.
[xavierroy], [Vincent], [jgmac1106] and frankmeeuwsen joined the channel
#
frankmeeuwsen
@sknebel thanks for the link to nanopub. I might look into it, I'm gona try some nodejs first...
swentel, swentie, [xavierroy] and barpthewire joined the channel
#
GWG
swentel, sorry to be the bearer of bad news
#
swentel
hehe, no worries
#
swentel
I didn't know that was possible
#
swentel
in such cases, I usually hate the SHOULD verb though, but oh well :)
#
GWG
swentel, I spent some time trying to make my jf2 compliant for parsing, so I sympathize
#
GWG
I think I still have some errors
#
GWG
I feel like Yarns is getting close, and could be a major driver of users to both Indigenous apps
#
GWG
jackjamieson has done a lot of good work
#
GWG
And the feed processing code continues to improve
[jgmac1106] joined the channel
#
GWG
Both jackjamieson and I adopt the methodology of throwing different kinds of websites at it to find edge cases
#
swentel
yeah, I think I have most cases covered
#
swentel
but I'm using xray of course
#
swentel
so it's quite stable already
#
swentel
I'm struggling with cleanup now, especially with mastodon feeds
#
swentel
that is /so/ tricky
#
swentel
because they have boosted items
[kevinmarks] joined the channel
#
[kevinmarks]
[jeremycherfas] if you right click on the file in macOS do you get a 'show package contents' option? Some types show up as bundles on macOS
#
[kevinmarks]
aren't the boosted items marked up?
#
[kevinmarks]
if not we should fix that
#
swentel
so pinned items, sorry
#
[kevinmarks]
boosted items seem to be h-cite in the mastodon feeds I'm looking at
#
[kevinmarks]
do we have a way to express pinned-ness?
#
[kevinmarks]
what is pinned?
#
Loqi
pin or pinning is a feature that allows the author to choose a post to put at the top of their profile (or homepage) which is then called a pinned or sticky post https://indieweb.org/pinned
[davidmead] joined the channel
#
[kevinmarks]
that pinned posts have visual marking to indicate that, implies to me that they should have some kind of property so that when we're presenting them elsewhere we can show that.
#
[kevinmarks]
mastodon's api has a 'pinned' boolean https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#status but that doesn't show up in the h-feed. The Atom doesn't have the pinned statuses.
#
sknebel
afaik that came up with aaronpk's pinned posts too
[voss] joined the channel
#
jeremycherfas
!tell [kevinmarks] No, no option like that presented. Open with offers to open with Terminal.
#
Loqi
Ok, I'll tell them that when I see them next
snarfed, [pfefferle] and [jgmac1106] joined the channel
#
[jgmac1106]
can anyone find the stupid mistake here: https://edu407.glitch.me/syllabus/tasks.html that is causing the css file not to be used
[chrisburnell] joined the channel
#
[chrisburnell]
reference the file with a prepended / (href="css/style.css" → href="/css/style.css")
#
Loqi
[chrisburnell]: [jgmac1106] left you a message on 2018-12-18 at 3:53am UTC: you might be interested in https://unicyclic.com with your effort to add microformats to your learning platform....
#
[jgmac1106]
thx you that was it...and sorry I never emailed you over the break...was pushing hard to finish grants and my book and this course deign
#
[chrisburnell]
No problem, I feel like I'm still waking up this year, so no rush from my end. 🙂
jackjamieson and [eddie] joined the channel
#
[eddie]
I just read Vika’s article about fear of missing out of social silo stories because of the ephemeral nature
#
[eddie]
I jotted down some thoughts on our stories page brainstorming how the indieweb could do stories without inducing fear
#
[eddie]
Main things were do we allow every person to view a story once? Do we set a time for greater than a day? 2 days? 7 days?
#
[eddie]
Any thoughts on that?
[schmarty] joined the channel
#
[schmarty]
what is ephemeral?
#
Loqi
Expiring content is content that is only temporarily (ephemerally) relevant, and also part of a larger post, that can and should be (preferably automatically) removed once a particular datetime has passed (the expiration date) https://indieweb.org/ephemeral
#
aaronpk
Instagram stories aren't limited to one viewing
#
sknebel
sounds like a main-channel topic :D
#
snarfed
ooh a rare #-dev -> #main migration
snarfed, [smerrill], [Vincent], swentel, [grantcodes] and eli_oat joined the channel
#
[eddie]
!tell jeremycherfas While we're attempting to not do too much on plumbing for stories right now, when aaronpk did do some initial early stories plumbing brainstorming, we did consider the best way to do it so that people could use an external service and not HAVE to build their own stories support. So don't feel like it's "just another thing" you would have to build into your site. But it always needs to start from your domain, like Microsub rea
#
Loqi
Ok, I'll tell them that when I see them next
#
jeremycherfas
Fair enough. But the fact is, right now, if I want my pictures on IG, as stories or as feed, I have to start in IG (or Hootsuite). I can manually post on both my domain and IG, but that's not the same.
#
Loqi
jeremycherfas: [eddie] left you a message 2 minutes ago: While we're attempting to not do too much on plumbing for stories right now, when aaronpk did do some initial early stories plumbing brainstorming, we did consider the best way to do it so that people could use an external service and not HAVE to build their own stories support. So don't feel like it's "just another thing" you would have to build into your site. But it always needs to start from your domain, like Microsub rea
#
[eddie]
That's true, as aaronpk said, it would be great to have OYG stories PESOS once we have an official IndieWeb stories set up
#
jeremycherfas
Do you mean the mf2 for stories, or something else?
#
[eddie]
Like if you posted on Instagram stories, that your posts could then be pulled into your website's IndieWeb Stories feed (whether that is self-hosted or hosted by a service)
#
jeremycherfas
At first glance, a story is a gallery (which might contain only one image) that expires at some point and is no longer shown.
#
[eddie]
On instagram if I post a photo at 4pm, that photo is available until 4pm the next day. If I post a photo at 8pm, now between 8pm and the following 4pm, two photos are available
#
[eddie]
between 4pm and 8pm on the second day only the second photo is available
#
[eddie]
so it's not an expiring gallery, it's a collection of expiring posts
#
jeremycherfas
But they are both, at some point, in your story? You can tell I've never actually used it.
#
jeremycherfas
That's a crucial distinction. Thank you.
#
[eddie]
Yes, between 8pm on day 1 and 4pm on day 2, both photos would be in your story
#
[eddie]
Yep, so you can continue to post things along a day and each item gets its expiration from the date/time of publishing
#
[eddie]
so it's a rolling window for each item
[Rose] joined the channel
#
[Rose]
I'm thinking I want to have something like this on the homepage of my website.
#
[Rose]
I.e. when I'm at events being able to share what I'm up to/where I am right now would be great. It would stay out of the RSS feed - and Grav has unpublish dates so that could work.
KartikPrabhu joined the channel
#
[eddie]
That's good to see more people who would find this useful!
KartikPrabhu, snarfed and [jgmac1106] joined the channel
#
[jgmac1106]
rose can you just list h-events in an aside, and that can be it's own feed as well. That is what I do with course updates on my course homepages
#
[jgmac1106]
its not in my xml or mf2 feeds but technically somebody could subscribe it if I embedded them into an hfeed or used a tag
#
[Rose]
I know I could. I just have to decide how I want to format it.
#
[Rose]
I'm thinking the events will actually have a start date and time in the metadata, and during those I display all other stuff grouped together.
jackjamieson joined the channel
#
[jgmac1106]
exactly how I am setting up now: http://edu407.glitch.me/
#
[jgmac1106]
though I made this template early...need to redesign..but I never remember until its too late
KartikPrabhu, tomasparks, dougbeal|mb1, frankmeeuwsen, [davidmead], chrisaldrich and [schmarty] joined the channel
#
@leekelleher
↩️ I wonder why we felt compelled to offer a "right of reply" on blogs. (Meaning that more conceptually than technical feature.) What are your thoughts about Webmentions? (e.g. modern day pingbacks)
(twitter.com/_/status/1087782371477413888)
#
@jgmac1106
↩️ I keep native comments off to reduce spam and webmentions on.. Haven't gotten any spam yet but the attack vector small enough for most to ignore. (https://quickthoughts.jgregorymcverry.com/s/2jc7Oi)
(twitter.com/_/status/1087785689322844161)
[chrisaldrich] joined the channel
#
@leekelleher
↩️ https://indieweb.org/webmentions https://webmention.io is a free service for it, along with https://brid.gy for monitoring platforms like Twitter, GitHub.
(twitter.com/_/status/1087787211620274179)
#
@leekelleher
↩️ https://indieweb.org/webmentions https://webmention.io is a free service for it, along with https://brid.gy for monitoring platforms like Twitter, GitHub.
(twitter.com/_/status/1087787211620274179)
snarfed joined the channel
#
@schnarfed
↩️ the short answer is microformats, which let the recipient interpret the mention as a reply, like, repost, event rsvp, etc, instead of just a generic page. https://aaronparecki.com/2018/06/30/11/your-first-webmention
(twitter.com/_/status/1087792228666204162)
snarfed joined the channel
#
@leekelleher
↩️ Good question! From what I've read, pingbacks suffered from poor security/spam and being XMLRPC based. How webmentions differ, I'm not sure. I assume it's W3C's reimagining of it.
(twitter.com/_/status/1087795634562830336)
[Rose], leg, [tantek], [schmarty], snarfed, KartikPrabhu, [pfefferle] and [asuh] joined the channel
#
[jgmac1106]
[chrisaldrich] a la weebly...https://quickthoughts.jgregorymcverry.com/2019/01/22/creating-an-indieweb-friendly-experience-on-weebly could be a fun Austin goal...though I want to display webmentions on my own site first
[voss] joined the channel
#
[chrisaldrich]
thanks [jgmac1106]. Bookmarked.
KartikPrabhu joined the channel; frankmeeuwsen left the channel
#
@ChrisAldrich
↩️ I wrote up some broad thoughts about Webmention and web design which you might find helpful. Happy to answer any questions. https://alistapart.com/article/webmentions-enabling-better-communication-on-the-internet https://boffosocko.com/2019/01/22/55741892/
(twitter.com/_/status/1087816663200804864)
fourtonfish joined the channel
#
@aaronpk
↩️ Even though my site uses http://webmention.io as its endpoint, I use the web hooks to push all the responses to my site where it stores its own copy of them.
(twitter.com/_/status/1087825407724802048)
snarfed, KartikPrabhu, [schmarty], fourtonfish, bradenslen and [voss] joined the channel