@staticmethod<EOL><INDENT>def _prep(e):<DEDENT>
if '<STR_LIT>' in e:<EOL><INDENT>e['<STR_LIT>'] = datetime.datetime.fromtimestamp(int(e['<STR_LIT>']))<EOL><DEDENT>for k in ['<STR_LIT>', '<STR_LIT>', '<STR_LIT:id>', '<STR_LIT>']:<EOL><INDENT>if not k in e:<EOL><INDENT>return e<EOL><DEDENT><DEDENT>e["<STR_LIT:url>"] = "<STR_LIT>" % (e["<STR_LIT>"], e["<STR_LIT>"], e["<STR_LIT:id>"], e["<STR_LIT>"])<EOL>return e<EOL>
Normalizes lastupdate to a timestamp, and constructs a URL from the embedded attributes.