-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All Medium Articles are being saved to "drafts" array #11
Comments
Haven't used this in a while, but here's the logic to determine if the file should be a draft: export-medium-to-gatsby/lib/converter.js Line 109 in e908b65
Can you confirm that your file names don't start with draft? |
Also I wonder if this helps or not |
Thanks for the quick reply! I can confirm none of my posts start with "draft". |
Perhaps, I'll try to update the lib file with this change |
I updated the |
No promises on turnaround time, but if you're willing to send me your medium export zip, I can run it locally so see if I can reproduce the issue and then fix it. |
@jamischarles That would be pretty incredible. Not sure what Im doing wrong, I even tried to remove the conditional that checks for the Export is here (it will self destruct after one download 💣) |
Sorry forgot about this lol. Digging into this now. This is what I'm seeing currently. Do you get the same thing? |
Yup! @jamischarles |
Alright. Fixed. I merged a PR about a year ago, and that PR broke the happy path. Sorry about that. I'll need to add tests before I allow any more PRs. Thanks for being patient and filing this. Let me know if you find any more bugs. It should exclude replies, but I don't think that's working properly because medium changed their markup. |
Cool cool. Thanks a lot for sinking your teeth into this! |
Np 👍 |
Hello,
I followed your README instructions and all my posts are being saved to the "drafts" array per the conversion_report. None of my medium articles are drafts, they are in fact public posts. Any thoughts on how to fix this?
I copied and pasted your
template.js
file so it looks like :Unless Im misreading something it looks like drafts should be set to false.
The text was updated successfully, but these errors were encountered: