reformat wiki osm post message
This commit is contained in:
parent
23dca076c4
commit
5453e2cb25
@ -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
|
||||
`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user