minor var name tweaks (URL instead of Url etc)
content: edge case workaround to prevent panic
add noddy first-pass at getting publication