Include the content from other webpages: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
Line 18: Line 18:
* general
* general


  <script language="JavaScript" type="text/javascript" src="URL"></script>
  <script language="JavaScript" type="text/javascript" src="path/to.js"></script>
  <noscript><a href="URL">Description</a><noscript>
  <noscript><a href="URL">Description</a><noscript>



Revision as of 14:44, 24 June 2008

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="path/to.js"></script>
<noscript><a href="URL">Description</a><noscript>
  • feeds2js
    • Security issue: XCC

PHP include function

PHP require_once(), include function ...

wiki softwares

other software

other software