TWiki 以编程方式添加新主题
如何以编程方式向 TWiki 添加新主题?
我已经安装了一个可用的 TWiki (http://twiki.org/),一切正常。
我需要找到一种通过命令行以编程方式创建和添加新主题的方法。
有什么想法可以实现这一点吗?
谢谢!
d.
How can I add a new topic to TWiki programmatically?
I've got a working TWiki (http://twiki.org/) installation, everything works fine.
I need to find a way to create and add new Topics through the command line, programmatically.
Any ideas how this can be accomplished?
Thanx!
d.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我所做的是
What I did was
with content based on data from a DB or some Excel
我认为使用 TWiki 脚本是一种更“干净”的方式,因为您不必担心 TXT 文件中的元数据或更新 .changes 文件。
只需使用 wget 使用“保存”脚本进行 POST 调用(请参阅文档在这里)
I think using TWiki scripts is a more "clean" way, as you wouldn't have to worry about metadata in the TXT file or update the .changes file.
Just use wget to make a POST call using the 'save' script (see documentation here)