up osm agendadulibre coming soon
This commit is contained in:
parent
024ac97cb1
commit
22a1b3e04c
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
|||||||
import sendPostMastodon, {randomIntFromInterval} from "./libs/utils.mjs";
|
import sendPostMastodon, { randomIntFromInterval } from "./libs/utils.mjs";
|
||||||
import * as coming_events_json from './../assets/documents/agendadulibre_openstreetmap.json' assert {type: 'json'};
|
import * as coming_events_json from './../assets/documents/agendadulibre_openstreetmap.json' assert {type: 'json'};
|
||||||
|
|
||||||
import {getArticlesFromDaysInJson} from './libs/rss_management.mjs'
|
import { getArticlesFromDaysInJson } from './libs/rss_management.mjs'
|
||||||
import moment from "moment";
|
import moment from "moment";
|
||||||
|
|
||||||
let event_date_format = 'dddd DD/MM HH:mm'
|
let event_date_format = 'dddd DD/MM HH:mm'
|
||||||
@ -42,7 +42,8 @@ async function postLink() {
|
|||||||
// disable_slugify: true,
|
// disable_slugify: true,
|
||||||
slug: "osm_event_picture",
|
slug: "osm_event_picture",
|
||||||
content_type: "text/markdown",
|
content_type: "text/markdown",
|
||||||
image: `${process.cwd()}/assets/osm_post_${randomIntFromInterval(1, 5)}.jpg`,
|
image: '',
|
||||||
|
// image: `${process.cwd()}/assets/osm_post_${randomIntFromInterval(1, 5)}.jpg`,
|
||||||
message: `# ${contentOfPost}
|
message: `# ${contentOfPost}
|
||||||
|
|
||||||
#agenda #floss #openstreetmap #hebdo`,
|
#agenda #floss #openstreetmap #hebdo`,
|
||||||
|
@ -32,7 +32,7 @@ export let defaultConfigMasto = {
|
|||||||
disable_slugify: false,
|
disable_slugify: false,
|
||||||
reallySendPost,
|
reallySendPost,
|
||||||
image: '',
|
image: '',
|
||||||
folder_image: process.cwd() + '/assets/blog_posts_medias/',
|
folder_image: process.cwd(),
|
||||||
message: 'Hey coucou! on est le' + nowDate,
|
message: 'Hey coucou! on est le' + nowDate,
|
||||||
scheduled_at: '',
|
scheduled_at: '',
|
||||||
scheduled_at_bool: false,
|
scheduled_at_bool: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user