I am:
@clb92@feddit.dk (MAIN LEMMY PROFILE)
@clb92@mastodon.social (Main Mastodon profile)
@clb92@kbin.social
@clb92@lemmy.world
@clb92@lemmy.ml
And /u/clb92 on Reddit (and many other places)

  • 0 Posts
  • 42 Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2023

help-circle


  • clb92@feddit.dktoProgrammer Humor@lemmy.mlAI's take on XML
    link
    fedilink
    English
    arrow-up
    27
    ·
    10 days ago

    Lots or file formats are just zipped XML.

    I was reverse engineering fucking around with the LBX file format for our Brother label printer’s software at work, because I wanted to generate labels programmatically, and they’re zipped XML too. Terrible format, LBX, really annoying to work with. The parser in Brother P-Touch Editor is really picky too. A string is 1 character longer or shorter than the length you defined in an attribute earlier in the XML? “I’ve never seen this file format in my life,” says P-Touch Editor.












  • Really cool project, even though it has its flaws. Be prepared to search the documentation and update the configuration via the command line, as there’s no settings page in the web interface.

    I had some trouble with it throwing a fatal error on URLs longer than the max filename length on my filesystem, but the author has been very responsive on GitHub. I replied to a 3-4 year old closed issue and the author opened it again and tried implementing a new fix in the dev version. I’m encountering another issue with using the dev version in my setup right now, but I think that’s being worked on.