GWGOwnYourSwarm sends an h-entry object to my Micropub endpoint. The Micropub Endpoint parses geo_uris into h-geo or h-card objects to standardize things.
GWGIt confirms the location has coordinates. If it does, it looks up the weather, it calculates whether it is day or night at that location, it calculates the scope of the map to display.
GWGThat's not the problem. The problem comes with the new venue code I'm adding it. I've been storing address information in the individual post. With this, I'd be storing it as part of the venue. OwnYourSwarm sends address data...street, locality, region, etc. I wanted to use that match to an existing venue on my site if it exists, if not, create one. But, I'm wondering, if I get a new
GWGI'm basically trying to figure out, other than the fact I'll store any source URL, the relationship between my local instance of a venue, and any other instances of that venue that may or may not be from OwnYourSwarm. It could be Webmention updates in future
[tantek]barnaby I think you’re underselling it. literally what I was able to do with one line added to my htaccess since ofc I already had an Atom feed etc
barnabysimon doesn’t already have mf2 markup, and I don’t think he sends webmentions automatically, both of which are required for bridgy fed to work well afaik
aaronpkto generate the list of posts to show on my day pages, it includes this SQL: `WHERE DATE(DATE_ADD(sort_date, INTERVAL sort_date_tzoffset SECOND)) = ?`
barnabyso that the data for “simple Y/M/D/H/M/S that I saw on the clock when I wrote the post, used in URL design” and the data for “exact resolvable timestamp the post was published at” are separate and I don’t have to worry about one messing with the other
barnabyI’m thinking of going with an /YYYY/MM/DD/HHMMSS URL design, I don’t anticipate ever posting more than once per second (and could add ms if I wanted to, I suppose)
barnabyyeah, that’s acceptable for importing old content. I’d rather have to only check for conflicts there rather than use an ordinal which I have to keep track of
barnabyhmm then maybe I make the HHMMSS part an opaque slug which defaults to HHMMSS for new content, but where I can set it to arbitrary values to avoid conflicts
barnabyhmm okay so in that case, I’ll go with having an ISO8601 exact datetime for sorting, and then separate local YYYY, MM, DD and slug columns for use in URLs
[schmarty]i've skimmed tantek's NewCalendar write-up a few times over the years but i don't think i've ever made it to the new days-of-the week. RIP thursdays!
barnabyfrom a cool-URIs-don’t-change point of view, are there arguments against just storing a “path” value for each piece of content, making sure it doesn’t conflict with an existing path on creation, and using that for lookups?
barnabyI want to be able to import my old site’s content without changing the existing URLs, so I’m planning on letting each post optionally define a canonical path which I can use for custom URLs
barnabyso then date-based list pages like /2022/10/ would match a hard-coded /yyyy/mm/ route and be handled by that, but /yyyy/mm/dd/slug wouldn’t match any hard-coded routes, and would result in a DB lookup for “/yyyy/mm/dd/slug”
[tantek]I prefer a methodology like what aaronpk is saying which is that "old URLs" are handled like exceptions, rather than forcing that upon all URLs
@joindiaspora@FourthWorldSys@mewe@joinmastodon Not going to happen. It's questionable if the "every piece of software needs to talk to every other piece of software" is even a good approach to take. This already results in several bad UX-edge-cases in ActivityPub-land today, and we don't want to participate in that. (twitter.com/_/status/1586856681656426496)
barnabyheya [denschub], I’d be curious to know what “bad UX-edge-cases in ActivityPub-land” you were referring to if you’re up for elaborating or have links to an existing explanation
[denschub]I kinda wrote two ranty blog posts about ActivityPub, that was at least in part motivated by me working on webbrowser interoperability and AP causing me pain.
[denschub]but I’m observing Friendica, which is a diaspora-compatible PHP-server, but they also support ActivityPub. they’ve had many bugs where they weren’t able to implement ActivityPub, but instead have had to implement “whatever Mastodon does”, because AP leaves out a lot of details, and you kinda have to reverse-engineer existing implementations to end up with something that may be compatible.
[denschub]two very big conflict points I’ve observed are: 1) message length. mastodon limits the max length of message (as they’re trying to be a microblogging-service - makes sense to them), but other systems support much longer articles, and they just… break. mastodon just cuts them off. implementors worked around that by providing a short-enough summary, and a link to the full post, but that’s an UX nightmare: you now have to foll
[denschub]there’s also severe edge-cases around private message. ActivityPub doesn’t quite support direct messages in the sense that diaspora does, they just have usual posts that are only shared with one person (or a group of people). this created bad instances where private messages weren’t visible as private messages in other implementations, and where open to resharing etc.
[denschub]there’s… a lot. there once was a blog post from feneas (“Federated Networks Association”), where they responded to my blog posts by saying “it’s not that bad, you just have to talk to each other and figure out a hack”, with some examples, but sadly that blog post is gone as that association dissolved :/