<?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>All About Free &#187; 等级</title>
	<atom:link href="http://all.aboutfree.me/tag/%e7%ad%89%e7%ba%a7/feed" rel="self" type="application/rss+xml" />
	<link>http://all.aboutfree.me</link>
	<description>付睿的部落格 - 感触付睿的生活...</description>
	<lastBuildDate>Tue, 27 Jul 2010 14:05:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		
<!-- Start Of Script Generated By WP-PostViews Plus -->
<script type='text/javascript' src='http://all.aboutfree.me/wp-includes/js/jquery/jquery.js?ver=1.3.2'></script>
<script type="text/javascript">
/* <![CDATA[ */
jQuery.ajax({type:'GET',url:'http://all.aboutfree.me/wp-content/plugins/wp-postviews-plus/postviews_plus.php',data:'todowppvp=add&type=tag&id=207_1',cache:false,dataType:'script'});
/* ]]> */
</script>
<!-- End Of Script Generated By WP-PostViews Plus -->
	<item>
		<title>开心牧场用户等级计算函数</title>
		<link>http://all.aboutfree.me/589</link>
		<comments>http://all.aboutfree.me/589#comments</comments>
		<pubDate>Wed, 21 Oct 2009 23:19:45 +0000</pubDate>
		<dc:creator>Free</dc:creator>
				<category><![CDATA[技术存档]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[uchome]]></category>
		<category><![CDATA[代码]]></category>
		<category><![CDATA[函数]]></category>
		<category><![CDATA[开心农场]]></category>
		<category><![CDATA[开心牧场]]></category>
		<category><![CDATA[等级]]></category>

		<guid isPermaLink="false">http://all.aboutfree.me/?p=589</guid>
		<description><![CDATA[编写开心牧场get_user_info请求时候返回的信息时候发现
需要返回一段用户等级的内容
但是翻遍了两个php都没发现有相关的代码
无奈&#8230;从httpwatch上看到Referer: Master.swf?v=1
好吧&#8230;反编译了master.swf&#8230;
找啊找&#8230;终于找到了相关的代码

改写成php代码&#8230;
function expToGrade($exp){
return intval(sqrt(($exp+25)/100) - 0.5);
}
]]></description>
		<wfw:commentRss>http://all.aboutfree.me/589/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
