OldDlfAdapter(3pm)
π 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:
Lire::DlfConverterProcess(3pm)Lire::DlfStore(3pm)Lire::ImportJob(3pm)Lire::PluginManager(3pm)Lire::DlfConverter(3pm)
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 π
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
- arch rolling: lire 2.1.1-8 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms