<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>前端 &#8211; 這世上 沒有偶然 只有必然</title>
	<atom:link href="https://wordpress.lokidea.com/tag/%E5%89%8D%E7%AB%AF/feed/" rel="self" type="application/rss+xml" />
	<link>https://wordpress.lokidea.com</link>
	<description>幻幽的小小分享區</description>
	<lastBuildDate>Fri, 03 Jul 2015 15:55:30 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>[前端]中文urlencode,urldecode的問題-純js</title>
		<link>https://wordpress.lokidea.com/303/%e5%89%8d%e7%ab%af%e4%b8%ad%e6%96%87urlencodeurldecode%e7%9a%84%e5%95%8f%e9%a1%8c-%e7%b4%94js/</link>
					<comments>https://wordpress.lokidea.com/303/%e5%89%8d%e7%ab%af%e4%b8%ad%e6%96%87urlencodeurldecode%e7%9a%84%e5%95%8f%e9%a1%8c-%e7%b4%94js/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Fri, 03 Jul 2015 15:55:30 +0000</pubDate>
				<category><![CDATA[js]]></category>
		<category><![CDATA[前端]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[urldecode]]></category>
		<category><![CDATA[urlencode]]></category>
		<category><![CDATA[純js]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=303</guid>

					<description><![CDATA[這問題真的挺少見的 筆記一下 問題情況： 有某中文字串，經過urlencode過，需要使用urldecode， &#8230; <a href="https://wordpress.lokidea.com/303/%e5%89%8d%e7%ab%af%e4%b8%ad%e6%96%87urlencodeurldecode%e7%9a%84%e5%95%8f%e9%a1%8c-%e7%b4%94js/" class="more-link">閱讀全文 <span class="screen-reader-text">[前端]中文urlencode,urldecode的問題-純js</span></a>]]></description>
										<content:encoded><![CDATA[<p>這問題真的挺少見的<br />
筆記一下</p>
<blockquote><p>問題情況：<br />
有某中文字串，經過urlencode過，需要使用urldecode，<br />
但是原始字串編碼並非是UTF-8，所以不能直接使用js 的urldecode function<br />
但是又不能使用後端解碼，只能用js處理</p></blockquote>
<p>網路上搜尋過後，<br />
最常見的解法<br />
就是在JS裡面寫一段解碼表，把utf-8(en) -&gt; big5(de)<br />
找到一段轉換code <a href="https://code.google.com/p/utf8tobig5/" target="_blank" rel="noopener noreferrer">連結</a><br />
網路上也有轉換的線上站 <a href="http://www.mytju.com/classCode/tools/urldecode_big5.asp" target="_blank" rel="noopener noreferrer">連結</a><br />
但是不能用這麼多的js code<br />
於是，另外找了其他作法<br />
<a href="http://www.cnblogs.com/xueduanyang/archive/2013/05/30/3108442.html" target="_blank" rel="noopener noreferrer">(造福中国前端界）纯前端Js完美解决各种汉字urlencode,urldecode，编码解码问题，不借助任何字库，内码表，轻松一行，兼容IE8+，chrome，firefox，safari等主流浏览器</a><br />
<a href="http://xueduany.github.io/KitJs/urlencode.html" target="_blank" rel="noopener noreferrer">範例網址</a><br />
<a href="https://github.com/xueduany/KitJs/blob/gh-pages/urlencode.html" target="_blank" rel="noopener noreferrer">github source code link</a><br />
<span id="more-303"></span><br />
以下為未整理的相關資料<br />
http://fanli7.net/a/bianchengyuyan/C__/20130530/360927.html<br />
http://blog.darkthread.net/post-2008-07-16-querystring-encoding.aspx</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/303/%e5%89%8d%e7%ab%af%e4%b8%ad%e6%96%87urlencodeurldecode%e7%9a%84%e5%95%8f%e9%a1%8c-%e7%b4%94js/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>有趣的網站研究 Day 2</title>
		<link>https://wordpress.lokidea.com/243/%e6%9c%89%e8%b6%a3%e7%9a%84%e7%b6%b2%e7%ab%99%e7%a0%94%e7%a9%b6-day-2/</link>
					<comments>https://wordpress.lokidea.com/243/%e6%9c%89%e8%b6%a3%e7%9a%84%e7%b6%b2%e7%ab%99%e7%a0%94%e7%a9%b6-day-2/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Tue, 09 Jun 2015 15:55:08 +0000</pubDate>
				<category><![CDATA[全端之路]]></category>
		<category><![CDATA[前端]]></category>
		<category><![CDATA[網站研究]]></category>
		<category><![CDATA[js]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=243</guid>

					<description><![CDATA[點到這網站的時候 只是想說這兩個卡通角色竟然有特展 於是就進來看了 但是切換頁面的時候發現 竟然可以用load &#8230; <a href="https://wordpress.lokidea.com/243/%e6%9c%89%e8%b6%a3%e7%9a%84%e7%b6%b2%e7%ab%99%e7%a0%94%e7%a9%b6-day-2/" class="more-link">閱讀全文 <span class="screen-reader-text">有趣的網站研究 Day 2</span></a>]]></description>
										<content:encoded><![CDATA[<p>點到這網站的時候<br />
只是想說這兩個卡通角色竟然有特展<br />
於是就進來看了<br />
但是切換頁面的時候發現<br />
竟然可以用loading的變更<br />
切換頁面不用全部讀取<br />
而且可以平順的切換網址<br />
跟FB很類似的效果</p>
<blockquote><p>網站：http://mmts40.tw/ticket/</p></blockquote>
<p>看了一下code<br />
網站是wordpress架設的<br />
用到wp的一個theme的修改<br />
叫做 Bridge，是在 themeforest 上面販賣的<br />
仔細找一下<br />
平順轉頁的功能是這個theme的公司自己寫的功能</p>
<blockquote><p>gist：<a href="https://gist.github.com/Barneybook/3ad781b965264b34ee7a" target="_blank" rel="noopener noreferrer">https://gist.github.com/Barneybook/3ad781b965264b34ee7a</a></p></blockquote>
<p>theme引用的其中一個js檔，應該就是ajax換頁的功能<br />
我貼到gist上面，其實寫的挺好的<br />
看來需要另外找時間去把code研究研究</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/243/%e6%9c%89%e8%b6%a3%e7%9a%84%e7%b6%b2%e7%ab%99%e7%a0%94%e7%a9%b6-day-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>有趣的網站研究 Day 1</title>
		<link>https://wordpress.lokidea.com/241/%e6%9c%89%e8%b6%a3%e7%9a%84%e7%b6%b2%e7%ab%99%e7%a0%94%e7%a9%b6-day-1/</link>
					<comments>https://wordpress.lokidea.com/241/%e6%9c%89%e8%b6%a3%e7%9a%84%e7%b6%b2%e7%ab%99%e7%a0%94%e7%a9%b6-day-1/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Mon, 08 Jun 2015 15:55:14 +0000</pubDate>
				<category><![CDATA[全端之路]]></category>
		<category><![CDATA[前端]]></category>
		<category><![CDATA[網站研究]]></category>
		<category><![CDATA[js]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=241</guid>

					<description><![CDATA[開始寫新的主題 把別人網站拿來研究也是不錯的主題 網站連結：http://p5jsbrush.yannest. &#8230; <a href="https://wordpress.lokidea.com/241/%e6%9c%89%e8%b6%a3%e7%9a%84%e7%b6%b2%e7%ab%99%e7%a0%94%e7%a9%b6-day-1/" class="more-link">閱讀全文 <span class="screen-reader-text">有趣的網站研究 Day 1</span></a>]]></description>
										<content:encoded><![CDATA[<p>開始寫新的主題<br />
把別人網站拿來研究也是不錯的主題</p>
<blockquote><p>網站連結：<a href="http://p5jsbrush.yannest.com/" target="_blank" rel="noopener noreferrer">http://p5jsbrush.yannest.com/</a><br />
gist：<a href="https://gist.github.com/Barneybook/836248c800f5dbc0cefa" target="_blank" rel="noopener noreferrer">https://gist.github.com/Barneybook/836248c800f5dbc0cefa</a></p></blockquote>
<p>PS:避免code被刪掉，備份到gist了!!<br />
有用到一個<a href="http://p5js.org/" target="_blank" rel="noopener noreferrer">p5.js</a>，感覺也是繪圖用的js<br />
這是一個把滑鼠移動的地方塗白，點選左鍵就會塗黑的範例<br />
&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/241/%e6%9c%89%e8%b6%a3%e7%9a%84%e7%b6%b2%e7%ab%99%e7%a0%94%e7%a9%b6-day-1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
