Good morning and happy Easter to whom it applies!
almost exactly mid-of month - Newsletter reminder time! I will be limited available till 24th - but you know: Feel free to illustrate the online pad: https://yopad.eu/p/xmpp-newsletter-365days
Until then,
emus✎
emus
Good morning and happy Easter holidays to whom it applies!
almost exactly mid-of month - Newsletter reminder time! I will be limited available till 24th - but you know: Feel free to illustrate the online pad: https://yopad.eu/p/xmpp-newsletter-365days
Until then,
emus ✏
p42ityhas joined
Samhas left
vanitasvitaehas left
vanitasvitaehas joined
TheCoffeMakerhas left
TheCoffeMakerhas joined
pep.
I added a paragraph on poezio 0.14. I'm not sure how you handle pictures generally. In my article I have a <figure> block (in ~html~markdown) and I provide avif and png fallback, so I copied it in for now, tell me if you need something else
pep.
Also I guess pictures are gonna be copied to xmpp.org?
TheCoffeMakerhas left
vanitasvitaehas left
vanitasvitaehas joined
emus
yes, its a markdown string
TheCoffeMakerhas joined
emus
just maybe reference the direct picture link
emus
or do you create a PR?
pep.
it's a markdown string?
pep.
markdown is an html superset so this should work
pep.
If it's allowed in the static-site generator I guess
pep.
I have the following in my hugo config:
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
xhtml = true
emus
well, we did upload the pictures to the image folder in the github repo. then we referenced to that picture with this markdown notation.
if you have a better solution thats fine to me as well. however. we wanted to prevent putting the load to peoples server
pep.
I see
emus
wurstsalat:
pep.
I would have done that for privacy reasons, but ok :P
emus
pep.: maybe take a look at the prvious release
emus
> pep. escribió:
> I would have done that for privacy reasons, but ok :P
what exactly?
pep.
"we wanted to prevent putting the load to peoples server"
pep.
I'm not asking where to host pictures, xmpp.org is good.
pep.
Just asking how to present them
emus
>

✎
emus
> 
✏
emus
pep.: ah ok
pep.
No way to provide different formats? :/
emus
well if you want to do the effort and prepare this as we ususally do, it would be appreciated
emus
creating the new image folder for april release
uploading the picture
emus
etc
pep.
I guess we're talking past each other :p
TheCoffeMakerhas left
emus
😅 I think so too
emus
can you state your question again?
TheCoffeMakerhas joined
pep.
I guess I already have my answer though. I'd like to provide different image format and this is what I have in the pad atm:
<figure>
<picture>
<source srcset="https://bouah.net/2022/04/poezio-full.avif" type="image/avif" />
<img decoding="async" src="https://bouah.net/2022/04/poezio-full.png" alt="Poezio example screenshot" />
</picture>
<figcaption>Release chat in the poezio chatroom.</figcaption>
</figure>
pep.
I know it works, that's what I use in my blog, but you might not have the options enabled.
emus
Ok, but I cannot evaluate what this means regarding traffic and privacy and also not the mail yet.
lets see end of the month
pep.
traffic?
pep.
The links to bouah.net are just temporary, we'll move that to xmpp.org
TheCoffeMakerhas left
pep.
But it's certainly reduced traffic to provide avif, it's half the size of the png
pep.
And clients shouldn't download the first picture if they can't read that format
*IM*has left
la|r|mahas left
adiaholichas joined
la|r|mahas joined
TheCoffeMakerhas joined
la|r|mahas left
TheCoffeMakerhas left
wurstsalat
pep., we've disabled inline html for the whole website. if you'd like to have images linked with multiple sources, you'd have to create a shortcode for that, then use it in the markdown file
wurstsalat
something like this https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/shortcodes/figure.html
Samhas joined
pep.
it's not exactly <figure> that I want, it's <picture> and <source>
pep.
Why not enable html? Everything goes through PRs anyway
pep.
How does one use this kind of shortcode?
wurstsalat
because there can't be any html slipping through when reviewing PRs. shortcodes let you reuse that html on the page, which has resulted in much easier maintenance so far. no copy paste, no search and replace, just edit the shortcode and that's it. you use it with {{< shortcode >}} while shortcode.html is your html container
wh0has left
wh0has joined
TheCoffeMakerhas joined
pep.
Ok I'll have a look
Samhas left
adiaholichas left
adiaholichas joined
emushas left
kikuchiyohas left
adiaholichas left
COM8has joined
COM8has left
TheCoffeMakerhas left
emushas joined
Alexhas left
Alexhas joined
Samhas joined
kikuchiyohas joined
wurstsalathas left
wurstsalathas joined
TheCoffeMakerhas joined
singpolymahas left
singpolymahas joined
TheCoffeMakerhas left
Martinhas left
singpolyma
pep.: Could split the difference and use webp which is supported everywhere but much smaller than png
Martinhas joined
singpolymahas left
singpolymahas joined
adiaholichas joined
TheCoffeMakerhas joined
adiaholichas left
singpolymahas left
singpolymahas joined
adiaholichas joined
TheCoffeMakerhas left
wurstsalathas left
wurstsalathas joined
TheCoffeMakerhas joined
Samhas left
TheCoffeMakerhas left
Samhas joined
*IM*has joined
TheCoffeMakerhas joined
TheCoffeMakerhas left
Samhas left
Samhas joined
Samhas left
singpolymahas left
Samhas joined
singpolymahas joined
la|r|mahas joined
patascahas joined
singpolymahas left
singpolymahas joined
Samhas left
Samhas joined
Samhas left
Alexhas left
Alexhas joined
*IM*has left
adiaholichas left
adiaholichas joined
emushas left
praveenhas left
praveenhas joined
Samhas joined
singpolymahas left
patascahas left
wh0
Hey guys, I am Berry sorry. I had to create a new PR for the german translation.
wh0
I am to dump to check the PR out. I am in holidays and don't want to waste more oft my holy vacation time.
Wojtekhas joined
patascahas joined
wh0
I hope you can work with it :) Not nice to work on a small notebook ;D
singpolymahas joined
Katherinehas left
Katherinehas joined
vanitasvitaehas left
TheCoffeMakerhas joined
wh0
emus:
vanitasvitaehas joined
patascahas left
patascahas joined
TheCoffeMakerhas left
pep.
Why does `make serve` listen on 0.0.0.0?
singpolymahas left
singpolymahas joined
Samhas left
Samhas joined
singpolymahas left
singpolymahas joined
TheCoffeMakerhas joined
patascahas left
patascahas joined
TheCoffeMakerhas left
adiaholichas left
adiaholichas joined
TheCoffeMakerhas joined
adiaholichas left
adiaholichas joined
patascahas left
kikuchiyohas left
emushas joined
adiaholichas left
adiaholichas joined
Samhas left
emus
wh0: ok thx
p42ityhas left
Samhas joined
la|r|mahas left
Samhas left
Samhas joined
TheCoffeMakerhas left
singpolymahas left
TheCoffeMakerhas joined
singpolymahas joined
wurstsalat
pep.: I used that to test from other devices as well. For local testing with a mobile device for example. Listening to 127.0.0.1 won't let you do that