<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/main.xsl"?>
<b:blog xmlns="http://www.w3.org/1999/xhtml" xmlns:b="http://blog.othree.net"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://blog.othree.net http://blog.othree.net/blooog.xsd">
	<b:blogTitle>O3noBLOG</b:blogTitle>
	<b:blogDescription></b:blogDescription>
	<b:entries>
		<b:entriesMeta>
			<b:listType>s</b:listType>
			<b:listData listID="000308" baseName="mt-textile-patch-for-lightbox">MT Textile patch for lightbox</b:listData>

			<b:previous>
				<b:mTitle>Opera 9 Preview 2</b:mTitle>
				<b:mDate>2006/02/07</b:mDate>
				<b:mBase>opera-9-preview-2</b:mBase>
			</b:previous>


			<b:next>
				<b:mTitle>Google3月登台</b:mTitle>
				<b:mDate>2006/02/16</b:mDate>
				<b:mBase>google-on-taiwan</b:mBase>
			</b:next>

		</b:entriesMeta>
		<b:entry entryID="000308" baseName="mt-textile-patch-for-lightbox">
			<b:author>
				<b:authorName>othree</b:authorName>
				<b:authorEmail>othree@gmail.com</b:authorEmail>
				<b:authorUrl></b:authorUrl>
			</b:author>
			<b:datetime>
				<b:date>2006-02-10</b:date>
				<b:time>23:30:14</b:time>
			</b:datetime>
			<b:category>web</b:category>

			<b:CommentsAccepted>1</b:CommentsAccepted>



			<b:PingsAccepted>1</b:PingsAccepted>


			<b:title>MT Textile patch for lightbox</b:title>
			<b:content>
				<b:summary>前幾天看到lightbox這個js覺得很棒，就套用到我的blog上了，不過舊文章都要修改才能讓效果也出現，因為我是用Textile在寫文章的，後來想一想就乾脆把Textile修改一下，讓他自動偵測連結的網址是不是圖片，是的會就加上rel="lightbox"屬性，檔案只有改到Textile.pm這個檔案，目前只會偵測jpg、png、gif三種副檔名，而且都要小寫，也想要用的只要把修改過的檔案抓回去覆蓋掉原來的就可以了，位置在extlib/Text/。...</b:summary>
				<b:mainContent><p>前幾天看到<a href="http://www.huddletogether.com/projects/lightbox/">lightbox</a>這個js覺得很棒，就套用到我的blog上了，不過舊文章都要修改才能讓效果也出現，因為我是用<a href="http://bradchoate.com/mt-plugins/textile">Textile</a>在寫文章的，後來想一想就乾脆把Textile修改一下，讓他自動偵測連結的網址是不是圖片，是的會就加上<strong>rel="lightbox"</strong>屬性，檔案只有改到<strong>Textile.pm</strong>這個檔案，目前只會偵測jpg、png、gif三種副檔名，而且都要小寫，也想要用的只要把<a href="/log/2006/02/10/mt_textile_patch_for_lightbox/Textile.pm">修改過的檔案</a>抓回去覆蓋掉原來的就可以了，位置在<strong>extlib/Text/</strong>。</p></b:mainContent>
				<b:extendContent></b:extendContent>
			</b:content>
			<b:comments commentCount="0">

			</b:comments>
			<b:trackbacks trackbackCount="0" trackbackURL="http://othree.net/mt/mt-tb.cgi/307">

			</b:trackbacks>
		</b:entry>
	</b:entries>
</b:blog>