#jeremycherfasI'm reading a geojson file and everything works fine, but I get an error XML Parsing Error: not well-formed
#jeremycherfasLine Number 1, Column : which of course is the very beginning of the file. And yet it seems to parse just fine. Anything I can do? Any need to worry?
barpthewire joined the channel
#Zegnatwell-formed means something very specific in XML parlance. But if your parser handled the file, don't worry about it.
#ZegnatIf you are the person producing the file in the first place, you may want to look into producing better XML
#vilhalmerjquery does some weird stuff to try to emulate an xhr object for all requests that pass through $.ajax so it's possible it tries to unconditionally read as xml to see if it can extract some properties
#jeremycherfasZegnat I am a bit lost, because although the alternative appears to read the file (it gives the same malformed error) I cannot seem to find the contents of `var = data`
#jeremycherfasWhich means that the next part `var geojson = L.geoJson(data, {});` fails.
#Zegnatsorry, was doing the dishes. That piece of code on youmightnotneedjquery should be a drop-in replacement for getJSON, yes, and should work in your case (I think).
#ZegnatI would recommend something like that over jQuery because it makes it easier to go back later and learn what is happening behind the scenes. Diving into jQuery source code is no fun.
#@FormationXtof↩️ l'implémentation des webmentions sur l'instance.
Sujet ouvert avec @hugo@masto.pt l'hébergeur de cette instance et qui nous a rejoint sur le canal officiel de discussion #indieweb
@hugo@masto.pt nous a rappelé que Mastodon ne supporte pas (2/3) (twitter.com/_/status/1041325449568182272)
swentel joined the channel
#Zegnatsknebel, interesting idea in #indieweb. How easy would it be to subscribe to all toots of an instance and handle WM sending? As an external party?
#ZegnatYes. But had to drop the work on it as some offline tasks came up.
#vilhalmerseems like the easiest way to get all toots would be to implement the federation protocol and just appear to have zero users so there's nothing that needs to go the other way
#ZegnatYou could try selfhosting Aperture and updating its fetching code to gain the ability to subscribe to licit.li, [jgmac1106] ;) Nice challenge on the ownyourdata front
#vilhalmer(or maybe one user who follows everyone? not sure)
#[jgmac1106]okay thx, looking forward to adding you when your UI is finished
#Zegnatvilhalmer, I thought Mastodon implemented AP so it would only send toots to followers’ inboxes? So the listening code would have to somehow subscribe to every single user on an instance?
#vilhalmerI thought AP was a "secondary" protocol and there was some more mastodon-specific protocol as well
#vilhalmerbut I don't know details of that so it may still be the case
#sknebelyou can just query the timeline through the API, no need for any federation
#[jgmac1106]@vilhamer I do that with jgmac1106@jgregorymcverry.com never thought people could just follow my account and they have a feed of my stuff
#sknebel(assuming you mean the "see everything from a specific instance" thing I mentioned in the main channel)
#jeremycherfasHappy-ish. Need to reduce the amount of hard coding and use variables instead. Also need to see whether I can get that drop in replacement from zegnat to work.
[christophe] joined the channel
#[jgmac1106]@sknebel yeah I am basing my expectation of how I want Mastodon to work based on my experience with bridgy and twitter, i can keep tweets threaded on Twitter and and webmentions threaded on my blog
#@pstuifzandBecause of the interfaces in Go it was really easy to connect HTTP microsub frontend of Ekster to the client part of Ek to build a Microsub proxy. That way all API calls of the reader can be passed without CORS headers through the proxy to your own Microsub server. (twitter.com/_/status/1041389137998348290)
#GWGI need to do some tests on jackjamieson's WordPress Microsub stuff as well
gRegorLove, gdott924, the_cuckoo13, Magne`21, leg and [kevinmarks] joined the channel
#[kevinmarks]The mf1 on blogger was done right à décade ago, but if people have custom templates it can go awry. Also, if they use the js;dr templates you will need to fetch it with an extra param to get the static version iirc
#loqi.mecreated /dunk (+20) "prompted by gRegorLove and redirect added by gRegorLove" (view diff)
Guest68333, [kevinmarks] and noah11 joined the channel