{"id":16936520,"url":"https://github.com/jonhoo/wp2ghost","last_synced_at":"2026-03-07T12:37:05.365Z","repository":{"id":13835651,"uuid":"16532531","full_name":"jonhoo/wp2ghost","owner":"jonhoo","description":"Convert WordPress XML exports to Ghost JSON import files","archived":false,"fork":false,"pushed_at":"2026-01-20T18:13:30.000Z","size":27,"stargazers_count":61,"open_issues_count":4,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-01-21T03:42:07.905Z","etag":null,"topics":["blog","conversion","export","ghost","import","wordpress"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonhoo.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":"2014-02-05T02:07:44.000Z","updated_at":"2026-01-20T18:13:34.000Z","dependencies_parsed_at":"2022-09-15T14:54:07.480Z","dependency_job_id":null,"html_url":"https://github.com/jonhoo/wp2ghost","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonhoo/wp2ghost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Fwp2ghost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Fwp2ghost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Fwp2ghost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Fwp2ghost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonhoo","download_url":"https://codeload.github.com/jonhoo/wp2ghost/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Fwp2ghost/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30213265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T12:15:00.571Z","status":"ssl_error","status_checked_at":"2026-03-07T12:15:00.217Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["blog","conversion","export","ghost","import","wordpress"],"created_at":"2024-10-13T20:57:12.826Z","updated_at":"2026-03-07T12:37:05.340Z","avatar_url":"https://github.com/jonhoo.png","language":"JavaScript","readme":"[![Build Status](https://travis-ci.org/jonhoo/wp2ghost.svg?branch=master)](https://travis-ci.org/jonhoo/wp2ghost)\n\nThis script will convert WordPress XML [exports][wpexport] ([WXR][wxr]) to the\nGhost (1.x [for now][1x]) [JSON format][gjson]. This JSON file can then\nbe directly imported using the Ghost debug interface.\n\nWhile there is a [WordPress plugin][wpghost] that will export to the Ghost\nformat directly, it only seems to work some of the time, and users of\nWordPress.com will have a hard time using it seeing how WP.com doesn't allow\nplugins at all (in its free account).\n\nThis is a simple command-line tool that takes a WordPress XML file as input and\nprints the corresponding Ghost JSON to standard out. It currently converts the\nfollowing:\n\n  - Posts: title, slug, content, page/post, featured, status, creation/publication date\n  - Catgeories: name, slug, description (converted to tags)\n  - Tags: name, slug\n\nWordPress authors are parsed, but not added to the output yet because Ghost\ncurrently only supports editing the primary user during imports.\n\nTo run it, you need to have [NodeJS][node] installed (and\n[maybe](https://github.com/jonhoo/wp2ghost/issues/12) also [Python][python]). You\ncan then just run:\n\n    $ cd wp2ghost\n    $ npm install\n    $ node bin/wp2ghost.js \u003cyour-wordpress-xml\u003e \u003e ghost.json\n\nNext, go to http://example.com/ghost, select Labs in the menu on the\nleft, and import `ghost.json`. All your content should now show up!\n\nHappy migrating!\n\n  [wpexport]: http://en.support.wordpress.com/export/\n  [wxr]: http://devtidbits.com/2011/03/16/the-wordpress-extended-rss-wxr-exportimport-xml-document-format-decoded-and-explained/\n  [gjson]: https://docs.ghost.org/api/migration/#json-file-structure\n  [wpghost]: http://wordpress.org/plugins/ghost/\n  [node]: http://nodejs.org/\n  [python]: https://www.python.org/\n  [1x]: https://github.com/jonhoo/wp2ghost/issues/13\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonhoo%2Fwp2ghost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonhoo%2Fwp2ghost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonhoo%2Fwp2ghost/lists"}