XSF Communications Team - 2022-04-15


  1. emus

    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

  2. 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

  3. 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

  4. pep.

    Also I guess pictures are gonna be copied to xmpp.org?

  5. emus

    yes, its a markdown string

  6. emus

    just maybe reference the direct picture link

  7. emus

    or do you create a PR?

  8. pep.

    it's a markdown string?

  9. pep.

    markdown is an html superset so this should work

  10. pep.

    If it's allowed in the static-site generator I guess

  11. pep.

    I have the following in my hugo config: [markup.goldmark] [markup.goldmark.renderer] unsafe = true xhtml = true

  12. 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

  13. pep.

    I see

  14. emus

    wurstsalat:

  15. pep.

    I would have done that for privacy reasons, but ok :P

  16. emus

    pep.: maybe take a look at the prvious release

  17. emus

    > pep. escribió: > I would have done that for privacy reasons, but ok :P what exactly?

  18. pep.

    "we wanted to prevent putting the load to peoples server"

  19. pep.

    I'm not asking where to host pictures, xmpp.org is good.

  20. pep.

    Just asking how to present them

  21. emus

    > ![XSF and Google Summer of Code 2022](/images/logos/GSoC_2022_Logo.png "XSF and Google Summer of Code 2022")

  22. emus

    > ![XSF and Google Summer of Code 2022](/images/logos/GSoC_2022_Logo.png "XSF and Google Summer of Code 2022")

  23. emus

    pep.: ah ok

  24. pep.

    No way to provide different formats? :/

  25. emus

    well if you want to do the effort and prepare this as we ususally do, it would be appreciated

  26. emus

    creating the new image folder for april release uploading the picture

  27. emus

    etc

  28. pep.

    I guess we're talking past each other :p

  29. emus

    😅 I think so too

  30. emus

    can you state your question again?

  31. 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>

  32. pep.

    I know it works, that's what I use in my blog, but you might not have the options enabled.

  33. 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

  34. pep.

    traffic?

  35. pep.

    The links to bouah.net are just temporary, we'll move that to xmpp.org

  36. pep.

    But it's certainly reduced traffic to provide avif, it's half the size of the png

  37. pep.

    And clients shouldn't download the first picture if they can't read that format

  38. 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

  39. wurstsalat

    something like this https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/shortcodes/figure.html

  40. pep.

    it's not exactly <figure> that I want, it's <picture> and <source>

  41. pep.

    Why not enable html? Everything goes through PRs anyway

  42. pep.

    How does one use this kind of shortcode?

  43. 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

  44. pep.

    Ok I'll have a look

  45. singpolyma

    pep.: Could split the difference and use webp which is supported everywhere but much smaller than png

  46. wh0

    Hey guys, I am Berry sorry. I had to create a new PR for the german translation.

  47. 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.

  48. wh0

    I hope you can work with it :) Not nice to work on a small notebook ;D

  49. wh0

    emus:

  50. pep.

    Why does `make serve` listen on 0.0.0.0?

  51. emus

    wh0: ok thx

  52. 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

  53. pep.

    Ok