#dev 2024-08-09

2024-08-09 UTC
maezumi, lagomorph_, [qubyte], [jeremycherfas], [aciccarello] and ditzy joined the channel
#
capjamesg[d]
[tantek] Did rel=sweetheart get any adoption?
AramZS and GuestZero joined the channel
#
[tantek]
Early on all the XFN values did
#
[tantek]
Especially among the SXSW crowd
Guest6, [Jo] and GuestZero joined the channel; ditzy left the channel
#
[tantek]
anyone else (besides me and jimwins) trying out the rel=author with explicit type for AP/fedi followable profile discovery? e.g. <link rel="author" type="application/activity+json" href="" />
#
sebbu
i asked a similar question recently about hcard, whether i could separate it from the main page or not (for discovery)
#
sebbu
and i was answered that they was already some (partial) work on that
GuestZero joined the channel
#
[tantek]
right, because that's a different question
#
[tantek]
I'm explicitly asking for folks here who have a personal website AND an @-@ that they use for Mastodon etc. followers
#
[tantek]
I know we have at least a few, like [snarfed] [manton] [KevinMarks] [Joe_Crawford]
#
[tantek]
I'd like to get a few more examples in https://indieweb.org/rel-author#IndieWeb_Examples if we could!
#
[Joe_Crawford]
I do the rel-me to verify links i have put on my Mastodon profile, but I’ve not added rel-author. I was vaguely under the impression (probably a misimpression!) that was more for journalism on a site that was neither mastodon nor a personal website and there would then be a way to verify authorship of a link when shared.
#
[tantek]
it's a bit different, rel-me is for homepage->mastodon profile (since they both represent "you"), whereas rel-author is for postpermalink->homepage or in this case postpermalink directly to mastodon profile
#
[tantek]
the "for journalism" use-case is an instance of "for multi-author sites with reputation" I think
#
[tantek]
and thus they can't depend on any rel-me
#
[tantek]
or rather it's a lot more work to do so
#
[snarfed]
I already have rel=alternate type=application/activity+json , so I hadn't considered rel-author also
#
[snarfed]
seems a bit redundant, but I get the desire for examples in the wild to support the counterproposal to fediverse:creator
#
[tantek]
I think "rel=alternate type=application/activity+json" is a bit different in that it is saying literally this is the exact same object/content as the current page, except in a different format. Whereas "rel=author type=application/activity+json", especially on a post permalink page, is not saying it's the same object/content.
#
[snarfed]
oh I know they're not the same, but they overlap, rel=alternate => AS2 author (attributedTo) vs rel=author
#
[tantek]
also it's one fewer link to follow from a consuming code perspective, as I noted in my reply above to [Joe_Crawford]
#
[tantek]
they don't overlap on your post permalinks for example
#
[snarfed]
sure they do, via the path I mentioned ^
#
[snarfed]
(one less link, sure)
#
[tantek]
right, I think the one fewer link part makes a difference for consuming code looking for an AP followable profile to display
#
[tantek]
maybe an overlap on your homepage, if you consider the AP/AS2 data about you / your profile to be a reasonably accurate/complete equivalent of the info on your home page
#
[tantek]
for me I wouldn't, since my home page represents all sorts of things no AP/AS2 profile data structure does
#
[tantek]
so I wouldn't use "rel=alternate type=application/activity+json" on my home page
#
[tantek]
I suppose I could use it on my post permalinks
#
[snarfed]
yeah that would be rel=me
#
[tantek]
right, rel=me conveys a higher level notion of "this is also me over here" but does not commit or even imply that the destination is an alternative version of the content/info of the current page
#
[snarfed]
when you put rel=alternate on your posts, the useful functionality you get is that you can then search for the post permalink in a fediverse instance and it pulls up your federated post. https://fed.brid.gy/docs#web-searchable
[benatwork], barnaby, beanbrain and Northri joined the channel
#
Northri
Hello, I was wondering if somebody could help point an absolute nooby in the right direction?
#
ptramo[d]
Northri: Don’t ask to ask, just ask 👋
#
Northri
Oh thank you! One second while I write this out...
#
Northri
I have a terribly ugly .md file with a ton of random HTML that I would like to throw in the dumpster. I am a total noob, and I'm not super interested in learning HTML on a deep level. I just want to put together a simple website, not just a blog. Is there a way to do that without learning TOO much HTML?
#
Northri
Not to be lazy, but I have little interest in web building other than this project, and I don't have a ton of time to learn a whole new language.
#
ptramo[d]
how simple are we talking? Tons of cms out there that do more /other than blog
#
Northri
Advanced enough to wrap text around some images, and it would be nice to add audio and some video as well. I'm happy to self-host if it's not overly difficult.
#
ptramo[d]
You might find a Hugo template that does what you want, then it’s a matter of throwing some markdown and yaml together
#
Northri
Good deal, I will look into that. I am fine with markdown and I have a vague sense of how to use YAML. Thank you!
#
ptramo[d]
Hugo is one of many solutions. CMS typically take more infrastructure to deploy, Hugo is a static site generator.
#
Northri
Hold on, I know markdown doesn't do text wrapping without HTML bits added. Does Hugo have a cure for this?
#
Northri
Because all that random HTML is why my current "blog" is so cumbersome and ugly.
#
ptramo[d]
Text wrapping as in have text follow the curve of an image?
#
Northri
Like I might post an image on the right side of the page and I want the text to go over the top, back up to the sides, ,then back under the bottom.
#
Northri
Hard to explain, but basically MD only lets you post an image and you have to have your text above and/or below the image.
#
ptramo[d]
Yeah so expressing this in html is one line, idk that you can beat that?
#
Northri
It's more than that, really. That was just one example.
#
Northri
Does Hugo basically just do the self-hosting part? I would love something that lets you visually do things..
#
ptramo[d]
Well, it’s gonna end up being html one way or another, either you write html directly, or you write something that’s converted to html, or you use a graphical tool that will in all likelihood produce html directly.
#
Northri
Well shoot.. I guess I'll have to keep working on this. Not trying to be sassy with you! I appreciate the help.
#
ptramo[d]
No worries, just trying to help didn’t take anything poorly
#
Northri
Do you think Wordpress is a better idea for somebody like me? I don't mind learning HTML over time, but this project is a bit more time sensitive.
#
ptramo[d]
Self hosting requires a web server you run yourself; the advantage of static site generators like Hugo is that you only have to point a server that handles static files at a directory.
#
ptramo[d]
I’m not super familiar with the Wordpress ecosystem, last I checked content authoring was rather limited out of the box, but it won’t take long to try it and look for extensions
#
ptramo[d]
If you want to make a few pages quickly you can also try an editor like adobe dreamweaver.
#
Northri
That's true. I guess the first step is to learn some HTML basics. Who knows, I might be able to convert my current dumpster fire to something usable.
#
Northri
It TECHNICALLY works as a raw html file in a browser.
#
ptramo[d]
Well dreamweaver typically lets you do things graphically without learning html and css upfront, then you can start modifying in and out of it
#
Northri
I like that! It's definitely an option. I'm going to do some research on both of these options. Thank you again, and have a nice day : )
#
jeremycherfas
To get text wrap, you need to have at least some CSS associated with the HTML. Then it is relatively easy to use Markdown and add CSS
#
Northri
OK dokie, I'll check CSS out as well : )
#
jeremycherfas
Things like `float:right;` and `float:left;` do what you want, and you can add those to the `![]()` syntax in some Markdown dialects.
#
ptramo[d]
You can try something a simple as <img src="demo.jpeg" style="float:right"/>
#
[tantek]
^ and learning that will help with learning how to "add audio and some video as well"
#
[tantek]
since AFAIK md does not have syntaxes for audio and video
#
[tantek]
so you'll have to use HTML for those
#
jeremycherfas
ptramo[d]++ for simplicity
#
Loqi
ptramo[d] has 1 karma over the last year
#
beanbrain
hey so i'm back from the other day
#
beanbrain
i had the idea while at work that i could create a user with write access to my site directory
#
beanbrain
and also give this user ssh access, then just rsync to that user.
#
beanbrain
would that work? is it a sensibly secure way to push to the site dir?
#
[schmarty]
beanbrain: that should work fine!
#
beanbrain
ok! i'll try it!
GuestZero, beanbrain and thegreekgeek joined the channel
#
[tantek]
[snarfed] do you have a homepage or repo for "homegrown"? can you add it to /homegrown (or feel free to otherwise expand/edit that page)
#
[tantek]
what is homegrown
#
Loqi
homegrown is a thin shell wrapper around wp-cli https://indieweb.org/homegrown
bacardi55[m], thegreekgeek_ and ttybitnik joined the channel