add afis hebdo
This commit is contained in:
parent
81f4f0fd1a
commit
9b72ffe5e2
@ -3,7 +3,6 @@ import sendPostMastodon, {
|
||||
getArticlesFromDaysInRssFeed,
|
||||
makeTitleContentFromRss,
|
||||
parseRssFeed,
|
||||
folderBlogPostsPreview
|
||||
} from "./utils.mjs";
|
||||
|
||||
const afis_rss_feed_url = 'https://afis.org/rss.xml';
|
||||
@ -13,7 +12,6 @@ async function postLink() {
|
||||
|
||||
console.log("envoi de post des articles afis sciences publiés depuis " + days_back_in_rss_feed + " jours par le compte tykayn")
|
||||
|
||||
|
||||
let parsedFeed = await parseRssFeed(afis_rss_feed_url)
|
||||
let articles = await getArticlesFromDaysInRssFeed(parsedFeed, days_back_in_rss_feed)
|
||||
console.log('articles', articles)
|
||||
@ -32,11 +30,6 @@ async function postLink() {
|
||||
|
||||
#afis #science #pseudoScience #hebdo`,
|
||||
}
|
||||
console.log("configPost.message", configPost.message)
|
||||
console.log("configPost.image", configPost.image)
|
||||
|
||||
|
||||
// console.log('process.cwd() + \'/assets/blog_posts_medias/\'', process.cwd() + '/assets/blog_posts_medias/')
|
||||
sendPostMastodon(configPost)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user