OS X Server Wiki-如何获取一个Wiki页面的内容以显示在另一个Wiki页面上 [英] OS X Server Wiki - How can I get the content of a wiki page to display on another wiki page

查看:246
本文介绍了OS X Server Wiki-如何获取一个Wiki页面的内容以显示在另一个Wiki页面上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在几乎所有Wiki服务器中,您都可以创建指向Wiki上另一个页面的超链接.一个人如何创建一个将另一页面的内容拉入我的页面的窗口?

In just about any wiki server you can create a hyperlink to another page on the wiki. How can one create a window that pulls the other page's content into my page?

我可以添加一个带有iframe的HTML代码段,但它不仅可以提取内容,还可以提取整个页面?

I can add a HTML Snippet with an iframe but it pulls an entire page not just the content?

页面后面的javascript代码没有被混淆,但似乎使用了Prototype,我不理解吗?

The code for the javascript behind the page is not obfuscated but it seems to use Prototype and I don't understant it?

有人对此有任何经验吗?!

Has anyone had any experience with this?!

推荐答案

这无法可靠地完成,可以创建iframe并将其指向的域列入白名单,但它只是将整个页面拉到一个小窗口中.这是完全无法使用的.

This can't be done reliably, one can create iframes and whitelisting the domains it points to but it just pulls the full page into a small window. It's completely unusable.

我一直在寻找的被称为包含"或包含",并且OS X Server不具有MediaWiki显然已标准的功能,并且已经使用了多年.

What I was looking for is called an "inclusion" or "transclusion" and OS X Server does not have the feature that is apparently standard in MediaWiki and has been for years.

更多信息在这里:

这篇关于OS X Server Wiki-如何获取一个Wiki页面的内容以显示在另一个Wiki页面上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆