Après wp2hugo, je teste wordpress-export-to-markdown
-
Le blog :
https://kevquirk.com/blog/how-to-convert-wordpress-to-markdown :
Cela commence ma :
# npm install npm ERR! code EBADENGINE npm ERR! engine Unsupported engine npm ERR! engine Not compatible with your version of node/npm: wordpress-export-to-markdown@3.0.4 npm ERR! notsup Not compatible with your version of node/npm: wordpress-export-to-markdown@3.0.4 npm ERR! notsup Required: {"node":">= 20.5.0"} npm ERR! notsup Actual: {"npm":"9.2.0"} # node --version v18.20.4 # npm -version 9.2.0 -
Tentative n°2 :
# curl -sL https://deb.nodesource.com/setup_20.x | bash 2025-09-24 19:00:45 - Installing pre-requisites ... # apt-get install nodejs -y ... # node --version v20.19.5je peux donc faire une nouvelle tentatives :
# npm install added 67 packages, and audited 68 packages in 3s 12 packages are looking for funding run `npm fund` for details 5 vulnerabilities (3 low, 1 high, 1 critical) To address all issues, run: npm audit fix Run `npm audit` for details. -
Jamais deux sans trois …
# npm audit fix ... # npm install up to date, audited 67 packages in 2s 13 packages are looking for funding run `npm fund` for details found 0 vulnerabilities # npm fund wordpress-export-to-markdown@3.0.4 ├── https://github.com/chalk/chalk?sponsor=1 │ └── chalk@5.4.1 ├── https://github.com/sponsors/sindresorhus │ └── ansi-escapes@4.3.2, type-fest@0.21.3, yoctocolors-cjs@2.1.2 ├── https://github.com/sponsors/isaacs │ └── signal-exit@4.1.0 ├── https://github.com/chalk/ansi-styles?sponsor=1 │ └── ansi-styles@4.3.0 ├── https://opencollective.com/express │ └── iconv-lite@0.7.0 ├── https://github.com/sponsors/RubenVerborgh │ └── follow-redirects@1.15.9 └── https://github.com/sponsors/ljharb └── get-intrinsic@1.3.0, function-bind@1.1.2, gopd@1.2.0, has-symbols@1.1.0, has-tostringtag@1.0.2 -
Miracle cela fonctionne :
# node app.js Starting wizard... ✓ Path to WordPress export file? /root/import/cyberneurones.WordPress.2025-09-22-3.xml ✓ Put each post into its own folder? Yes ✓ Add date prefix to posts? Yes ✓ Organize posts into date folders? Year and month folders ✓ Save images? All Images Parsing...
Bonjour ! Vous semblez intéressé par cette conversation, mais vous n’avez pas encore de compte.
Marre de refaire défiler les mêmes messages ? Créez un compte pour retrouver votre position, recevoir des notifications des nouvelles réponses, sauvegarder vos favoris et voter pour les messages que vous appréciez.
Grâce à votre participation, ce message peut devenir encore meilleur 💗
S'inscrire Se connecter