DR.dk working xml importer (missing 3 days at the end of every day because DR doesn...
[nonametv.git] / Importers.txt
blob29bc60e64e19138ba75b2333480e3d8afee149f2
1 Importing from mail
3 - Run getmail to fetch mail from pop-server.
4 - getmail pipes all downloaded messages to nonametv-mailfilter
5 - nonametv-mailfilter figures out which Importer should handle this
6   mail and places all attached files under /var/nonametv/data/<Importer>/.
7   The filename should be an integer that is stored in the state-table
8   for each Importer.
9 - Run nonametv-import-mail from cron. It looks under 
10   /var/nonametv/data/ and runs
11   nonametv-import <Importer> <filename>
12   for each file that it finds. Make sure that the files are processed 
13   in alphabetical order.
15 - The importer runs.
17 Dummy importer
19 Run nonametv-import-test <importer> <contentname> <filename>
20 Call Importer::ImportFile( <contentname>, <filename> );
21 Some grabbers will use the contentname as batchname, some of them will
22 disregard the contentname and find the batchnames inside the file.