无需安装 Lotus Notes 软件即可访问 Lotus Notes 数据库的内容
我正在寻找一种编程方式来访问 Lotus Notes 数据库(.nsf 文件)中的内容,而无需安装 Lotus Notes 软件。
Python 是首选,但我也愿意考虑其他语言,例如 C/C++ 或其他方法,例如 SQL
根据我的阅读,所有方法(例如 Python COM 访问、pyodbc)都依赖于安装 Lotus Notes 服务器软件。
我试图解决的问题是阅读内容并查找参考文献(URL 返回到正在进行维护的网站,并且该网站中的地址将会更改)首先,我想获取参考文献列表和希望能够用修改后的网站的新引用来替换它们。
欢迎任何关于如何最好地做到这一点的想法:)
I am looking for a programatic way to access content in a Lotus Notes database (.nsf file) without having Lotus Notes software installed.
Python would be preferred but I'm also willing to look at other languages e.g. C/C++ or other means e.g. SQL
From what I have read, all of the methods e.g. Python COM access, pyodbc rely on having Lotus Notes server software installed.
The problem I am trying to solve is to read the content and look for references (URL's back to a web site that is undergoing maintenance and the addresses in the web site will change) As a start, I want to get a list of references and hope to be able to replace them with the new references to the modified web site.
Any ideas on how best to do this welcome :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
简短的回答是,不幸的是您需要安装 Notes 客户端。有几种方法可以从 NSF 访问数据,例如 NotesSQL、COM、C/C++,但所有方法都依赖于核心的 Lotus C API,并且您需要一个 Notes 客户端和一个 Notes ID 文件才能通过那个API。
The short answer is, unfortunately you will need the Notes client installed. There are a few ways to access data from an NSF such as NotesSQL, COM, C/C++, but all rely on the Lotus C API at the core, and you'll need a notes client and a notes ID file to gain access via that API.
如果这是一次性需求,您也许可以找到免费提供一些简单的 Domino/Notes 托管服务的站点。如果您可以将 NSF 提供这样的服务,那么您就可以使用 Domino URL (REST) 来提取数据并搜索链接等。
If this is a one-time need, you may be able to find sites that will do some simple Domino/Notes hosting for free. If you could put the NSF up to a service like that, you could then use Domino URL's (REST) to extract the data and search for links, etc.
正如肯所说,不可避免地需要有一台服务器。如果您正在 Notes / Domino 应用程序中搜索特定文本并希望替换它,有一个工具可以执行此操作:Teamstudio Configurator。
配置器还有一个 API(用 Lotusscript 编写,非常像 old-skool VB),因此您可以快速编写解决方案。我使用此 API 对旧的基于 Domino 的网站执行了完全相同的操作。
我猜这不是您正在寻找的答案,但有选择总是好的!
Like Ken says, inevitably there has to be a server in the mix. If you're searching for specific text in a Notes / Domino application, and looking to replace it, there's a tool out there which does this: Teamstudio Configurator.
Configurator also has an API (written in Lotusscript, which is very like old-skool VB) so you can code a solution pretty quickly. I've done the exact same thing you're doing with an old Domino-based website, using this API.
Not the answer you're looking for I guess, but always good to have choices!