216
submitted 1 year ago* (last edited 1 year ago) by jackpot@lemmy.ml to c/linux@lemmy.ml

if you could pick a standard format for a purpose what would it be and why?

e.g. flac for lossless audio because...

(yes you can add new categories)

summary:

  1. photos .jxl
  2. open domain image data .exr
  3. videos .av1
  4. lossless audio .flac
  5. lossy audio .opus
  6. subtitles srt/ass
  7. fonts .otf
  8. container mkv (doesnt contain .jxl)
  9. plain text utf-8 (many also say markup but disagree on the implementation)
  10. documents .odt
  11. archive files (this one is causing a bloodbath so i picked randomly) .tar.zst
  12. configuration files toml
  13. typesetting typst
  14. interchange format .ora
  15. models .gltf / .glb
  16. daw session files .dawproject
  17. otdr measurement results .xml
you are viewing a single comment's thread
view the rest of the comments
[-] lloram239@feddit.de 27 points 1 year ago* (last edited 1 year ago)

I'd setup a working group to invent something new. Many of our current formats are stuck in the past, e.g. PDF or ODF are still emulating paper, even so everybody keeps reading them on a screen. What I want to see is a standard document format that is build for the modern day Internet, with editing and publishing in mind. HTML ain't it, as that can't handle editing well or long form documents, EPUB isn't supported by browsers, Markdown lacks a lot of features, etc. And than you have things like Google Docs, which are Internet aware, editable, shareable, but also completely proprietary and lock you into the Google ecosystem.

[-] mexicancartel@lemmy.dbzer0.com 14 points 1 year ago

Epub isn't supported by browsers

So you want EPUB support in browser and you have the ultimate document file format?

[-] lloram239@feddit.de 13 points 1 year ago

It would solve the long-form document problem. It wouldn't help with the editing however. The problem with HTML as it is today, is that it has long left it's document-markup roots and turned into an app development platform, making it not really suitable for plain old documents. You'd need to cut it down to a subset of features that are necessary for documents (e.g. no Javascript), similar to how PDF/A removes features from PDF to create a more reliable and future proof format.

[-] kshade@lemmy.world 4 points 1 year ago

Weasyprint kinda is that, except that it's meant to be rendered to PDF.

[-] mexicancartel@lemmy.dbzer0.com 1 points 1 year ago

Can you explain why you need browser support for epub?

[-] HaggierRapscallier@feddit.nl 7 points 1 year ago

EPubs are just websites bound in xhtml or something. Could we just not make every browser also an epub reader? (I just like epubs).

[-] flying_sheep@lemmy.ml 8 points 1 year ago

They're basically zip files with a standardized metadata file to determine chapter order, index page, … and every chapter is a html file.

[-] lloram239@feddit.de 2 points 1 year ago

That's the idea, and while at it, we could also make .zip files a proper Web technology with browser support. At the moment ePub exists in this weird twilight where it is build out of mostly Web technology, yet isn't actually part of the Web. Everything being packed into .zip files also means that you can't link directly to the individual pages within an ePub, as HTTP doesn't know how to unpack them. It's all weird and messy and surprising that nobody has cleaned it all up and integrated it into the Web properly.

So far the original Microsoft Edge is the only browser I am aware of with native ePub support, but even that didn't survive when they switched to Chrome's Bink.

[-] HaggierRapscallier@feddit.nl 2 points 1 year ago* (last edited 1 year ago)

Microsoft Edge's ePub reader was so good! I would have used it all the time for reading if it hadn't met its demise. Is there no equivalent fork or project out there? The existing epub readers always have these quirks that annoy me to the point where I'll just use Calibre's built in reader which works well enough.

this post was submitted on 03 Oct 2023
216 points (95.8% liked)

Linux

48736 readers
1119 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS