OldDlfAdapter(3pm)

πŸ“¦ version 2.1.1, in arch rolling

πŸ’… Lire::OldDlfAdapter πŸ’…

ok so real talk bestie, this is the Lire::OldDlfAdapter page from LogReport's Lire documentation, and it's literally the little glue module that lets the old-school script-based DLF converters hang out with the shiny new API. no cap. ✨


🌸 SYNOPSIS 🌸

my $converter = new Lire::OldDlfAdatper( "www",
                                         "/usr/libexec/lire/converters/combined2dlf" );
okay don't come for me β€” yes that says OldDlfAdatper in the synopsis, that's exactly how it's written in the original and I am not touching it. copy-paste royalty. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: this class exists so you can integrate the script-based old-style DLF converters into the new API. that's it, that's the whole job. it's giving bridge energy, it's giving "we love backward compatibility". iconic behavior honestly 🫢

πŸŽ€ new( $schema, $script )

the constructor! bestie takes two things:

  • the $schemas that the script supports
  • the path to the $script that actually implements the DLF converter

slay. that's the whole signature, no surprises, no hidden args, we love a simple API. ✨

⭐ script()

returns the path to the script that's being used to create the DLF records. that's it. one job. main character energy honestly πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯

go read these next, i'm obsessed with them:

iykyk πŸ’–


πŸ‘‘ AUTHOR πŸ‘‘

Francis J. Lacoste <flacoste@logreport.org> β€” thank you for your service king 🫑


πŸ’œ VERSION πŸ’œ

$Id: OldDlfAdapter.pm,v 1.17 2006/07/23 13:16:29 vanbaal Exp $

Copyright (C) 2002 Stichting LogReport Foundation LogReport@LogReport.org

This file is part of Lire.

legal time, pay attention bestie, this part is fr fr serious 🚨

Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html.


πŸŽ€ and that's the whole page!! this one's from Lire 2.1.1, dated 2025-09-28 β€” mwah, go forth and convert those DLFs, bestie πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from