Include the content from other webpages: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
Line 26: Line 26:
== PHP include function ==
== PHP include function ==
{{Acronym | acronym=PHP | def=Hypertext Preprocessor}} [http://tw.php.net/include/ include function]
{{Acronym | acronym=PHP | def=Hypertext Preprocessor}} [http://tw.php.net/include/ include function]
== wiki softwares ==
* [[DokuWiki export]]
* Mediawiki: [[MediaWiki Template]] / [[Text Formatting Rules]]
* [[OddmuseWikiInstallRecord|oddmuse wiki]]: [http://www.oddmuse.org/cgi-bin/wiki/Transclusion Transclusion] means to include a wiki page from elsewhere into your current page


== other software ==
== other software ==
other software
other software
* [[DokuWiki export]]
* [[MovableType]]: template modules, or [http://www.sixapart.com/pronet/plugins/plugin/multiblog.html MultiBlog] plugin
* [[MovableType]]: template modules, or [http://www.sixapart.com/pronet/plugins/plugin/multiblog.html MultiBlog] plugin
* [[OddmuseWikiInstallRecord|oddmuse wiki]]: [http://www.oddmuse.org/cgi-bin/wiki/Transclusion Transclusion] means to include a wiki page from elsewhere into your current page
* Mediawiki: [[MediaWiki Template]] / [[Text Formatting Rules]]




[[Category:Web_Dev]]
[[Category:Web_Dev]]

Revision as of 08:46, 15 December 2007

usage

  1. seperate the navigation and content into two parts
  2. compare the content from two webpages

approach

frame or iframe

  • frame or iframe tag, object tag
    • 缺點是瀏覽器上的鏈結,非該篇網頁的靜態鏈結。
    • cross frame layers


Apache


javascript

  • general
<script language="JavaScript" type="text/javascript" src="URL"></script>
<noscript><a href="URL">Description</a><noscript>
  • feeds2js
    • Security issue: XCC

PHP include function

PHP include function

wiki softwares


other software

other software