embeddedUrl content gen
factor out common functions to util lib
query all public badges for embedded content gen