Modul:LinkISBN: Unterschied zwischen den Versionen

K
keine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 47: Zeile 47:
args.demo    = yn( args.demo or '', false )
args.demo    = yn( args.demo or '', false )


local i, s
local result = '', j, s
local result = ''


if args.isbn ~= '' then
if args.isbn ~= '' then
Zeile 55: Zeile 54:
-- analyse ISBNs
-- analyse ISBNs
for i = 1, #items, 1 do
for j = 1, #items, 1 do
s = li.linkISBN( items[ i ], args.noerror, args.demo )
s = li.linkISBN( items[ j ], args.noerror, args.demo )
if s ~= '' then
if s ~= '' then
if result == '' then result = s
if result == '' then
else result = result .. ', ' .. s
result = s
else
result = result .. ', ' .. s
end
end
end
end
Anonymer Benutzer