def article_url(content):
 return '{content.settings[SITEURL]}/{content.url}'.format(content=content).encode('utf-8')

def article_url ( content ) : return '{content.settings[SITEURL]}/{content.url}' . format ( content = content ) . encode ( 'utf-8' )
get the url for an item of content .