forked from indymedia/epicyon
Plus
parent
944fa554e7
commit
a7de74bb81
|
@ -213,9 +213,9 @@ def xml2StrToDict(baseDir: str, domain: str, xmlStr: str,
|
||||||
publishedDate = publishedDate + hoursAdded
|
publishedDate = publishedDate + hoursAdded
|
||||||
postFilename = ''
|
postFilename = ''
|
||||||
votesStatus = []
|
votesStatus = []
|
||||||
|
pubDateStr = str(publishedDate) + '+00:00'
|
||||||
addNewswireDictEntry(baseDir, domain,
|
addNewswireDictEntry(baseDir, domain,
|
||||||
result,
|
result, pubDateStr,
|
||||||
str(publishedDate) + '00:00',
|
|
||||||
title, link,
|
title, link,
|
||||||
votesStatus, postFilename,
|
votesStatus, postFilename,
|
||||||
description, moderated, mirrored)
|
description, moderated, mirrored)
|
||||||
|
@ -346,9 +346,9 @@ def atomFeedToDict(baseDir: str, domain: str, xmlStr: str,
|
||||||
publishedDate = publishedDate + hoursAdded
|
publishedDate = publishedDate + hoursAdded
|
||||||
postFilename = ''
|
postFilename = ''
|
||||||
votesStatus = []
|
votesStatus = []
|
||||||
|
pubDateStr = str(publishedDate) + '+00:00'
|
||||||
addNewswireDictEntry(baseDir, domain,
|
addNewswireDictEntry(baseDir, domain,
|
||||||
result,
|
result, pubDateStr,
|
||||||
str(publishedDate) + '00:00',
|
|
||||||
title, link,
|
title, link,
|
||||||
votesStatus, postFilename,
|
votesStatus, postFilename,
|
||||||
description, moderated, mirrored)
|
description, moderated, mirrored)
|
||||||
|
|
Loading…
Reference in New Issue