Changes
Fixed substring calculations.
domain = "co." .. domain
end
end
local cat = ""
local prefix = ""
local code = string.id:sub(id,string.length(id)-1,-1)
if ( code == "A" ) then
prefix = "http://openlibrary.org/authors/OL"