<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "請問想在討論區內嵌其他網站的訊息"]]></title>
		<link>https://forum.andowson.com/posts/list/7.page</link>
		<description><![CDATA[Latest messages posted in the topic "請問想在討論區內嵌其他網站的訊息"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>請問想在討論區內嵌其他網站的訊息</title>
				<description><![CDATA[ 要如何實現呢? 
<br>
使用jforum 2.1.9 
<br>
謝謝]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/640/1336.page</guid>
				<link>https://forum.andowson.com/posts/preList/640/1336.page</link>
				<pubDate><![CDATA[Wed, 23 Sep 2015 16:19:05]]> GMT</pubDate>
				<author><![CDATA[ showhi]]></author>
			</item>
			<item>
				<title>回覆:請問想在討論區內嵌其他網站的訊息</title>
				<description><![CDATA[ 如果是網頁上要內嵌其他網站的網頁，一般可以使用HTML的iframe標籤來達成。 
<br>
<br>
如果是討論區中的文章要內嵌其他網站的資料，目前JForum有提供的是透過BBCode嵌入影片的功能，例如youtube, viemo, xuitevlog等。 
<br>
<br>
如果不在目前已有的BBCode內可以自訂自己的BBCode，主要是修改WEB-INF/config/bb_config.xml這個檔案，例如可以新增一個iframe的BBCode: 
<br>
[code="xml"] &lt;match name="iframe" lockedForSmilies="iframe"&gt; 
<br>
 &lt;regex&gt;(?i)\[iframe\](.*?)\[/iframe\]&lt;/regex&gt; 
<br>
 &lt;replace&gt; 
<br>
 &lt;![CDATA[ 
<br>
 &lt;iframe marginwidth="0" marginheight="0" frameborder="0" scrolling="yes" width="800" height="600" src="$1"&gt;&lt;/iframe&gt; 
<br>
 ]]&gt; 
<br>
 &lt;/replace&gt; 
<br>
 &lt;/match&gt;[/code] 
<br>
使用時只要輸入 
<br>
[code][iframe]你要插入的URL[/iframe][/code] 
<br>
<br>
如果該網址沒有阻擋外部網站直接連結即可將該網頁內嵌進來。 
<br>
<br>
 :!: 注意:開放任意網址的iframe功能可能會提高遭受XSS(Cross Site Scripting)攻擊的風險。]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/640/1338.page</guid>
				<link>https://forum.andowson.com/posts/preList/640/1338.page</link>
				<pubDate><![CDATA[Tue, 29 Sep 2015 21:25:15]]> GMT</pubDate>
				<author><![CDATA[ andowson]]></author>
			</item>
	</channel>
</rss>