status["author"] = { "name": author_path.name[2:] }
with author_path.open("r", encoding="utf-8") as text:
status["author"]["@id"] = text.read().strip()
+ title_path = next(path.parent.glob("2=*"))
+ if title_path:
+ with title_path.open("r", encoding="utf-8") as text:
+ title = text.read().strip()
+ status["title"] = title
date_path = next(path.parent.glob("3=*"))
datetime = ""
if date_path: