OS X Server Wiki - How can I get the content of a wiki page to display on another wiki page

落花浮王杯 提交于 2019-12-25 06:14:44

问题


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?

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

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?!


回答1:


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.

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.

More info here: Wikis - Is there a wiki in which one can create, within a page, "windows" (partial frames) to other pages?



来源:https://stackoverflow.com/questions/23737364/os-x-server-wiki-how-can-i-get-the-content-of-a-wiki-page-to-display-on-anothe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!