Use post content

main
Bob Mottram 2019-11-18 12:02:55 +00:00
parent 077709f180
commit e97e223ecb
1 changed files with 2 additions and 4 deletions

View File

@ -2296,7 +2296,7 @@ def isTimelinePost(filePath: str,boxname: str,postsInBox: []) -> bool:
if 'mediaType' not in postStr or 'image/' not in postStr: if 'mediaType' not in postStr or 'image/' not in postStr:
return False return False
# add the post to the dictionary # add the post to the dictionary
postsInBox.append(filePath) postsInBox.append(postStr)
return True return True
return False return False
@ -2433,9 +2433,7 @@ def createBoxIndexed(session,baseDir: str,boxname: str, \
if p['object'].get('bookmarks'): if p['object'].get('bookmarks'):
p['bookmarks']={} p['bookmarks']={}
# insert it into the box feed boxItems['orderedItems'].append(p)
if not headerOnly:
boxItems['orderedItems'].append(p)
return boxItems return boxItems