【问题标题】:Does anybody know of existing code to read a mork file (Thunderbird Address Book)?有人知道现有代码来读取 mork 文件(Thunderbird 地址簿)吗?
【发布时间】:2010-09-06 13:56:57
【问题描述】:

我需要即时阅读 Thunderbird 通讯录。它以名为 Mork 的文件格式存储。不是一种令人愉快的文件格式阅读。我发现一篇 1999 年的文章解释了文件格式。我很想知道是否有人已经完成了这个过程并且可以提供代码。我通过Jamie Zawinski(他在 Netscape Navigator 工作)找到了 mork.pl,但我希望有一个 .NET 解决方案。

我希望 StackOverflow 能帮上忙,因为这似乎是在浪费我的时间来写一些东西来读取这种文件格式,而它本应该如此简单。

我喜欢 Jamie 在他的 perl script 中添加的 cmets。这是我最喜欢的部分:

#   Let me make it clear that McCusker is a complete barking lunatic.
#   This is just about the stupidest file format I've ever seen.

【问题讨论】:

    标签: .net file-format thunderbird mork


    【解决方案1】:

    Beagle search engine 具有解析 Mork 文件的代码。这不是最节省内存的解决方案,但它有效并且可能是一个有用的起点。这是文件的链接:

    http://svn.gnome.org/viewvc/beagle/tags/BEAGLE_0_2_18/Util/Mork.cs?view=markup

    (如今 Beagle 不再使用此解析器;我们采用了更简单(且受支持)的方式来编写 Thunderbird 扩展,它只是将数据发送到 Beagle 本身。缺点是在 Thunderbird 关闭时无法工作,但是优点是不会灌输用最近的钝器敲击你的头的欲望。)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-06-16
      • 1970-01-01
      • 2020-05-08
      • 2012-05-22
      相关资源
      最近更新 更多