diff --git a/helpers/wiki_osm.mjs b/helpers/wiki_osm.mjs index 9562fd7..958a940 100644 --- a/helpers/wiki_osm.mjs +++ b/helpers/wiki_osm.mjs @@ -13,7 +13,7 @@ import {getSourceOfDescriptorPageContent} from "./osm_get_description_picture.mj const __dirname = path.resolve(); // select one line of table to override description -// const selectionOverrideOfSectionTable = 2; +// const selectionOverrideOfSectionTable = 19; // const selectionOverrideOfLineTable = 7; // select randomly a line @@ -228,9 +228,11 @@ function checkExistenceOfWebPage(url) { function makePostMessageFromObj(result) { return ` -# [Le tag OSM du jour : ${result.key}=${result.value} ](${result.link}) 🗺️🏷️ +# Le tag OSM du jour : ${result.key}=${result.value} 🗺️🏷️ +${result.link} + ${result.description ? result.description.trim() : ''} -> ${result.long_desc ? result.long_desc.trim() : ''} + ${result.long_desc ? result.long_desc.trim() : ''} #osm #openstreetmap #wiki #rtfw ` }