{"id":17660538,"url":"https://github.com/soulteary/wp2md","last_synced_at":"2025-05-07T17:04:04.442Z","repository":{"id":57399556,"uuid":"53803108","full_name":"soulteary/wp2md","owner":"soulteary","description":"Convert WordPress Posts to markdown files. / 将WordPress文章转换为md文件。","archived":false,"fork":false,"pushed_at":"2018-10-20T09:46:28.000Z","size":213,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T02:13:25.685Z","etag":null,"topics":["convert-wordpress-posts","markdown","wordpress","wordpress-data","wp2md"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soulteary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-13T19:22:22.000Z","updated_at":"2019-02-10T14:01:02.000Z","dependencies_parsed_at":"2022-09-09T20:00:53.151Z","dependency_job_id":null,"html_url":"https://github.com/soulteary/wp2md","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soulteary%2Fwp2md","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soulteary%2Fwp2md/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soulteary%2Fwp2md/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soulteary%2Fwp2md/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soulteary","download_url":"https://codeload.github.com/soulteary/wp2md/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235221300,"owners_count":18955189,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["convert-wordpress-posts","markdown","wordpress","wordpress-data","wp2md"],"created_at":"2024-10-23T17:07:32.529Z","updated_at":"2025-01-23T03:27:55.577Z","avatar_url":"https://github.com/soulteary.png","language":"JavaScript","readme":"![wp2md](./logo.png)\n\n# wp2md\n\nConvert WordPress Posts to markdown files.\n\nSplit post meta into json and content into markdown.\n\n## example\n\n```\n./wp2md --export=/path_to_your_export_data/wp2ghost_export.json --timezone=on\n```\n\n## export result\n\n![export result](./wp2md-export.png)\n\n## FAQ\n\n- Q: **How to use?**\n- A: After `npm install`, you can use `./wp2md your_export_json_file_path` to convert your WordPress data..\n\n- Q: **How to get my export json file?**\n- A: Use Ghost export plugin, i support use the plugin which i upload. [PLUGIN](./wordpress-export-plugin.zip)/[HOW](./export-data.png)\n\n- Q: **Why not suggest me use offcial ghost export plugin?**\n- A: It remove lots of post content when exporting.\n\n- Q: **Where should i find my export posts?**\n- A: `./export` [HERE](./export)\n\n\n- Q: **Why not put ```to-markdown.js``` to ```package.json```?**\n- A: L52@`lib/gfm-converters.js` has a problem with tr elements, i'll send a pr later.\n\n- Q: **Why my export post's date is not correct? **\n- A: check your WordPress export data timestamp timezone setting, if you doesn't want to use timezone fix, use `./wp2md your_export_json_file_path timezone=off`.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoulteary%2Fwp2md","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoulteary%2Fwp2md","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoulteary%2Fwp2md/lists"}