#NEWLINE# @ classmethod #NEWLINE# def from_entry( cls , entry ) : #NEWLINE# #INDENT# id = entry [ 'id' ] #NEWLINE# updated = datetime . fromtimestamp ( time . mktime ( entry [ 'updated_parsed' ] ) ) #NEWLINE# [ content ] = entry [ 'content' ] #NEWLINE# metadata = json . loads ( content [ 'value' ] ) #NEWLINE# return cls ( id , updated , metadata )