Modulo:Controllo di autorità/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 257:
local function bavLink( id )
-- if not string.match( id, '
--
--
return '[http://viaf.org/processed/BAV%7C' .. id .. ' ' .. id .. ']' .. getCatForId( 'BAV' )
end
local function cerlLink( id )
if not string.match( id, 'cn[cilp]%d%d%d%d%d%d%d%d$' ) then
return false
end
return '[http://thesaurus.cerl.org/record/' .. id .. ' ' .. id .. ']' .. getCatForId( 'CERL' )
end
|