#dev 2019-05-14

2019-05-14 UTC
KartikPrabhu, [tantek], eli_oat, [Rose] and cweiske joined the channel
[cleverdevil] and ingoogni joined the channel
#
jeremycherfas
It will be interesting to see whether he does do anything with that idea.
[xavierroy], [fluffy], [Rose], [tantek], gRegorLove, [Serena], [pfefferle], KartikPrabhu, [aaronpk], [jgmac1106] and jeremych_ joined the channel
#
[tantek]
what is ads.txt?
#
Loqi
It looks like we don't have a page for "ads.txt" yet. Would you like to create it? (Or just say "ads.txt is ____", a sentence describing the term)
jgmac1106, [grantcodes], ingoogni, [frank], [Rose], [aaronpk], eli_oat and [kevinmarks786] joined the channel; mblaney left the channel
#
jeremycherfas
Zegnat Since I added the __DIR__ magic constant to my script, writing out to files stopped working. I am not seeing a good reason yet, but I thought I would ask whether there are some circumstances in which adding __DIR__ might be a bad idea.
#
Zegnat
Not really, it is basically always a good idea to use absolute paths if you know them (e.g. when you know files have to write to the directory the script is in)
[eddie] joined the channel
#
jeremycherfas
Need to go and see what bad changes I might have made to the code. Thanks.
[jgmac1106], [aaronpk], KartikPrabhu, [kim_landwehr], [Rose], snarfed, jackjamieson, [cleverdevil], [schmarty], gRegorLove, snarfed1, gRegorLove_, leg, gxt, [frank] and [calumryan] joined the channel
#
jacky
random: if I have a post that has both photos and videos in it
#
jacky
what kind of post is it? just a 'media' post?
#
jacky
I wonder if the quantity of either/or could help be a tie breaker
#
jacky
could also try to avoid doing this
[kim_landwehr] joined the channel
#
Zegnat
What is album?
#
Loqi
An album is another name for a collection of photos or songs https://indieweb.org/album
#
Zegnat
What is collection?
#
Loqi
A collection is a type of post that explicitly lists and/or embeds multiple other posts chosen by the author https://indieweb.org/collection
#
Zegnat
Something along those lines, maybe, jacky
snarfed joined the channel
#
jacky
hm this seems like the "cleanest" way (going down the route of a collection or album)
#
sknebel
that's come up a few times now
#
jacky
but that'd result in one micropub actions creating n+1 entries on a site
#
jacky
if I upload like 2 videos and two images (all semantically related but not machine-level); that's 5 new entries
#
sknebel
another idea floated was to have a media property through which you can find the order of video/audio/photo content
#
jacky
is that recorded anywhere?
ingoogni joined the channel
#
jacky
doesn't see
#
jacky
for now, I'll make that act of multiple media types be a hard failure on my site
#
jacky
but I do want to experiment with the concept of a collection
#
jacky
it reads a bit like a manually ordered h-feed
#
jacky
(or is a h-feed a collection?)
snarfed joined the channel
#
sknebel
"what is a collection" markupwise is also a very good question :D
#
sknebel
I think there's a github h-entry discussion about posts that combine photo and video
snarfed, [eddie], [calumryan] and KartikPrabhu joined the channel
#
GWG
Hello, snarfed
#
snarfed
hey GWG
#
GWG
Long time no chat. How are dev things?
#
snarfed
heh, ok. mostly non indieweb
#
GWG
I've been doing the Camp Circuit
#
GWG
Taking my Indiewebbing on the road
[jgmac1106] joined the channel
#
[jgmac1106]
In my collections I use p-category to note order of videos
#
GWG
Hoping to make some progress.
#
[jgmac1106]
May be wrong on many levels but here is what I did. This is just video but have some with mixed media
#
Loqi
[J. Gregroy McVerry] Video Guide to HWC Pages