#dev 2024-10-24
2024-10-24 UTC
# [mattl] [tantek] @lazcorp https://libre.fm/user/mattl/scrobble/1728341197/embed
# [mattl] so you can go to a profile such as https://libre.fm/user/janerationx
# [mattl] you'll get a page like this.... https://libre.fm/user/janerationx/scrobble/1729659569
barnaby joined the channel
geoffo, [Joschi_Kuphal], GuestZero, [aciccarello], [Jo], thegreekgeek_, ttybitnik, thegreekgeek, [aaronpk] and [snarfed] joined the channel
barnaby, [Joe_Crawford], IWSlackGateway, [aciccarello], GuestZero, sebbu and gRegor joined the channel
# [aciccarello] I currently have a /sitemap.xml page. If I added a /sitemap/ page that returns HTML, is that going to mess up indexing of my site in search engines?
# [aciccarello] I'm trying to see if google automatically looks for a sitemap but I'm not seeing anything. Only manual sitemap submission.
# [aciccarello] The html version probably wouldn't link to every single page, just the top level ones. While the XML includes everything.
# [aciccarello] All these /slashes pages are inspiring me to add something for humans.
# [aciccarello] Also might be and excuse to simplify my footer.
# [aciccarello] According to this page, a robots.txt is the place to inform search engines https://www.sitemaps.org/protocol.html#informing
# [aciccarello] Good point
# [aciccarello] I generally try to avoid conneg 😅
# Loqi A sitemap is a list of pages on a website https://indieweb.org/sitemap
# [aciccarello] Apparently netlify doesn't support redirects based on the accepts header
# [aciccarello] Only `Role`, `Language` and `Country`.
GuestZero joined the channel
# [tantek] [mattl] possible opportunity to advocate / offer http://libre.fm opt-in support in this WordPress plugin? https://indieweb.social/@janboddez/113363867985521055
to2ds joined the channel
# [mattl] Yeah, I just asked if they're using http://Libre.fm
# _pi_r2_0[d] conneg--
bterry1 joined the channel
# _pi_r2_0[d] [mattl] it breaks my expectation that to one URL corresponds one resource (and I don't treat 2 distinct representations of the same entity as the same resource)
# _pi_r2_0[d] I want to persist a site by mapping its paths to filesystem paths. when multiple resources exist at a given path I can't do that.
# Loqi conneg is short for HTTP Content Negotiation, a method by which a browser or other web client can request content of various types from a web server, and depending on what is requested, and what the server supports, it tries to provide the best it can https://indieweb.org/conneg
# [tantek] [mattl] I refer you to https://indieweb.org/conneg#Criticism
# _pi_r2_0[d] [mattl] you can conneg image formats, but won't be able to reorient on new tab on download because the cache(s)/server(s) can't distinguish between fetching for display embedded and fetching for full tab / download (nor is a redownload desirable) AFAICT
# _pi_r2_0[d] hmmm lemme double-check the behaviour of <picture><source type=…/></picture> in that regard
# _pi_r2_0[d] Well, you can detect a tab as it'll `Accept` `text/html` first, vs an `img` or `picture > source[type=…]` or CSS `background-url` which won't. However they all seem to offer all image formats all the time in Chrome.
# [Joe_Crawford] On the topic of XML sitemaps I think there’s a fair amount of skepticism of their necessity but the Google console will tell you to add it via a line pointing to it in robots.txt, and if you have more than would “fit” in a single file (there’s a “maximum” of 10,000 urls per sitemap) you break it up into a sitemap that refers to other sitemaps.
# [Joe_Crawford] https://gist.github.com/artlung/613e6ac577a170bf2b4b9045486f129e is approach to that of one feels so loved
# [Joe_Crawford] So MOVED to do so. Thanks autocorrect.
# [Joe_Crawford] But 100% sidefiles--
# [Joe_Crawford] I love the note in the sitemap page about Aaron having that file be blank and not seeing any change in Google. I turned off my sitemaps maybe 6 months ago and I’ve not noticed any better or worse ability to find things in my site in Google, DDG. Maybe too early to see an effect but I think spiders spider.
# [Joe_Crawford] Sidefiles must prove their worth. Earn their keep.
# Loqi sidefiles is a term used for the practice of generating additional files or content to present a similar resource https://indieweb.org/sidefiles
# [Joe_Crawford] Otherwise they must feel the sting of `rm` and `git rm`
# _pi_r2_0[d] Love shipping a bunch of AVIFs for various display sizes and JPEGs for fallback through
# _pi_r2_0[d] does that help anything in any way vs relying on the crawler to discover everything?
# _pi_r2_0[d] you can put newlines in filenames
# _pi_r2_0[d] well, SVG?
# [Joe_Crawford] Podcasts and SVG for the web, yes.
# [Joe_Crawford] for those of us who have programmed against apis that involved data transfer of CSV files or even the horrible fixed line length files the us government uses, XML is a step up.
# [Joe_Crawford] xmlnamespaces enable the richer format Inkscape uses https://wiki.inkscape.org/wiki/Inkscape-specific_XML_attributes
[KevinMarks] joined the channel
# [KevinMarks] I prefer TSV as a replacement for CSV than XML. And yes RSS is bad. I also still maintain a SOAP api
# [Joe_Crawford] I am sorry for your necessity to maintain a SOAP API. Such promise. Such a disappointment.
# [KevinMarks] One of yesterdays unlucky 10,000 https://tech.lgbt/@alexing/113359167986497678
# [Joe_Crawford] How have I never seen that RSS Atom wars page? A depressing ominous delight—history that we must be vigilant to never repeat. https://indieweb.org/RSS_Atom_wars
[Murray] joined the channel
# [KevinMarks] City and street can have varying forms between countries
# [KevinMarks] The UK is a bit precious about what cobatita city. It also has what are known as postal towns which sometimes get used where the US would put city, which can be confusing
# [KevinMarks] Another UK thing is multiple streets with the same name and overlapping within a postal town, as they're actually in different towns or villages.
# [KevinMarks] Here there is Stokesley Road, Marton; Stokesley Road, Nunthorpe and Stokesley Road, Guisborough. However they all have a Postal Town of Middlesbrough, so Google mixes them up.
# [KevinMarks] In the Bay Area there is El Camino Real which runs through multiple cities and reuses numbers too
# [KevinMarks] So storing a postal code can be a useful disambigution
# [Joe_Crawford] like any RESTful interface I think more general to more specific as one reads left to right is best if one isn't going the GUID route.
thegreekgeek joined the channel
# [mattl] [Joe_Crawford] Great song... can you tell me if you expand the details, you see text talking about a future delete function? https://libre.fm/user/artlung/scrobble/1729727492
# [Joe_Crawford] _This is a scrobble you made, so you should be able to delete it from here. Coming soon._
# [Joe_Crawford] [mattl] ^
thegreekgeek_ and jeremy joined the channel
# [Joe_Crawford] [mattl] Found my first ever scrobble I also put to social media. 2013. https://twitter.com/artlung/status/300658173700874241 but it was passive and pretty noisy.