Skip to content

Commit 8f53e03

Browse files
authored
Add published date to blog output (#97)
This fixes #94
1 parent c8915d0 commit 8f53e03

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/asfdata.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,7 @@ def process_blog(feed, count, words, debug):
588588
{
589589
'id': get_element_text(entry, 'id'),
590590
'title': get_element_text(entry, 'title'),
591+
'date': get_element_text(entry, 'published'),
591592
'content': content_text
592593
}
593594
)
@@ -597,6 +598,7 @@ def process_blog(feed, count, words, debug):
597598

598599
return [ Blog(href=s['id'],
599600
title=s['title'],
601+
date=s['date'],
600602
content=s['content'])
601603
for s in v]
602604

0 commit comments

Comments
 (0)