{"action":"created","issue":{"url":"https://api.github.com/repos/getnikola/nikola/issues/1867","labels_url":"https://api.github.com/repos/getnikola/nikola/issues/1867/labels{/name}","comments_url":"https://api.github.com/repos/getnikola/nikola/issues/1867/comments","events_url":"https://api.github.com/repos/getnikola/nikola/issues/1867/events","html_url":"https://github.com/getnikola/nikola/pull/1867","id":93368039,"number":1867,"title":"Extending and refactoring WordPress importer","user":{"login":"felixfontein","id":5781356,"avatar_url":"https://avatars.githubusercontent.com/u/5781356?v=3","gravatar_id":"","url":"https://api.github.com/users/felixfontein","html_url":"https://github.com/felixfontein","followers_url":"https://api.github.com/users/felixfontein/followers","following_url":"https://api.github.com/users/felixfontein/following{/other_user}","gists_url":"https://api.github.com/users/felixfontein/gists{/gist_id}","starred_url":"https://api.github.com/users/felixfontein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixfontein/subscriptions","organizations_url":"https://api.github.com/users/felixfontein/orgs","repos_url":"https://api.github.com/users/felixfontein/repos","events_url":"https://api.github.com/users/felixfontein/events{/privacy}","received_events_url":"https://api.github.com/users/felixfontein/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/getnikola/nikola/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"felixfontein","id":5781356,"avatar_url":"https://avatars.githubusercontent.com/u/5781356?v=3","gravatar_id":"","url":"https://api.github.com/users/felixfontein","html_url":"https://github.com/felixfontein","followers_url":"https://api.github.com/users/felixfontein/followers","following_url":"https://api.github.com/users/felixfontein/following{/other_user}","gists_url":"https://api.github.com/users/felixfontein/gists{/gist_id}","starred_url":"https://api.github.com/users/felixfontein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixfontein/subscriptions","organizations_url":"https://api.github.com/users/felixfontein/orgs","repos_url":"https://api.github.com/users/felixfontein/repos","events_url":"https://api.github.com/users/felixfontein/events{/privacy}","received_events_url":"https://api.github.com/users/felixfontein/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-07-06T20:19:14Z","updated_at":"2015-07-07T08:51:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/getnikola/nikola/pulls/1867","html_url":"https://github.com/getnikola/nikola/pull/1867","diff_url":"https://github.com/getnikola/nikola/pull/1867.diff","patch_url":"https://github.com/getnikola/nikola/pull/1867.patch"},"body":"Beginning with some refactoring and extending of the WordPress importer.\r\nDone so far:\r\n * Feeding all posts together with post format through transform_content, and let it decide extension.\r\n * No longer using extension `.wp` for WordPress-to-markdown converted posts.\r\n * Exporting wp-status and excerpt (if available).\r\n * Allowing to exclude private items and include empty items.\r\n * Exporting attachment-post/page relation as JSON file.\r\n\r\nThings to do:\r\n * Add support for WordPress page compiler plugin (both to make new site use it, or to use it to convert WordPress posts to `.html` files).\r\n * Exporting categories (if there's only one per post) including category hierarchy.\r\n * Exporting comments.\r\n\r\n(I.e. moving most code from https://github.com/felixfontein/nikola-wordpress/blob/import-wordpress-refactoring/plugins/command/import_wordpress2.py to here.)\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/getnikola/nikola/1867)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/getnikola/nikola/issues/comments/119126869","html_url":"https://github.com/getnikola/nikola/pull/1867#issuecomment-119126869","issue_url":"https://api.github.com/repos/getnikola/nikola/issues/1867","id":119126869,"user":{"login":"Kwpolska","id":327323,"avatar_url":"https://avatars.githubusercontent.com/u/327323?v=3","gravatar_id":"","url":"https://api.github.com/users/Kwpolska","html_url":"https://github.com/Kwpolska","followers_url":"https://api.github.com/users/Kwpolska/followers","following_url":"https://api.github.com/users/Kwpolska/following{/other_user}","gists_url":"https://api.github.com/users/Kwpolska/gists{/gist_id}","starred_url":"https://api.github.com/users/Kwpolska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kwpolska/subscriptions","organizations_url":"https://api.github.com/users/Kwpolska/orgs","repos_url":"https://api.github.com/users/Kwpolska/repos","events_url":"https://api.github.com/users/Kwpolska/events{/privacy}","received_events_url":"https://api.github.com/users/Kwpolska/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T08:51:13Z","updated_at":"2015-07-07T08:51:13Z","body":"\n\n\n\nReviewed 1 of 2 files at r1.\nReview status: 1 of 2 files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.\n\n---\n\n\n\nComments from the [review on Reviewable.io](https://reviewable.io:443/reviews/getnikola/nikola/1867)\n<!-- Sent from Reviewable.io -->\n"}}