SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

From: Geoffrey T. D. <da...@us...> - 2002年09月17日 20:11:40
Update of /cvsroot/phpwiki/phpwiki/pgsrc
In directory usw-pr-cvs1:/tmp/cvs-serv12968/pgsrc
Added Files:
	OldStyleTablePlugin TranscludePlugin 
Log Message:
New pages to describe new plugins.
--- NEW FILE: OldStyleTablePlugin ---
Date: 2002年9月17日 12:48:59 -0700
Mime-Version: 1.0 (Produced by PhpWiki 1.3.4pre)
Content-Type: application/x-phpwiki;
 pagename=OldStyleTablePlugin;
 flags="";
 author=JeffDairiki;
 version=1;
 lastmodified=1032292139;
 author_id=192.168.1.10;
 markup=2;
 hits=0;
 charset=iso-8859-1
Content-Transfer-Encoding: binary
The OldStyleTablePlugin can be used to include tables within a wiki page using
the old-style markup syntax for tables.
<verbatim>
<?plugin OldStyleTable
||^ *Name* |v *Cost* |v *Notes*
| *First* | *Last*
|> Jeff |< Dairiki |^ Cheap |< Not worth it
|> Marco |< Polo | Cheaper |< Not available
?>
</verbatim>
will get you
<?plugin OldStyleTable
||^ *Name* |v *Cost* |v *Notes*
| *First* | *Last*
|> Jeff |< Dairiki |^ Cheap |< Not worth it
|> Marco |< Polo | Cheaper |< Not available
?>
Note that multiple __|__s lead to spanned columns,
and __v__s can be used to span rows.
A __>__ generates a right justified column,
__<__ a left justified column and __^__ a centered column
(which is the default.)
----
Note that within each table cell, _new-style_ markup is
used. You can only use inline markup --- no block level
markup is allowed within table cells.
(Using old-style markup wouldn't make much sense,
since one can't include multi-line plugin invocations
using the old-style markup rules.)
--- NEW FILE: TranscludePlugin ---
Date: 2002年9月17日 13:03:19 -0700
Mime-Version: 1.0 (Produced by PhpWiki 1.3.4pre)
Content-Type: application/x-phpwiki;
 pagename=TranscludePlugin;
 flags="";
 author=JeffDairiki;
 version=1;
 lastmodified=1032292999;
 author_id=192.168.1.10;
 markup=2;
 hits=0;
 charset=iso-8859-1
Content-Transfer-Encoding: binary
The TranscludePlugin can be used to embed include whole (external) web pages within a wiki page.
! Plugin Arguments
=src= |
 The URL of the page to transclude
=height= |
 The (initial) height of the transclusion frame.
 If, possible, after the transcluded page is loaded,
 the frame is resized via javascript so that it
 fits the entire transcluded page. (See below for more.)
! Bugs / Caveats
o Pages are transcluded using =<iframe>= tags. Older browsers do not support
 ''iframe''s. In that case the user will be presented with a link
 to the trancluded material.
o When possible, JavaScript code is used to adjust the height of the _iframe_
 so that it fits the entire transcluded page. Unfortunately, this seems
 possible only when the transcluded page comes from the same server
 as the wiki page. (This restriction is due to security checks built
 in to the JavaScript language.)
o The recursion detection code does not currently work.
 Be careful to avoid recursive transclusions, or you'll be sorry
 (or at least amused.)
! Example
<verbatim>
<?plugin Transclude src="http://phpwiki.sourceforge.net/demo/ChangeLog" ?>
</verbatim>
will get you
<?plugin Transclude src="http://phpwiki.sourceforge.net/demo/ChangeLog" ?>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /