|
@@ -248,6 +248,7 @@ export function timelineAsJSON(username: string, tweets: Tweet[]): string {
|
|
|
const html = joinChildren(children);
|
|
|
return {
|
|
|
id: tweet.id_str,
|
|
|
+ title: tweet.full_text.split('\n')[0],
|
|
|
url: buildTwitterUrl(`/${tweet.user.screen_name}/status/${tweet.id_str}`),
|
|
|
content_html: html,
|
|
|
date_published: new Date(tweet.created_at).toISOString(),
|