forked from indymedia/epicyon
Add replies section to posts
parent
f301139626
commit
4c298025f4
18
posts.py
18
posts.py
|
@ -385,15 +385,15 @@ def createPostBase(baseDir: str,nickname: str, domain: str, port: int, \
|
|||
},
|
||||
'attachment': [],
|
||||
'tag': [],
|
||||
'replies': {}
|
||||
# 'id': 'https://'+domain+'/users/'+nickname+'/statuses/'+statusNumber+'/replies',
|
||||
# 'type': 'Collection',
|
||||
# 'first': {
|
||||
# 'type': 'CollectionPage',
|
||||
# 'partOf': 'https://'+domain+'/users/'+nickname+'/statuses/'+statusNumber+'/replies',
|
||||
# 'items': []
|
||||
# }
|
||||
#}
|
||||
'replies': {
|
||||
'id': 'https://'+domain+'/users/'+nickname+'/statuses/'+statusNumber+'/replies',
|
||||
'type': 'Collection',
|
||||
'first': {
|
||||
'type': 'CollectionPage',
|
||||
'partOf': 'https://'+domain+'/users/'+nickname+'/statuses/'+statusNumber+'/replies',
|
||||
'items': []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue