恢复 Windows Live Writer 文件
Recovering Windows Live Writer Files

原始链接: https://benovermyer.com/blog/2026/04/recovering-windows-live-writer-files/

多年来,作者的旧博客文章被困在已停止使用的Microsoft Windows Live Writer的`.wpost`文件中。由于失去了对原始博客平台的访问权限,并且缺乏逆向工程技能,检索内容似乎是不可能的。 然而,使用AI编码助手Cursor,作者成功创建了一个Python脚本,将`.wpost`文件转换为可用的Markdown格式。进一步的提示显示,这些文件还包含嵌入式图像,Cursor也能够提取这些图像。 这个过程恢复了丢失的内容——包括文本和图像——使以前无法访问的博客文章重新上线。作者慷慨地在Codeberg上分享了`wlw-extractor` Python代码,供面临相同问题的人使用。这证明了AI辅助和数字考古的力量!

Hacker News 新闻 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 恢复 Windows Live Writer 文件 (benovermyer.com) 4 分,bovermyer 1小时前 | 隐藏 | 过去 | 收藏 | 1 条评论 求助 userbinator 3分钟前 [–] 所以我让 Cursor 为我创建一个 Python 脚本,将那些 .wpost 文件转换为 Markdown 文件。而且…它做到了。第一次就成功了。可能因为 https://en.wikipedia.org/wiki/Open_Live_Writer 的源代码在 https://github.com/OpenLiveWriter/OpenLiveWriter 上,而它在训练数据中。回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Over a decade ago, I used a program made by Microsoft called Windows Live Writer for a couple years to write blog posts before uploading them to whatever blog platform I was using at the time.

That program used a proprietary file format. The blog platforms are lost to me now, an unfortunate casuality of my earlier habit of creating (and sunsetting) new websites all the time. Also, Windows Live Writer (and its sort-of successor Open Live Writer) are long since defunct. So while I still had the old .wpost files, I had no way to extract their contents. Until now.

I'm not good at reverse engineering. It's not a skill I ever developed. So, I asked Cursor to make for me a Python script to turn those .wpost files into Markdown files. And... it did. In the first pass.

Well, that was a good start, but the size of the .wpost files seemed to suggest they contained more than just text. So I had Cursor dig further and try to retrieve any image files that might be in there, and lo and behold, it found them!

So posts and images that didn't exist on the Internet anymore are now back online, thanks to Cursor and a bit of human curiosity. I've put the wlw-extractor Python source code on Codeberg for others to use.

Here's a list of all the blog posts I recovered through this process.

联系我们 contact @ memedata.com