32 lines
893 B
Perl
Executable file
32 lines
893 B
Perl
Executable file
#!/usr/bin/perl
|
|
#
|
|
# content-importer-verify
|
|
#
|
|
# This importer job only does verification steps, which is responsible for
|
|
# doing checks on the username and password given by the user. This should
|
|
# be run on a server on an IP other than your main import workers.
|
|
#
|
|
# Authors:
|
|
# Andrea Nall <anall@andreanall.com>
|
|
# Mark Smith <mark@dreamwidth.org>
|
|
#
|
|
# Copyright (c) 2009 by Dreamwidth Studios, LLC.
|
|
#
|
|
# This program is free software; you may redistribute it and/or modify it under
|
|
# the same terms as Perl itself. For a copy of the license, please reference
|
|
# 'perldoc perlartistic' or 'perldoc perlgpl'.
|
|
#
|
|
|
|
use strict;
|
|
BEGIN {
|
|
require "$ENV{LJHOME}/cgi-bin/ljlib.pl";
|
|
}
|
|
|
|
use LJ::Worker::TheSchwartz;
|
|
use DW::Worker::ContentImporter::LiveJournal::Verify;
|
|
|
|
schwartz_decl( "DW::Worker::ContentImporter::LiveJournal::Verify" );
|
|
|
|
$0 = 'content-importer [bored]';
|
|
|
|
schwartz_work();
|