<?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>Just is here--恰恰在这里 &#187; cookies</title>
	<atom:link href="http://ishere.cn/tag/cookies/feed" rel="self" type="application/rss+xml" />
	<link>http://ishere.cn</link>
	<description>Jena&#039;s blog</description>
	<lastBuildDate>Sat, 14 Apr 2012 07:27:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>js操作cookies</title>
		<link>http://ishere.cn/2007/05/28/js-process-cookies.html</link>
		<comments>http://ishere.cn/2007/05/28/js-process-cookies.html#comments</comments>
		<pubDate>Mon, 28 May 2007 06:28:50 +0000</pubDate>
		<dc:creator>jena</dc:creator>
				<category><![CDATA[keyboard's joy]]></category>
		<category><![CDATA[cookies]]></category>
		<category><![CDATA[js]]></category>

		<guid isPermaLink="false">http://news.aobodo.com/?p=136</guid>
		<description><![CDATA[function setCookie(name,value) { var Days = 30; var exp = new Date(); //new Date(“December 31, 9998&#8243;); exp.setTime(exp.getTime() + Days*24*60*60*1000); document.cookie = name + “=”+ escape (value) + “;expires=” + exp.toGMTString(); } function getCookie(name) { var arr,reg=new RegExp(“(^&#124; )”+name+”=([^;]*)(;&#124;$)”); if(arr=document.cookie.match(reg)) return &#8230; <a href="http://ishere.cn/2007/05/28/js-process-cookies.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p class="code">function setCookie(name,value) {  var Days = 30;  var exp = new Date(); //new Date(“December 31, 9998&#8243;);  exp.setTime(exp.getTime() + Days*24*60*60*1000);  document.cookie = name + “=”+ escape (value) + “;expires=” + exp.toGMTString(); } function getCookie(name) {  var arr,reg=new RegExp(“(^| )”+name+”=([^;]*)(;|$)”);  if(arr=document.cookie.match(reg)) return unescape(arr[2]);  else return null; } function delCookie(name) {  var exp = new Date();  exp.setTime(exp.getTime() &#8211; 1);  var cval=getCookie(name);  if(cval!=null) document.cookie= name + “=”+cval+”;expires=”+exp.toGMTString(); }</p>
]]></content:encoded>
			<wfw:commentRss>http://ishere.cn/2007/05/28/js-process-cookies.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

