向 Sharepoint 2007 添加服务器端脚本和 RSS 源?

发布于 2024-12-15 05:07:12 字数 511 浏览 0 评论 0原文

我正在调查我们在 Web 服务器上运行的一些用 Perl 编写的 CGI 脚本的功能是否可以迁移到我们的 Sharepoint 2007 服务器 (MOSS)。

CGI 脚本并不复杂。基本上,它们显示和处理驻留在网络文件系统中的文件内容。 例如,一个脚本仅显示添加到特定文件夹的小文本文件的内容。 这些文件是生产过程的一部分,无法移至 Sharepoint 文档存档中。 CGI 脚本用于概述此生产过程中“队列中的新内容”。 生产过程完成后,它会从文件夹中删除文件。但新文件可能随时到达该文件夹。

我做了一些调查,发现使用“数据视图”Web 部件可以以良好的方式显示数据。 文件需要从文本转换为 XML 格式,然后某些 xslt 才能使其在数据视图 WP 中看起来不错。我想这可以通过某种服务器端脚本来完成? 但是如何以及在哪里将这样的脚本添加到 Sharepoint 中呢?

将其实现为 RSS 提要会是一个好主意吗?但 RSS 提要还需要服务器端脚本,不是吗?

我是 Sharepoint 开发的新手,希望得到任何有用的建议。

I am investigating if the functionality of some CGI scripts written in Perl that we run on a web server can be migrated to our Sharepoint 2007 server (MOSS).

The CGI scripts are not complicated. Basically they display and process contents of files that resides in the network file system.
For instance one script just displays the contents of small text files that are being added to a specific folder.
These files are part of a production process and cannot be moved into a Sharepoint document archive.
The CGI scripts are being used to give an overview on what is "new in the queue" for this production process.
When the production process has finished, it removes the files from the folder. But new files may arrive to the folder at any time.

I have done some investigations and found that using a "Data View" web part would give possibilities of displaying the data in a good way.
The files need to be transformed from text to XML format, before some xslt could make it look good in a Data View WP. I guess that could be done by some kind of server-side script?
But how and where do I add such a script to Sharepoint?

Would it be a good idea implementing this as an RSS feed instead? But an RSS feed would also require a server-side script, wouldn't it?

I am new to Sharepoint development and would appreciate any useful advice.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

記憶穿過時間隧道 2024-12-22 05:07:12

为什么不直接编写一个 自定义 WebPart阅读内容这些文本文件并显示它们。这样您就不会更改这些文本文件。

注意:自定义 Web 部件的链接是我的博客。网上还有很多其他文章:)

Why not just write a Custom WebPart to read the content of those text files and display them. This way you wont be making changes to those text files.

Note : The link to custom Web Part is my blog. There are tonnes of other articles in the net :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文