<?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>男人·疯狂</title>
	<atom:link href="http://www.mancrazy.cn/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mancrazy.cn</link>
	<description>一个与大家分享互联网技术、资讯、男人衣着化妆和男人时尚资讯的博客。</description>
	<lastBuildDate>Wed, 16 May 2012 01:19:48 +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>VIRPUS洛杉矶优惠码</title>
		<link>http://www.mancrazy.cn/hosting/1052.html</link>
		<comments>http://www.mancrazy.cn/hosting/1052.html#comments</comments>
		<pubDate>Wed, 16 May 2012 01:19:48 +0000</pubDate>
		<dc:creator>小M</dc:creator>
				<category><![CDATA[服务器空间]]></category>
		<category><![CDATA[virpus优惠码]]></category>
		<category><![CDATA[便宜VPS]]></category>
		<category><![CDATA[美国VPS]]></category>

		<guid isPermaLink="false">http://www.mancrazy.cn/?p=1052</guid>
		<description><![CDATA[之前介绍过VIRPUS的VPS，并且名下有有个年费的一直在用。个人觉得还是挺不错的，稳定没法怎么说，4个VPS2个多月来只有一个未知自动关机，联系了那边技术在2个小时内解决了。整体感觉不错，目前他们推出了新的位于洛杉矶的数据中心的VPS，并且提供了终身80%优惠的VIRPUS优惠码，也有首月25%折扣的优惠码。 LAX1]]></description>
			<content:encoded><![CDATA[<p>之前介绍过<a href="http://www.mancrazy.cn/hosting/948.html">VIRPUS的VPS</a>，并且名下有有个年费的一直在用。个人觉得还是挺不错的，稳定没法怎么说，4个VPS2个多月来只有一个未知自动关机，联系了那边技术在2个小时内解决了。整体感觉不错，目前他们推出了新的位于洛杉矶的数据中心的VPS，并且提供了终身80%优惠的<a href="http://www.mancrazy.cn/hosting/948.html">VIRPUS优惠码</a>，也有首月25%折扣的优惠码。</p>
<p><a href="http://www.mancrazy.cn/govirpus">LAX1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mancrazy.cn/hosting/1052.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wdlinux for magnto 安装 PDO_MYSQL</title>
		<link>http://www.mancrazy.cn/xtech/1048.html</link>
		<comments>http://www.mancrazy.cn/xtech/1048.html#comments</comments>
		<pubDate>Wed, 18 Apr 2012 13:24:12 +0000</pubDate>
		<dc:creator>小M</dc:creator>
				<category><![CDATA[男人X技术]]></category>
		<category><![CDATA[VPS控制面板]]></category>
		<category><![CDATA[虚拟主机控制面板]]></category>

		<guid isPermaLink="false">http://www.mancrazy.cn/?p=1048</guid>
		<description><![CDATA[今天在美国的vps上面安装了一个wdlinux（WDCP）控制面板，安装的是2.4beta版本。安装完成后，安装magento，大家都知道magento需要的环境是比较苛刻的，而且要求的配置比较低。我相信一个普通的1.5G的VPS可以跑7个左右一般流量的ZEN CART外贸网站，但是如果要跑magento外贸网站建设，最好不要超过三个。 安装magento的时候，遇到了pdo_mysql must be loaded的问题。就是本身没有pdo_mysql。用phpinfo查看了一下，发现有pdo这个模块了，那就不需要安装这个了，直接安装pdo_mysql。 wget http://pecl.php.net/get/PDO_MYSQL-1.0.2.tgz tar zxvf PDO_MYSQL-1.0.2.tgz cd PDO_MYSQL-1.0.2 /www/wdlinux/php/bin/phpize ./configure --with-php-config=/www/wdlinux/php/bin/php-config --with-pdo-mysql=/www/wdlinux/mysql make make install 按照上面的方式安装成功后，把下面的语句写入php.ini，如果是wdlinux的话，就是在www/wdlinux/etc/php.ini里面。 extension_dir="/www/wdlinux/php-5.2.17/lib/php/extensions/no-debug-non-zts-20060613" extension=pdo_mysql.so extension=php_pdo.so 上面的extension_dir里面的值是安装完成后，ssh里面给你的。有显示的。到时候记住就好了。 还有一个小提醒，最好是把符号自己输入进去，要不有时候符号问题导致无法安装成功，就太亏了。因为中文和英文符号是有差别的。 之前用kloxo做vps的管理面板，实在觉得还是没有这个好。就是不能限制用户流量和磁盘。不过还很不错，最起码用户有一个权限。而kloxo总是启用suphp不了，也可能是我技穷了。 &#160;]]></description>
			<content:encoded><![CDATA[<p>今天在美国的vps上面安装了一个wdlinux（WDCP）控制面板，安装的是2.4beta版本。安装完成后，安装magento，大家都知道magento需要的环境是比较苛刻的，而且要求的配置比较低。我相信一个普通的1.5G的VPS可以跑7个左右一般流量的ZEN CART外贸网站，但是如果要跑magento<a href="http://www.ouxuan.net">外贸网站建设</a>，最好不要超过三个。</p>
<p>安装magento的时候，遇到了pdo_mysql must be loaded的问题。就是本身没有pdo_mysql。用phpinfo查看了一下，发现有pdo这个模块了，那就不需要安装这个了，直接安装pdo_mysql。</p>
<p><code>wget http://pecl.php.net/get/PDO_MYSQL-1.0.2.tgz<br />
tar zxvf PDO_MYSQL-1.0.2.tgz<br />
cd PDO_MYSQL-1.0.2<br />
/www/wdlinux/php/bin/phpize<br />
./configure --with-php-config=/www/wdlinux/php/bin/php-config --with-pdo-mysql=/www/wdlinux/mysql<br />
make<br />
make install</code></p>
<p>按照上面的方式安装成功后，把下面的语句写入php.ini，如果是wdlinux的话，就是在www/wdlinux/etc/php.ini里面。<br />
<code>extension_dir="/www/wdlinux/php-5.2.17/lib/php/extensions/no-debug-non-zts-20060613"<br />
extension=pdo_mysql.so<br />
extension=php_pdo.so</code></p>
<p>上面的extension_dir里面的值是安装完成后，ssh里面给你的。有显示的。到时候记住就好了。</p>
<p>还有一个小提醒，最好是把符号自己输入进去，要不有时候符号问题导致无法安装成功，就太亏了。因为中文和英文符号是有差别的。</p>
<p>之前用kloxo做vps的管理面板，实在觉得还是没有这个好。就是不能限制用户流量和磁盘。不过还很不错，最起码用户有一个权限。而kloxo总是启用suphp不了，也可能是我技穷了。</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mancrazy.cn/xtech/1048.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>给网站调用/加入各种社会化分享按钮</title>
		<link>http://www.mancrazy.cn/xtech/1046.html</link>
		<comments>http://www.mancrazy.cn/xtech/1046.html#comments</comments>
		<pubDate>Mon, 16 Apr 2012 18:07:40 +0000</pubDate>
		<dc:creator>小M</dc:creator>
				<category><![CDATA[男人X技术]]></category>

		<guid isPermaLink="false">http://www.mancrazy.cn/?p=1046</guid>
		<description><![CDATA[&#60;?php // Google Plusone ?&#62; &#60;script type="text/javascript"&#62;   window.___gcfg = {lang: 'zh-TW'};     (function() {     var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;     po.src = 'https://apis.google.com/js/plusone.js';     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);   })(); &#60;/script&#62; &#60;g:plusone&#62;&#60;/g:plusone&#62;   &#60;?php // Sina Weibo ?&#62; &#60;script type="text/javascript" charset="utf-8"&#62; (function(){   var _w [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><span style="color: #4e6384;">&lt;?php // Google Plusone ?&gt;<br />
&lt;script type="text/javascript"&gt;<br />
  window.___gcfg = {lang: 'zh-TW'};<br />
 <br />
  (function() {<br />
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;<br />
    po.src = 'https://apis.google.com/js/plusone.js';<br />
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);<br />
  })();<br />
&lt;/script&gt;<br />
&lt;g:plusone&gt;&lt;/g:plusone&gt;<br />
 <br />
&lt;?php // Sina Weibo ?&gt;<br />
&lt;script type="text/javascript" charset="utf-8"&gt;<br />
(function(){<br />
  var _w = 90 , _h = 24;<br />
  var param = {<br />
    <a href="http://www.mancrazy.cn/wp-admin/location.href">url:location.href</a>,<br />
    type:'2',<br />
    count:'1',<br />
    appkey:'',<br />
    title:'',<br />
    pic:'',<br />
    ralateUid:'2387284991',<br />
    rnd:new Date().valueOf()<br />
  }<br />
  var temp = [];<br />
  for( var p in param ){<br />
    temp.push(p + '=' + encodeURIComponent( param[p] || '' ) )<br />
  }<br />
  document.write('&lt;iframe allowTransparency="true" frameborder="0" scrolling="no" src="<a href="http://hits.sinajs.cn/A1/weiboshare.html?'">http://hits.sinajs.cn/A1/weiboshare.html?'</a> + temp.join('&amp;') + '" width="'+ _w+'" height="'+_h+'"&gt;&lt;/iframe&gt;')<br />
})()<br />
&lt;/script&gt;<br />
 <br />
&lt;?php // Twiiter ?&gt;<br />
&lt;script type="text/javascript"&gt;<br />
  (function() {<br />
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;<br />
    po.src = '//platform.twitter.com/widgets.js';<br />
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);<br />
  })();<br />
&lt;/script&gt;<br />
&lt;a href="<a href="https://twitter.com/share">https://twitter.com/share</a>" data-count="horizontal" data-via="notabluescreen"&gt;Tweet&lt;/a&gt;<br />
 <br />
&lt;?php // Facebook Like ?&gt;<br />
&lt;div data-send="true" data-layout="button_count" data-width="250" data-show-faces="true"&gt;&lt;/div&gt;<br />
&lt;div id="fb-root"&gt;&lt;/div&gt;<br />
&lt;script&gt;(function(d, s, id) {<br />
  var js, fjs = d.getElementsByTagName(s)[0];<br />
  if (d.getElementById(id)) {return;}<br />
  js = d.createElement(s); js.id = id;<br />
  js.src = "//connect.facebook.net/zh_TW/all.js#xfbml=1";<br />
  fjs.parentNode.insertBefore(js, fjs);<br />
}(document, 'script', 'facebook-jssdk'));&lt;/script&gt;</span></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.mancrazy.cn/xtech/1046.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>kloxo安装老版本。</title>
		<link>http://www.mancrazy.cn/hosting/1044.html</link>
		<comments>http://www.mancrazy.cn/hosting/1044.html#comments</comments>
		<pubDate>Sat, 14 Apr 2012 09:32:35 +0000</pubDate>
		<dc:creator>小M</dc:creator>
				<category><![CDATA[服务器空间]]></category>

		<guid isPermaLink="false">http://www.mancrazy.cn/?p=1044</guid>
		<description><![CDATA[老版本地址：http://download.lxcenter.org/download/archive/ mkdir /tmp/kloxo cd /tmp/kloxo wget http://download.lxcenter.org/download/archive/kloxo-6.1.6.zip mv -f ./kloxo-6.1.6.zip ./kloxo-current.zip wget http://download.lxcenter.org/download/kloxo-install.zip wget http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh sh ./kloxo-installer.sh --type=master]]></description>
			<content:encoded><![CDATA[<p>老版本地址：<a href="http://download.lxcenter.org/download/archive/">http://download.lxcenter.org/download/archive/</a></p>
<p>mkdir /tmp/kloxo<br />
cd /tmp/kloxo</p>
<p>wget <a href="http://download.lxcenter.org/download/archive/kloxo-6.1.6.zip">http://download.lxcenter.org/download/archive/kloxo-6.1.6.zip</a><br />
mv -f ./kloxo-6.1.6.zip ./kloxo-current.zip<br />
wget <a href="http://download.lxcenter.org/download/kloxo-install.zip">http://download.lxcenter.org/download/kloxo-install.zip</a><br />
wget <a href="http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh">http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh</a></p>
<p>sh ./kloxo-installer.sh --type=master</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mancrazy.cn/hosting/1044.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>一个笨方法采集magento的原始图片</title>
		<link>http://www.mancrazy.cn/xtech/1038.html</link>
		<comments>http://www.mancrazy.cn/xtech/1038.html#comments</comments>
		<pubDate>Sat, 07 Apr 2012 03:32:16 +0000</pubDate>
		<dc:creator>小M</dc:creator>
				<category><![CDATA[男人X技术]]></category>
		<category><![CDATA[magento 图片]]></category>
		<category><![CDATA[magento采集]]></category>

		<guid isPermaLink="false">http://www.mancrazy.cn/?p=1038</guid>
		<description><![CDATA[最近一个客户的magento外贸购物网站在建设中，这个外贸网站要求采集其他站的数据，使用过magento的童鞋都知道，magento会自动生成自定义的图片，采集下来的图片一般都用不了。要怎么找到这个笨的方法呢？欧轩网络的技术提醒了我，就是通过批量上传产品的文件夹来批量下载。一般都在/media/import/里面。我们采集好了数据，就能获得所有的图片了，但是这些图片不适合我们网站使用，说不定有些还是有水印的，这时候我们就需要获取magento的最原始的图片。通过某一张图片名称和地址，查看一下是否能打开，能打开就是可以通过我下面的方法了。 在可以打开的前提下，我们来批量获取下载下来的图片名称，因为实在太多了，肯定没办法每一个都手动去下载。我们使用本身电脑自带的批处理来实现，不需要下载任何软件。 在要获取的文件同级目录新建一个txt文本文档，然后输入dir /s/w&#62;&#62;name.txt 接着保存后把这个txt后缀改成bat后缀。然后运行，就生成了一个name.txt的文件了，里面都是该路面下面的所有文件的名称。 接着我们通过删除不需要的沉余代码，然后通过替换，来把所有的图片名补齐成网址，接着最后通过迅雷就能直接批量下载了。 怎么样，是不是还不错呢。]]></description>
			<content:encoded><![CDATA[<p>最近一个客户的magento外贸购物网站在建设中，这个外贸网站要求采集其他站的数据，使用过magento的童鞋都知道，magento会自动生成自定义的图片，采集下来的图片一般都用不了。要怎么找到这个笨的方法呢？欧轩网络的技术提醒了我，就是通过批量上传产品的文件夹来批量下载。一般都在/media/import/里面。我们采集好了数据，就能获得所有的图片了，但是这些图片不适合我们网站使用，说不定有些还是有水印的，这时候我们就需要获取magento的最原始的图片。通过某一张图片名称和地址，查看一下是否能打开，能打开就是可以通过我下面的方法了。<a href="http://www.mancrazy.cn/wp-content/uploads/2012/04/magento-caiji1.jpg"><img class="alignnone size-full wp-image-1039" title="magento-caiji1" src="http://www.mancrazy.cn/wp-content/uploads/2012/04/magento-caiji1.jpg" alt="" width="514" height="407" /></a></p>
<p>在可以打开的前提下，我们来批量获取下载下来的图片名称，因为实在太多了，肯定没办法每一个都手动去下载。我们使用本身电脑自带的批处理来实现，不需要下载任何软件。</p>
<p>在要获取的文件同级目录新建一个txt文本文档，然后输入dir /s/w&gt;&gt;name.txt 接着保存后把这个txt后缀改成bat后缀。然后运行，就生成了一个name.txt的文件了，里面都是该路面下面的所有文件的名称。</p>
<p><a href="http://www.mancrazy.cn/wp-content/uploads/2012/04/magento-caiji2.jpg"><img class="alignnone size-full wp-image-1040" title="magento-caiji2" src="http://www.mancrazy.cn/wp-content/uploads/2012/04/magento-caiji2.jpg" alt="" width="462" height="247" /></a></p>
<p>接着我们通过删除不需要的沉余代码，然后通过替换，来把所有的图片名补齐成网址，接着最后通过迅雷就能直接批量下载了。</p>
<p>怎么样，是不是还不错呢。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mancrazy.cn/xtech/1038.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>temple run已正式登陆安卓市场</title>
		<link>http://www.mancrazy.cn/mobile/android-games/1034.html</link>
		<comments>http://www.mancrazy.cn/mobile/android-games/1034.html#comments</comments>
		<pubDate>Tue, 27 Mar 2012 17:02:47 +0000</pubDate>
		<dc:creator>小M</dc:creator>
				<category><![CDATA[android游戏篇]]></category>
		<category><![CDATA[temple run安卓版]]></category>
		<category><![CDATA[temple run安卓版下载]]></category>

		<guid isPermaLink="false">http://www.mancrazy.cn/?p=1034</guid>
		<description><![CDATA[今天一直在安卓市场查看temple run，但是都没有上线，晚上查看了一下，temple run安卓版1.0已经正式登陆安卓市场（google play）。 下载地址 此时千言万语，化作我去下载来玩了。这个游戏可是男人疯狂期待很久的了。]]></description>
			<content:encoded><![CDATA[<p>今天一直在安卓市场查看temple run，但是都没有上线，晚上查看了一下，temple run安卓版1.0已经正式登陆安卓市场（google play）。</p>
<p><a href="https://play.google.com/store/apps/details?id=com.imangi.templerun&amp;feature=search_result" target="_blank">下载地址</a></p>
<p><a href="http://www.mancrazy.cn/wp-content/uploads/2012/03/20120328010123.jpg"><img class="alignnone size-full wp-image-1035" title="20120328010123" src="http://www.mancrazy.cn/wp-content/uploads/2012/03/20120328010123.jpg" alt="" width="643" height="370" /></a></p>
<p>此时千言万语，化作我去下载来玩了。这个游戏可是<span class='bm_keywordlink'><a href='http://mancrazy.cn'>男人疯狂</a></span>期待很久的了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mancrazy.cn/mobile/android-games/1034.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>好玩的-手机电话听筒</title>
		<link>http://www.mancrazy.cn/toy/1025.html</link>
		<comments>http://www.mancrazy.cn/toy/1025.html#comments</comments>
		<pubDate>Sat, 24 Mar 2012 07:18:39 +0000</pubDate>
		<dc:creator>小M</dc:creator>
				<category><![CDATA[玩物男人]]></category>
		<category><![CDATA[安卓]]></category>
		<category><![CDATA[手机听筒]]></category>
		<category><![CDATA[手机电话听筒]]></category>

		<guid isPermaLink="false">http://www.mancrazy.cn/?p=1025</guid>
		<description><![CDATA[男人疯狂今天给大家介绍一款手机电话听筒。什么叫做手机电话听筒呢？就是类似我们平时的固话座机的听筒，但是功能又和手机耳机线一样，插入手机就可以用来接听电话。相比我们原来直接用手机接听电话，辐射更低，接听更清晰，而且还很酷哦亲~！ 现在安卓、IPHONE、诺基亚（很少听见这个牌子了，想当年可是绝对的霸主啊。）都有支持的机型，一些还在听筒上可调节音量、重拨电话等。 你动心了吗亲~]]></description>
			<content:encoded><![CDATA[<p><span class='bm_keywordlink'><a href='http://mancrazy.cn'>男人疯狂</a></span>今天给大家介绍一款手机电话听筒。什么叫做手机电话听筒呢？就是类似我们平时的固话座机的听筒，但是功能又和手机耳机线一样，插入手机就可以用来接听电话。相比我们原来直接用手机接听电话，辐射更低，接听更清晰，而且还很酷哦亲~！</p>
<p><a href="http://www.mancrazy.cn/wp-content/uploads/2012/03/175989547_2054440068.jpg"><img class="alignnone size-full wp-image-1026" title="手机听筒" src="http://www.mancrazy.cn/wp-content/uploads/2012/03/175989547_2054440068.jpg" alt="" width="500" height="500" /></a></p>
<p>现在安卓、IPHONE、诺基亚（很少听见这个牌子了，想当年可是绝对的霸主啊。）都有支持的机型，一些还在听筒上可调节音量、重拨电话等。</p>
<p><a href="http://www.mancrazy.cn/wp-content/uploads/2012/03/20075168562239.jpg"><img class="alignnone size-full wp-image-1027" title="手机电话听筒" src="http://www.mancrazy.cn/wp-content/uploads/2012/03/20075168562239.jpg" alt="" width="390" height="292" /></a></p>
<p>你动心了吗亲~</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mancrazy.cn/toy/1025.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>揭破安卓手机里账户的神秘</title>
		<link>http://www.mancrazy.cn/mobile/1020.html</link>
		<comments>http://www.mancrazy.cn/mobile/1020.html#comments</comments>
		<pubDate>Thu, 22 Mar 2012 08:09:25 +0000</pubDate>
		<dc:creator>小M</dc:creator>
				<category><![CDATA[安卓手机应用]]></category>
		<category><![CDATA[安卓]]></category>
		<category><![CDATA[安卓账户应用]]></category>

		<guid isPermaLink="false">http://www.mancrazy.cn/?p=1020</guid>
		<description><![CDATA[使用安卓系统的手机，当我们登陆系统内置的电子市场的时候（android market/google play），首次使用都会提醒我们使用登陆账户、或者注册一个账户。其实很多朋友都不知道或者没有设置这个账户。其实这个账户的功能是满多的，也很好用。虽然国内有时候对谷歌应用的访问不是那么稳定，但是确实是一个难得的使用。 登录了安卓里面的谷歌账户，可以使用这个账户的邮箱收发信件。可以同步手机的联系人（更换手机登陆这个账户，联系人会同步上去。）。可以在电子市场里面下载，这样子在用电脑上电子市场网页就可以实现电脑操作，手机自己下载的牛逼功能了。]]></description>
			<content:encoded><![CDATA[<p>使用安卓系统的手机，当我们登陆系统内置的电子市场的时候（<span class='bm_keywordlink'><a href='http://mancrazy.cn/category/mobile' target="_blank">android</a></span> market/google play），首次使用都会提醒我们使用登陆账户、或者注册一个账户。其实很多朋友都不知道或者没有设置这个账户。其实这个账户的功能是满多的，也很好用。虽然国内有时候对谷歌应用的访问不是那么稳定，但是确实是一个难得的使用。</p>
<p><a href="http://www.mancrazy.cn/wp-content/uploads/2012/03/129271666.jpg"><img class="alignnone size-full wp-image-1021" title="安卓账户登录" src="http://www.mancrazy.cn/wp-content/uploads/2012/03/129271666.jpg" alt="" width="500" height="379" /></a></p>
<p>登录了安卓里面的谷歌账户，可以使用这个账户的邮箱收发信件。可以同步手机的联系人（更换手机登陆这个账户，联系人会同步上去。）。可以在电子市场里面下载，这样子在用电脑上电子市场网页就可以实现电脑操作，手机自己下载的牛逼功能了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mancrazy.cn/mobile/1020.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>三种方法，给magento添加static block布局</title>
		<link>http://www.mancrazy.cn/xtech/1015.html</link>
		<comments>http://www.mancrazy.cn/xtech/1015.html#comments</comments>
		<pubDate>Fri, 16 Mar 2012 19:51:36 +0000</pubDate>
		<dc:creator>小M</dc:creator>
				<category><![CDATA[男人X技术]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[magento布局]]></category>

		<guid isPermaLink="false">http://www.mancrazy.cn/?p=1015</guid>
		<description><![CDATA[首先，需要在后台的cms下面的static block里面添加一个新的block，把需要显示的内容放置进去。记住id填入的值，等下下面需要使用到。 第一种：在layout文件中配置，然后在.phtml模板文件中输出。 &#60;CMS_PAGE&#62;   &#60;REFERENCE name="content"&#62;       &#60;BLOCK name="cms_page" type="cms/page" /&#62;   &#60;/REFERENCE&#62;   &#60;!-- 下面是新增的Magento Block --&#62;   &#60;BLOCK name="home.catalog.product.new" type="catalog/product_new" after="default_home_page" template="catalog/product/new.phtml" alias="product_homepage_new"&#62;&#60;/BLOCK&#62; &#60;/CMS_PAGE&#62; // echo $this-&#62;getBlockHtml('home.catalog.product.new'); echo $this-&#62;getLayout()-&#62;getBlock('home.catalog.product.new')-&#62;toHtml(); 这种方式是Magento中推荐的标准方法。另外，也可以在后台 [Admin]-&#62;[CMS]-&#62;[Manage Pages]-&#62;[Home]-&#62;[Custome Design]-&#62;[Layout Update XML]中配置block xml。 第二种方法： 不用在layout文件中配置，直接用PHP代码来创建block，并输出。 $layout = $this-&#62;getLayout(); $type = 'catalog/product_new'; $attributes = array( 'type' =&#62; 'catalog/product_new', 'name' =&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>首先，需要在后台的cms下面的static block里面添加一个新的block，把需要显示的内容放置进去。记住id填入的值，等下下面需要使用到。</p>
<p>第一种：在layout文件中配置，然后在.phtml模板文件中输出。</p>
<p>&lt;CMS_PAGE&gt;<br />
  &lt;REFERENCE name="content"&gt;<br />
      &lt;BLOCK name="cms_page" type="cms/page" /&gt;<br />
  &lt;/REFERENCE&gt;</p>
<p>  &lt;!-- 下面是新增的Magento Block --&gt;<br />
  &lt;BLOCK name="home.catalog.product.new" type="catalog/product_new" after="default_home_page" template="catalog/product/new.phtml" alias="product_homepage_new"&gt;&lt;/BLOCK&gt;<br />
&lt;/CMS_PAGE&gt;</p>
<p><code><br />
// echo $this-&gt;getBlockHtml('home.catalog.product.new');<br />
echo $this-&gt;getLayout()-&gt;getBlock('home.catalog.product.new')-&gt;toHtml();<br />
</code></p>
<p>这种方式是Magento中推荐的标准方法。另外，也可以在后台 [Admin]-&gt;[CMS]-&gt;[Manage Pages]-&gt;[Home]-&gt;[Custome Design]-&gt;[Layout Update XML]中配置block xml。</p>
<p>第二种方法：</p>
<p>不用在layout文件中配置，直接用PHP代码来创建block，并输出。<br />
<code>$layout = $this-&gt;getLayout();<br />
$type = 'catalog/product_new';<br />
$attributes = array(<br />
'type' =&gt; 'catalog/product_new',<br />
'name' =&gt; 'home.catalog.product.new',<br />
'alias' =&gt; 'product_homepage_new',<br />
'template' =&gt; 'catalog/product/new.phtml'<br />
);<br />
$block = $layout-&gt;createBlock($type, null, $attributes);<br />
echo $block-&gt;toHtml();</code></p>
<p>第三种方法：出现在Magento邮件模板中，或自定义内容中的Magento标签。<code>{{block type="catalog/product_new" name="home.catalog.product.new" alias="product_homepage_new" template="catalog/product/new.phtml"}}</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mancrazy.cn/xtech/1015.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>temple run安卓版激将上线</title>
		<link>http://www.mancrazy.cn/mobile/android-games/1012.html</link>
		<comments>http://www.mancrazy.cn/mobile/android-games/1012.html#comments</comments>
		<pubDate>Fri, 16 Mar 2012 09:17:25 +0000</pubDate>
		<dc:creator>小M</dc:creator>
				<category><![CDATA[android游戏篇]]></category>
		<category><![CDATA[temple run安卓版]]></category>
		<category><![CDATA[寺庙逃离安卓版]]></category>

		<guid isPermaLink="false">http://www.mancrazy.cn/?p=1012</guid>
		<description><![CDATA[temple run（寺庙逃离、庙宇逃离），玩过iphone的朋友应该都知道这个游戏，是IOS最受欢迎的免费游戏之一。相信大部分用安卓的朋友（包括我），一直都很想要玩这个游戏，可惜总是玩不到，因为目前尼玛的还没有安卓版，本来说的上个月就官方就会放出安卓版的，但是现在还没有出，不过据最新消息，temple run将会这个月也就是3月27号登陆到电子市场。这绝对是一个令人兴奋的消息呀。寺庙逃离的安卓移植版，我相信大家还是很期待的，到时候会同期提供在线下载地址。 temple run就是一个通过手指控制人物远离后面大猩猩的追赶，途中有很多障碍，还有很多金币和人物状态可以获得。后面人物会越跑越快，充分调动你游戏的动性。是一个十分富有娱乐性的游戏。]]></description>
			<content:encoded><![CDATA[<p>temple run（寺庙逃离、庙宇逃离），玩过iphone的朋友应该都知道这个游戏，是IOS最受欢迎的免费游戏之一。相信大部分用安卓的朋友（包括我），一直都很想要玩这个游戏，可惜总是玩不到，因为目前尼玛的还没有安卓版，本来说的上个月就官方就会放出安卓版的，但是现在还没有出，不过据最新消息，temple run将会这个月也就是3月27号登陆到电子市场。这绝对是一个令人兴奋的消息呀。寺庙逃离的安卓移植版，我相信大家还是很期待的，到时候会同期提供在线下载地址。</p>
<p><a href="http://www.mancrazy.cn/wp-content/uploads/2012/03/temple-run-android.jpg"><img class="alignnone size-full wp-image-1013" title="temple-run-android" src="http://www.mancrazy.cn/wp-content/uploads/2012/03/temple-run-android.jpg" alt="" width="600" height="353" /></a></p>
<p>temple run就是一个通过手指控制人物远离后面大猩猩的追赶，途中有很多障碍，还有很多金币和人物状态可以获得。后面人物会越跑越快，充分调动你游戏的动性。是一个十分富有娱乐性的游戏。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mancrazy.cn/mobile/android-games/1012.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

