lonekorean / wordpress-export-to-markdown

Converts a WordPress export XML file into Markdown files.
MIT License
1.14k stars 227 forks source link

fix date conversion (fix #66) #67

Closed fharper closed 8 months ago

bksubhuti commented 8 months ago

I'm not sure if this fixed the issue i was going to complain about.. but the date versus created is a very annoying bug. The video I watched to get here said it was a problem and I too also had the problem. kudos for writing something if it was this issue. I hope the merges happen.

lonekorean commented 8 months ago

thank you, I will try to take a look by tomorrow.

@bksubhuti I'm unsure if this is the same issue, @bksubhuti can you link the video (and timestamp if possible) you are referring to?

bksubhuti commented 8 months ago

here is the video and time stamp.. he forgot what he fixed.. but created date was from your program and we both had to make a script to replace or add date:

on another note: I had problems with images having /assets/images/myimage.jpg and I needed to script out and remove /assets The big one was that you should give a note about permalinks and adjusting the hugo.toml to have that as the file name. Although everything worked.. The links that google searches provided were broken without permalinks tag. Since I get 2k per month google referrals, this was huge problem last night 5 hours after I went live.

[permalinks]
  posts = "/:filename/"

All in all.. great script.. it saved me so much time. It was much appreciated! I got gpt+ to do the script fixing for me. americanmonk.org

bksubhuti commented 8 months ago

oops.. Video time stamp: https://youtu.be/M1KUf_sEq-Q?t=371

lonekorean commented 8 months ago

thank you @bksubhuti ! I am going to continue the conversation on the issue you created (https://github.com/lonekorean/wordpress-export-to-markdown/issues/103), as I am now pretty sure it's not related to this issue/PR

lonekorean commented 8 months ago

Thank you @fharper, sorry for the delay (and detour in discussion). Merging this now!