<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>阿明 - 网络网站</title><link>http://aming.org/</link><description>阿明的博客 - </description><generator>RainbowSoft Studio Z-Blog 1.8 Walle Build 100427</generator><language>zh-CN</language><copyright>Copyright &amp;amp;copy; 2006-2010 aming.org. Some Rights Reserved.  粤ICP备06080357号</copyright><pubDate>Thu, 09 Sep 2010 01:40:00 +0800</pubDate><item><title>发现一个超强的网站</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/20100227249.html</link><pubDate>Sat, 27 Feb 2010 01:26:38 +0800</pubDate><guid>http://aming.org/blog/20100227249.html</guid><description><![CDATA[<p>&nbsp;</p><p>除了Title和Logo外，就一个728*90的GGAD。强死了</p><p>查了下，域名还是06年注册的。</p><p>以下是代码，强吧。（不管怎样，尊重对方，所以有些修改了）</p><blockquote><p>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;upload/201002271313387326.jpg&quot; /&gt;       <br />&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--       <br />google_ad_client = &quot;pub-xxxxxxxxxx&quot;;       <br />google_ad_slot = &quot;4934591792&quot;;       <br />google_ad_width = 728;       <br />google_ad_height = 90;       <br />//--&gt;       <br />&lt;/script&gt;       <br />&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;       <br />&lt;/script&gt;       <br />&lt;/body&gt;       <br />&lt;/html&gt;</p></blockquote>]]></description><category>网络网站</category><comments>http://aming.org/blog/20100227249.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=175</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=175&amp;key=7fd75760</trackback:ping></item><item><title>早上收到邮件，Adwords送的500块已经用完</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/160.html</link><pubDate>Fri, 22 Jan 2010 16:06:24 +0800</pubDate><guid>http://aming.org/blog/160.html</guid><description><![CDATA[<p>&#160;</p>  <p>去年年底申请的Adwords，折腾了大半个月，今天终于结束了。效果？还真没有。</p>  <p>不过也学习了怎么设置广告，毕竟学费不用自己出，怎么也得感谢Google，呵呵</p>  <p>大概分两部分，前半我是投放中文广告，后半是投放英文广告。其实刚开始就设置了英文广告，可在后台查看，发现就是没有英文广告投放出去，刚开始以为单价低，排不上位置，就一直加单价加每天限额，可还是没有显示，这郁闷了。一时也没主意，先不管吧，看看已经投放的中文广告效果再说，后来，英文终于有广告打出去了，我一看，发现就一个站投放，马上参观下是啥站，为什么就它可以显示，一看居然只是一个域名停放，不过我注意到这是有多语言选择的那种停放，可以选择中文，我灵光一闪，马上进Adwords后台，一看，原来设置大乌龙，我设置英文广告投放地区是美加、西欧地区，但不知为什么语言还是选择了中文，这难怪了，让那欧美地区，使用中文系统看中文网页才能显示我的广告，难怪会没有。马上更正掉，过一会一刷新，广告显示量马上上去了，点击也有了。</p>  <p>后来我又多次调整单价、每日限额，修改、调整了广告语，后来又设置了图片广告，观察不同的效果，反正很多都尝试过，而且收获还是有的。</p>  <p>英文广告还真的贵，中文是平均才0.48，同样的内容英文要2.96，6倍还多！另外因为英文广告我做了多种样式，其中一个图片广告，因为广告内容字数我设置得多，468x60&#160; 728x90&#160; 都不能显示全部广告字数，都没采用，只采用了 300x250、&#160; 336x280、&#160;&#160; 160x600 大尺寸的图片，原来我是以为图片不是文字，又是大图片，单价一定会很贵，但随后发现单价反而是最便宜的，才1.68，当然排名也很低。广告平均排名最高一组是4.2，最低是1.6，还有2组是分别是3.9和3.1，中文只做一组，排名4.1，排名算是一般了</p>  <p>以上是第一次玩Adwords</p>]]></description><category>网络网站</category><comments>http://aming.org/blog/160.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=160</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=160&amp;key=c0ebb045</trackback:ping></item><item><title>正在使用Google Adwords……</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/google-adwords-500.html</link><pubDate>Mon, 11 Jan 2010 23:52:27 +0800</pubDate><guid>http://aming.org/blog/google-adwords-500.html</guid><description><![CDATA[<p>&#160;</p>  <p>目前效果一般。去年年底申请的，元旦后才批的。暂时还不需要我花钱，直接给了我500元，扣除开户费用50块，余下450元就是。</p>  <p>还有一个优惠的，就是首次充值1000元再送500元，这个到时看广告累积效果了。</p>]]></description><category>网络网站</category><comments>http://aming.org/blog/google-adwords-500.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=159</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=159&amp;key=ec300ba0</trackback:ping></item><item><title>唉，越来越不情愿为域名续费了，域名过期34天才续费（估计是我最高纪录了）</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/156.html</link><pubDate>Sat, 09 Jan 2010 22:04:08 +0800</pubDate><guid>http://aming.org/blog/156.html</guid><description><![CDATA[<p>&#160;</p>  <p>去年的时候，一个.com域名，7月27到期了，我在已经过期超过30天后，才很不情愿联系Support 将域名丢回我账户，让我续费。 </p>  <p>name.com 注册商这点很不好，域名一旦过期，就会将域名从你账户划走，域名解析那些倒不会受影响，只是你从域名是看不到这过期域名的，遇到这样的情况，估计很多人会很气愤，骂注册商不厚度吧。不过我倒是没气愤过，因为我知道只要域名Whois状态还是OK，域名依然可以以正常价钱续费的，我相信国外注册商会遵守这个规则的。不过name.com这个小动作是不是想把客户的域名扣下来变成自己的到期域名拍卖就不清楚了。 </p>  <p>老规矩，跟以前一样，丢几个单词拼凑成封邮件过去，就问域名为什么不在账户，我要续费。（其实我都不知道我有写对没，可怜我的鹰文啊），当天Support就回复我了，说了一通废话说什么域名是别人的。我没理他，就回一句话：The domain is me！&#160;&#160; 晚上收到邮件，先承认工作失误，也道歉了，说域名已经回到我的账户了。登陆续费之，9刀，不便宜，算了，因为转移貌似已经来不及了。&#160; 最烦就是name.com 没有优惠码可找，想便宜都很难很难。</p>]]></description><category>网络网站</category><comments>http://aming.org/blog/156.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=156</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=156&amp;key=8d41540a</trackback:ping></item><item><title>丹布郎继《达芬奇密码》后新书《失落的符号》期待中文版本上市</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/154.html</link><pubDate>Sat, 09 Jan 2010 21:15:24 +0800</pubDate><guid>http://aming.org/blog/154.html</guid><description><![CDATA[<p>&#160;</p>  <p>《失落的符号》是《达芬奇密码》的后续本，相当于是续集。</p>  <p>原来书名是准备命名为《所罗门锁钥》--- The Solomon Key ，我预计也会像达芬奇密码一样热起来，害我很早就注册了整套CN域名，谁知这家伙迟迟不发布新书。 </p>  <p>终于去年9月时全球上市了，中文版预计是今年1、2月，估计也差不多了，只是目前貌似没啥动静。作者为了注册域名，连书名也改了，《失落的符号》---- The Lost Symbol ，这不，官站是 <a href="http://www.TheLostSymbol.com">http://www.TheLostSymbol.com</a></p>  <p>没办法，我赶紧又注另一套域名，只希望这次也像上次达芬奇密码一样，也弄个对应的中文版官站来宣传，呵呵。 </p>  <p>这是上次达芬奇密码的中文宣传网站：The Da vinci Code&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a href="http://www.davincicode.com.cn/">http://www.davincicode.com.cn/</a></p>  <p>PS：需要   <br /><a href="http://www.TheLostSymbol.cn">www.TheLostSymbol.cn</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a href="http://www.LostSymbol.cn">www.LostSymbol.cn</a>&#160; 请联系我。 <img src="http://aming.org/image/logo/mail_aming.gif" /></p>]]></description><category>网络网站</category><comments>http://aming.org/blog/154.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=154</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=154&amp;key=d1da2988</trackback:ping></item><item><title>Yahoo $1.99 注册域名还在继续</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/152.html</link><pubDate>Sat, 09 Jan 2010 20:51:29 +0800</pubDate><guid>http://aming.org/blog/152.html</guid><description><![CDATA[<p>&#160;</p>  <p>是的，没错，com/net/org/biz/us都是$1.99，大约13.6元。有需要就注吧</p>  <p><a title="http://smallbusiness.yahoo.com/domains/?p=BESTDEAL" href="http://smallbusiness.yahoo.com/domains/?p=BESTDEAL">http://smallbusiness.yahoo.com/domains/?p=BESTDEAL</a></p>]]></description><category>网络网站</category><comments>http://aming.org/blog/152.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=152</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=152&amp;key=1c030973</trackback:ping></item><item><title>谷哥搜索引擎优化初学者指南</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/151.html</link><pubDate>Sat, 09 Jan 2010 20:46:29 +0800</pubDate><guid>http://aming.org/blog/151.html</guid><description><![CDATA[<p>&#160;</p>  <p>信谷哥，得流量 </p>  <p>中文版：&#160;&#160;&#160; <a title="http://www.googlechinawebmaster.com/Google-Search-Engine-Optimization-Starter-Guide.pdf" href="http://www.googlechinawebmaster.com/Google-Search-Engine-Optimization-Starter-Guide.pdf">http://www.googlechinawebmaster.com/Google-Search-Engine-Optimization-Starter-Guide.pdf</a>    <br />英文原版：<a title="http://www.google.com/webmasters/docs/search-engine-optimization-starter-guide.pdf" href="http://www.google.com/webmasters/docs/search-engine-optimization-starter-guide.pdf">http://www.google.com/webmasters/docs/search-engine-optimization-starter-guide.pdf</a></p>]]></description><category>网络网站</category><comments>http://aming.org/blog/151.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=151</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=151&amp;key=1ca2649e</trackback:ping></item><item><title>今天网络有太多的杯具！51.com、it168.com、blogbus.com域名都发现被Hold</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/51com-domain-hold.html</link><pubDate>Tue, 05 Jan 2010 17:53:33 +0800</pubDate><guid>http://aming.org/blog/51com-domain-hold.html</guid><description><![CDATA[<blockquote></blockquote><p>&nbsp;</p><p>2010年1月5日，一个普通的日子，51.com、it168.com、blogbus.com先后发现域名被Hold。以上这几个站无法访问了，能访问那是因为你当地的DNS缓存没更新。</p><p>其中Blogbus.com特别杯具，下午16:10时，工作人员还在努力发公告，之后域名就Hold（有图有真相）</p><p><a href="http://aming.org/upload/bbus_2.jpg"><img title="bbus" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="168" alt="bbus" width="623" border="0" src="http://aming.org/upload/bbus_thumb.jpg" /></a></p><p><a href="http://aming.org/upload/bbus1_2.jpg"><img title="bbus1" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="418" alt="bbus1" width="626" border="0" src="http://aming.org/upload/bbus1_thumb.jpg" /></a></p>]]></description><category>网络网站</category><comments>http://aming.org/blog/51com-domain-hold.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=150</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=150&amp;key=3556fcf6</trackback:ping></item><item><title>QQ MSN Gtalk 在线状态代码生成地址</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/148.html</link><pubDate>Thu, 31 Dec 2009 20:31:15 +0800</pubDate><guid>http://aming.org/blog/148.html</guid><description><![CDATA[<p>QQ: <a href="http://imis.qq.com/webpresence/code.shtml">http://imis.qq.com/webpresence/code.shtml</a></p>  <p>MSN: <a href="http://im.live.cn/imme/">http://im.live.cn/imme/</a></p>  <p>Gtalk: <a href="http://www.google.com/talk/service/badge/New">http://www.google.com/talk/service/badge/New</a></p>]]></description><category>网络网站</category><comments>http://aming.org/blog/148.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=148</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=148&amp;key=9921ad08</trackback:ping></item><item><title>开卖国外便宜服务器 （3000多就一台机子）</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/cheap-dedicated-server.html</link><pubDate>Sun, 27 Dec 2009 14:33:21 +0800</pubDate><guid>http://aming.org/blog/cheap-dedicated-server.html</guid><description><![CDATA[<p>真的很便宜，可以说是VPS的价格。 联系QQ 57027999</p><p>1、 33刀/月付（首月710，以后228）， 466刀年付即3200元一年 （注：附加70刀安装费用）</p><p>配置： 1个IP，加IP 10刀一年</p><p>AMD 2000+&nbsp;&nbsp;&nbsp; <br />512 MB DDR RAM    <br />40 GB Hard Drive    <br />1400 GB Traffic    <br />100Mbps Connection    <br />&nbsp;</p><p>2、44刀/月付（首月785，以后305），598刀年付即 4100元一年 （注：附加70刀安装费用）</p><p>配置：1个IP，加IP 10刀一年</p><p>AMD 2000+   <br />1.5 GB DDR RAM    <br />80GB Hard Drive    <br />2000 GB Traffic    <br />100Mbps Connection</p><p>3、<strong>推荐</strong> 50刀/月付（350元），年付540刀（3700元），无安装费用</p><p>配置： 5个IP</p><p>CPU：Celeron 2.8 GHz   <br />内存：1 GB DDR RAM-533  <br />硬盘：160 GB SATA  <br />流量：500 GB Traffic  <br />10Mbps 共享</p>]]></description><category>网络网站</category><comments>http://aming.org/blog/cheap-dedicated-server.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=145</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=145&amp;key=c20c59e5</trackback:ping></item><item><title>开卖，国外域名注册，国外空间，国外VPS，国外服务器等</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/eyenic-hosting.html</link><pubDate>Sun, 27 Dec 2009 13:47:42 +0800</pubDate><guid>http://aming.org/blog/eyenic-hosting.html</guid><description><![CDATA[<p>嘿嘿，都做。 联系QQ57027999</p><p>域名注册和美国空间是在 <a href="http://www.eyenic.com">www.eyenic.com</a>&nbsp; ，特别之处是有中文界面可选（网站右上角，可选择中文）这下再也不为英文界面难受了吧。</p><p>域名价格： .com $8.99 (61元)&nbsp;&nbsp; .net&nbsp; .org&nbsp; $9.99 (69元)</p><p>.cn目前也是69元 （注：此cn是在国外注册）</p><p>.eu 和 .in 目前有特价：38元</p><p>空间价格： PHP空间 329元 （元旦新年优惠 300），Windows空间 410元（元旦新年优惠 380）。</p><p>PHP/WIN都是无限空间无限流量。</p><p>使用说明：没有，都有中文界面。 如果你愿意Paypal或信用卡付款，直接付款即可，如果你需要人民币支付，可以注册好ID，然后购买好产品，到最后结账那一步，关闭浏览器，然后QQ/邮件联系我，由我到后台给你结账，你只需要告诉我你注册ID的邮箱，以及购买的产品，核对付款到我支付宝即可。</p><p>&nbsp;</p><p>国外VPS、服务器另外写。</p><p>&nbsp;</p><p>&nbsp;</p><p>注：某些价格会有浮动，尤其是特价优惠的域名价格，实际价格以购买时价格为准。</p>]]></description><category>网络网站</category><comments>http://aming.org/blog/eyenic-hosting.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=144</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=144&amp;key=fdebcfd5</trackback:ping></item><item><title>貌似某个小站走出了GG沙盒</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/20091205321.html</link><pubDate>Sat, 05 Dec 2009 22:36:23 +0800</pubDate><guid>http://aming.org/blog/20091205321.html</guid><description><![CDATA[<p>貌似，暂时只能说貌似，上次已经试过一次走出沙盒，但一天后又重进沙盒。</p><p>之前大概操作太多了吧，SEO两个词排到首页第三和第七，突然进了沙盒，这两个词都是有人做广告的词，加上三条广告，所以就算自然排序排到第三都不在热点区，第七更别说了，也就来几个IP，呵呵。但能逃出沙盒总是好事&nbsp;</p>]]></description><category>网络网站</category><comments>http://aming.org/blog/20091205321.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=143</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=143&amp;key=1f46999e</trackback:ping></item><item><title>EstDomains域名公司因涉及犯罪被ICANN停权，现将被ResellerClub全部接管</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/Termination-of-Registrar-EstDomains.html</link><pubDate>Fri, 21 Nov 2008 13:29:35 +0800</pubDate><guid>http://aming.org/blog/Termination-of-Registrar-EstDomains.html</guid><description><![CDATA[ICANN公告原文：<a href="http://www.icann.org/en/announcements/announcement-12nov08-en.htm" target="_blank">http://www.icann.org/en/announcements/announcement-12nov08-en.htm</a><br/><br/>是因为EstDomains涉及洗钱、信用卡欺诈等财务法律问题，而被ICANN提前终止合作，现已被ResellerClub收购接管。<br/><br/>这公司一直挺便宜，现在也出事了，我在使用啊，目前情绪很稳定。]]></description><category>网络网站</category><comments>http://aming.org/blog/Termination-of-Registrar-EstDomains.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=120</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=120&amp;key=9eab7149</trackback:ping></item><item><title>网博士weboss系统安装(破解)详细说明</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/105.html</link><pubDate>Wed, 08 Oct 2008 10:11:43 +0800</pubDate><guid>http://aming.org/blog/105.html</guid><description><![CDATA[相对于其它版本的”破解”.<br/><br/>本破解的版本有如下几点特点.(标准版和商贸版)<br/>一\不更改官方代码.  (100%使用官方文件) <br/>二\不需要生成授权码..(系统自动生成)<br/>三\40个功能模块.全部完整授权.(一些附加模块需要你手工安装..然后再去获取授权)<br/><br/>演示站点: <br/>标准版: http://www.gu68.com <br/>商贸版: http://biz.gu68.com<br/><br/>唯一要做的…就是修改主控端服务器上的HOSTS文件….<br/><br/>以及在网站服务器上的配置文件里面添加一些代码(用于生成网站服务器上的授权文件)<br/><br/><br/>首先要配置好你的服务器的权限.需要安装PHP/MYSQL/ZEND..<br/><br/> <br/><br/>下载源程序.(从官方下载服务器下载)<br/><br/>1/网博士标准版主控网站安装包                   : http://down.weboss.cn/soft/weboss/MediwebInstall.tar.gz<br/>2/网博士标准版网站服务器支持包(LINUX/UNIX)     :<br/><a href="http://down.weboss.cn/soft/weboss/MediServInstall_linux.tar.gz"  target="_blank">http://down.weboss.cn/soft/weboss/MediServInstall_linux.tar.gz</a><br/>3/网博士标准版网站服务器支持包(WIN2K/WIN2003)  : http://down.weboss.cn/soft/weboss/MediServInstall_Win2K3.rar<br/><br/>4/网博士商贸版安装包(含商贸主站+网站服务器支持包) :http://down.weboss.cn/down/mb/mediwebbiz_install.rar<br/><br/> <br/><br/>选择合适的版本下载…<br/><br/>如果你要安装标准版.第一个必须下载.第二和第三就看你服务器的系统是什么了.<br/><br/>如果你要安装商贸版．就只需要下载第四个．<br/><br/> <br/><br/>下载完成后.将相应的文件解压.(以下说明会以标准版来说明.)<br/><br/>第一个文件解压.得到的目录名会是Mediweb  这个目录将会是标准版的主控站点目录.以下以我的测试域名gu68.com为例.教大家如何设置域名..<br/><br/>我的这个文件.是解压到D盘根目录..所以它的目录名是d:\mediweb  然后我新建IIS站点.绑定www.gu68.com到这个域名.权限方面.要保证PHP能在d:\mediweb新建及修改文件名<br/><br/>这样.第一个文件就处理完毕..不需要作任何破解工作.<br/><br/> <br/><br/>第二或第三个文件.会是标准版的服务器支持系统..简单说.就是服务器主站.生成网站等都是用它的.<br/><br/>我下载的是第二个文件.因为我的是WINDOWS系统.<br/><br/>下载解压到D盘.得到的目录名是MediServ.下面还有几个域名.分别是eSite/eSiteSpool/eSitewww/skel_71 .这时我们需要做以下工作.(按照官方的安装说明所做)<br/><br/>一\新建一个IIS站点.使用域名是s1.gu68.com 绑定到d:\mediserv\eSitewww (这个是网站服务器所用的域名.与主控网站之间通讯所用.也是让新建的客户网站所用的主域名<br/><br/>二\修改D:\MediServ\eSite\config\dbconfig.php 里面的信息.指定MYSQL的ROOT密码 .<br/><br/>三\修改D:\MediServ\eSitewww\inst.inc.php     里面的信息.比如连接密码等.还有网站服务器的域名(s1.gu68.com)<br/><br/>   同时.在这个文件下面加上以下代码(在”?>”的上面)<br/><br/>  <br/>  //////////start pacth of mediserv/////////////////////<br/>if ( !file_exists( $eSitePath."/license.dat" ) ){<br/>$arr = $eSitePath."/license.dat";<br/>$md5str = "EHTAZIYT".$eSitePath.$_SERVER['SERVER_ADDR'].$_SERVER['LOCAL_ADDR'].”22.90h7^aaz0(!skZnmLa03#nVAc_f(h-a!)wsx~9dlP1%uXJnB8.65E3zYYwa”;<br/>$mymd5 = md5( $md5str );<br/>$str=$mymd5.”\r\n”.$mymd5;<br/>$fo=fopen($arr,’w');<br/>fwrite($fo,$str);<br/>fclose($fo);<br/>}<br/>error_reporting(E_ERROR | E_WARNING | E_PARSE);<br/>///////////end pacth of mediserv//////////////////////<br/><br/>同时.要保证PHP用户可以添加/修改文件在D:\MediServ\eSite目录 和 D:\MediServ\eSitewww 目录<br/><br/>四/也是本破解版本最重要的一步…就是更改服务器的HOSTS文件.(包括主控网站以及服务器网站所在的服务器)添加以下一行数值到hosts文件内(不包括”号)<br/><br/>  ”59.39.66.87       www.eb2000.cn bbs.eb2000.cn”<br/><br/>  有关HOSTS文件的说明.请参考http://baike.baidu.com/view/597330.htm<br/><br/> <br/><br/> <br/><br/>自此..就可以安装.完美地使用本破解系统了.<br/><br/> <br/><br/>安装步骤:<br/><br/>一\输入主控网站的网址…www.gu68.com…因为它未安装.所以..就会自动跳到安装页面http://www.gu68.com/install/install.php<br/><br/>二\同意所谓的协议..跟着随便填写资料.跟着填写数据库资料.管理员资料.完成安装.如果你完成安装后看主页.还是跳到安装页面.说明你的系统权限没设置好.<br/><br/>   需要设置d:\mediwww\config.inc.php和license.php让EVERYONE可写就OK了.<br/><br/>三\主控端网站就安装好了.登陆主控端网站后台..设置”服务器设置”..将原有的二个服务器删除…添加我们的网站服务器s1.gu68.com.并启用….<br/><br/> <br/><br/>BINGO…安装完毕!!!回到前台…试用开通一个网站看看….<br/><br/> <br/><br/>有关商贸版的安装过程与标准版的基本一致..它相当于标准的精简版…只是他们的文件.都放在同一个目录下而已.<br/><br/>如果你在安装过程中有什么问题..请加入我们的DEZEND QQ69800063群.交流/学习]]></description><category>网络网站</category><comments>http://aming.org/blog/105.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=105</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=105&amp;key=3cc10baa</trackback:ping></item><item><title>Z-Blog装上插件，可以用Windows Live Writer离线发布文章</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/离线发布文章.html</link><pubDate>Sat, 27 Sep 2008 15:38:35 +0800</pubDate><guid>http://aming.org/blog/离线发布文章.html</guid><description><![CDATA[<p>这篇博文就是用Windows Live Writer发表的，测试下效果如何。再发张小图片试下 ^_^ </p> <p><img height="400" alt="jiao" src="http://aming.org/upload/jiao_3.jpg" width="500"></p>]]></description><category>网络网站</category><comments>http://aming.org/blog/离线发布文章.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=4</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=4&amp;key=db59d7e8</trackback:ping></item><item><title>第一次使用Z-Blog，可惜是ASP的</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/Z-Blog.html</link><pubDate>Sat, 27 Sep 2008 11:38:17 +0800</pubDate><guid>http://aming.org/blog/Z-Blog.html</guid><description><![CDATA[说实话，实在有点可惜，到了今天，ASP实在不够意思，总觉得有欠缺，要是PHP+Mysql就棒多了！正因为这个，到了今天才正式开始用Z-Blog，知道这个博客程序很久，就是ASP不感冒，一直没用过，因为我需要一个生成Html的博客程序，能将以前O-Blog无损转移过来。想来想去，选择了Z-blog。Wordpress不是没考虑过，也一直有使用，只是WP生成Html是需要插件，插件不够完美，放弃了。]]></description><category>网络网站</category><comments>http://aming.org/blog/Z-Blog.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=2</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=2&amp;key=8efad847</trackback:ping></item><item><title>看来还是要将VirusClub.com 上线，给朋友玩玩</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/Virus-Club.html</link><pubDate>Mon, 02 Jul 2007 20:25:16 +0800</pubDate><guid>http://aming.org/blog/Virus-Club.html</guid><description><![CDATA[一直想正式成立这个“病毒俱乐部”，将 VirusClub.com 运作起来，毕竟还有大把这个圈子里的朋友，虽然自己以前一直收集的病毒样本，随着旧硬盘一起挂掉后，就很少收集了。但又不知这个俱乐部该怎么玩才好，只挂一个论坛就太单调了，想做Wiki吧，但老外弄出来的东西，还真怎么都不上手，就不支持纯粹的UBB码，就觉得很成问题。现在想着，挂一个类似于百度知道的这样的知识库的东东，效果又会怎样<br/><br/>朋友们，给个意见吧。]]></description><category>网络网站</category><comments>http://aming.org/blog/Virus-Club.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=78</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=78&amp;key=52077033</trackback:ping></item><item><title>WOW!! 免费网络电话又来了</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/free-mediaring-talk.html</link><pubDate>Fri, 29 Jun 2007 11:54:02 +0800</pubDate><guid>http://aming.org/blog/free-mediaring-talk.html</guid><description><![CDATA[当然是可以打phone、mobile，pc2pc的话，随便一个IM都可以了，用不着发到博客上。<br/><br/>这个免费网络电话还是上次介绍过的MediaringTalk ，上次报道见：<a href="http://aming.org/blog/Mediaring-talk.html" target="_blank">http://aming.org/blog/Mediaring-talk.html</a> ，这次已经出了中文版本，并且已经修正老版本占用内存的Bug，旧版本那个真够垃圾，待机一段时间后内存占用直线上升不会释放内存，如果QQ也是这样的话，估计马化腾要找个高楼跳了<br/><br/>和上次一样，又来免费促销了，免费使用限新用户，上次已经用过了？没关系，去官网重新注册一个ID就是新用户了 :lol: 这次免费促销算是下重本了，截止时间到9月30日，有三个月给你免费用，该满足了吧，嘿嘿   与上次一样，每一次通话限十分钟，十分钟自动断线，但不限次数，只要你有耐心，可以十分钟后再重拔，连续跟对方侃大山（有点像打某些公司也这样限制每次通话时间的电话 ）<br/><br/>使用方法：<br/>下载安装程序：中文版 <a href="http://download.mediaringtalk.com/MRTalkSetup_2_2_2_1_chs_rel.exe" target="_blank">http://download.mediaringtalk.com/MRTalkSetup_2_2_2_1_chs_rel.exe</a><br/>到官网免费注册一个新ID（中文的）： <a href="https://talkmember.mediaringtalk.com/mytalk_chs/register.php" target="_blank">https://talkmember.mediaringtalk.com/mytalk_chs/register.php</a><br/>新注册ID并不能马上就能使用，可能需要等待几分钟，待系统自动为新ID注入$0.01金额才能开始使用。<br/><br/>拨打方法：安装程序时选择中国，然后打国内电话、小灵通，只需区号+号码即可，手机号码是直接拨打，若打国外长途需要加国家代码。<br/><br/>拨通率：很高，不过这要看对方愿不愿接听了，因为是没有来电显示的网络电话，对方不知情不一定会接听，听说现在有部恐怖小说《没有来电号码的电话》，拿来吓人也不错 :b<br/><br/>PS: 就算这个网络电话不是免费，它的费率也是很低的，像打中国电话、手机，每分钟只要$0.02，折算也就算1毛半，够便宜的，不过充值对于国人不是很方便，必须要用Visa/MasterCard这类国际信用卡才能充值，最低要充$10，不支持Paypal这些网络银行。<br/><br/><br/>附官方说明：<br/><blockquote><div class="quote">免费通话促销活动 <br/>促销活动在2007年6月15日，格林维志时间00:00开始，到2007年9月30日格林维志时间23:59结束。 <br/>促销只限于MediaRing Talk新用户；用户必须注册MediaRing Talk。 <br/>不必购买储值。 <br/>无限次的免费通话可适用与: <br/>固定电话和移动电话: 美国，加拿大，新加坡，香港和中国。<br/>固定电话: 英国，台湾，澳洲。 <br/>对于拨打其他地方电话，按标准收费。<br/>为了让每个人都享受到这项促销服务，每次通话限制在10分钟以内。但是，可以多次拨打同一地点。 <br/>促销的通话时间不会转换为现金。<br/>在促销期间, MediaRing 将会尽可能地接通每个电话，但是不能保证每个电话都能接通 。<br/>MediaRing Ltd 保留更改此次促销活动条款的权利，并且不需要预先通知。 <br/></div></blockquote>]]></description><category>网络网站</category><comments>http://aming.org/blog/free-mediaring-talk.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=75</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=75&amp;key=7d68f33d</trackback:ping></item><item><title>新型网站：女会员到网站张贴玉照、陪男生聊天，网站给隆胸费用</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/myfreeimplants.html</link><pubDate>Sun, 17 Jun 2007 10:51:59 +0800</pubDate><guid>http://aming.org/blog/myfreeimplants.html</guid><description><![CDATA[美国一个网站提供女性会员免费隆胸机会，女会员只要在网站张贴玉照或裸照、与男会员聊天，便能募集隆胸基金。 <br/><br/>这个网站就叫“我的免费隆胸”My free implants   <a href="http://www.myfreeimplants.com" target="_blank">http://www.myfreeimplants.com</a> <br/><br/>网站现有1千名女性会员及逾5千名男性“捐款人”，女会员只要登记做会员，设立个人博客，与男会员互动，如传短讯、一对一聊天、传送玉照，越逗对方欢喜，越快能筹足资金找医生隆胸。网站不禁止女会员传送裸照，入会唯一条件是须年满18岁。男会员则需花$9.95/月购买点数，点数用来消费，可以查看女会员照片、与女会员聊天等，另外男会员可以查阅网站女会员列表，列表标明各个女会员的“成绩”，即已经得到多少钱的捐款，男会员同时可在列表中，为某个女会员直接捐款，不过所有捐款都是由网站直接支付给医生，一毛钱也不会进入女会员口袋。<br/><br/>当中看到小部分是亚洲人<br/><br/>哈哈，真是佩服这个网站的Idea ]]></description><category>网络网站</category><comments>http://aming.org/blog/myfreeimplants.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=74</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=74&amp;key=945c9376</trackback:ping></item><item><title>Hot! bloggerwave</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/bloggerwave.html</link><pubDate>Fri, 01 Jun 2007 09:05:28 +0800</pubDate><guid>http://aming.org/blog/bloggerwave.html</guid><description><![CDATA[落伍了，我却是今天才弄明白，原来是利用博客写广告软文，然后收广告费。这种推广方式估计会很凑效，毕竟博客属于小圈子的活动，一旦一个朋友在自己博客中写些软文，推介某某产品，其他的朋友看了，会比较放心。<br/><br/>目前类似的博客主题广告走红的是这家叫bloggerwave的新广告商 :) 相对于其他，它入门相对更低，当然可拿到广告费也很低，目前看到都是$10的广告，觉得蛮有趣，也加入试试 ]]></description><category>网络网站</category><comments>http://aming.org/blog/bloggerwave.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=65</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=65&amp;key=980cb8ba</trackback:ping></item><item><title>国外发发帖子能赚美元的论坛，练练E文也不错</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/get-money-forum.html</link><pubDate>Fri, 18 May 2007 10:34:09 +0800</pubDate><guid>http://aming.org/blog/get-money-forum.html</guid><description><![CDATA[发几个发帖赚钱的站,E文好的可以看看,价格还不错噢!<br/>没错，灌灌水发发帖子也能挣钱，我在<br/><br/><img onload="ResizeImage(this,520)" src="http://www.thws.cn/images/link.png" alt="" title=""/><br/>最赚钱的网络游戏,如何利用网络赚钱,网络游戏赚钱,网络赚钱方法,利用网络赚钱,网络赚钱论坛,网上赚钱 <br/><a href="http://www.floodofdollars.com/5-get-paid-to-post-forums-and-how-to-use-them-profitably/" target="_blank">floodofdollars</a><br/>看到了5 个Get Paid to Post 的论坛，分享下，没事做或想学习外语不妨试下。<br/>1. <a href="http://www.wiredflame.com/" target="_blank">WiredFlame.com</a><br/>帖子要求字数20，管理员审核通过的将给予每帖15 到 20 美分的报酬<br/>2. <a href="http://www.mylot.com/" target="_blank">mylot.com</a><br/>参加一些话题讨论, 包括评论新闻或blogs, 或者“走访”朋友，以留言或问好的形式等等，而且交朋友还是最容易的一种方式<br/>3.<a href="http://talkonlinepoker.com/" target="_blank">talkonlinepoker.com</a><br/>一个以扑克为主题的论坛，当然要求张贴与扑克有关的话题，每贴 5美分，当贴子数达到500后, 每贴 10美分。<br/>4.<a href="http://www.paidforum.net/" target="_blank">PaidForum.Net</a><br/>每主题$0.05,每邀1人$1.00 ,每回贴$0.01,并且注册即送 $5.00，不过需要安装他们的软件。 <br/>5.<a href="http://www.paidposting.net/" target="_blank">paidposting.net</a><br/>他们为初建论坛提供内容，因此注册用户即可通过发帖挣钱<br/><img onload="ResizeImage(this,520)" src="http://photo8.yupoo.com/20070516/212558_1554008889_nortwhje.jpg" alt="" title=""/><br/>]]></description><category>网络网站</category><comments>http://aming.org/blog/get-money-forum.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=64</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=64&amp;key=afce29e2</trackback:ping></item><item><title>Google 新玩意：笔记本</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/google-notebook.html</link><pubDate>Fri, 04 May 2007 09:21:06 +0800</pubDate><guid>http://aming.org/blog/google-notebook.html</guid><description><![CDATA[今早发现，Google又出品一个小玩意，叫笔记本(notebook)，看了下，是便签+网络收藏夹混合体，不错。<br/><br/><a href="http://www.google.com/notebook/  需要Google账户"  target="_blank">http://www.google.com/notebook/  需要Google账户</a><br/>]]></description><category>网络网站</category><comments>http://aming.org/blog/google-notebook.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=97</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=97&amp;key=8c01af86</trackback:ping></item><item><title>Sony 的视频分享网站上线</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/eyevio-sony.html</link><pubDate>Fri, 27 Apr 2007 16:30:38 +0800</pubDate><guid>http://aming.org/blog/eyevio-sony.html</guid><description><![CDATA[呵呵，Sony也加入视频分享网站的战团，旗下的视频分享网站正式上线，不过目前只限日本岛用户使用 ;)<br/><br/>不过网站域名倒是很普通， eye+vio (vio=videos缩写?)<br/><br/><a href="http://www.eyevio.jp" target="_blank">http://www.eyevio.jp</a><br/><br/>eyevio.com 也是 Sony 所有的，不过目前还没启用。Sony eyeVio 能否挑战 Google YouTube ？以后再说]]></description><category>网络网站</category><comments>http://aming.org/blog/eyevio-sony.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=62</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=62&amp;key=78279f8a</trackback:ping></item><item><title>MySpace中国正式上线，口号：友你友我</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/MySpace.html</link><pubDate>Thu, 26 Apr 2007 21:23:13 +0800</pubDate><guid>http://aming.org/blog/MySpace.html</guid><description><![CDATA[传闻已久的MySpace.cn终于在4月27日凌晨上线运营，默多克这个宝贝，传闻指令其中国妻子全权经营的MySpace.cn，今天终于面世，上线运营了。<br/>MySpace.com是国际著名的交友网站，与facebook.com同台较量。其实MySpace中国打算落户中国，做本土化交友网站已经在业界传闻很长一段时间了。目前MySpace中国的口号是：友你、友我！<br/>个人估计不乐观]]></description><category>网络网站</category><comments>http://aming.org/blog/MySpace.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=58</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=58&amp;key=d5c796bb</trackback:ping></item><item><title>抓取在线视频网站的真实flv地址</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/youtube.html</link><pubDate>Mon, 15 Jan 2007 10:40:17 +0800</pubDate><guid>http://aming.org/blog/youtube.html</guid><description><![CDATA[比如土豆网，打开一个视频的页面后，用右键点在空的地方查看源文件，然后再查找"var item_id" <br/>后面会有一行7位数字，这是下载的关键，然后把这7位数字带到下面这个地址里的X上.就可以下载了<br/><a href="http://player0.tudou.com/flv/00X/XXX/XXX/XXXXXXX.flv "  target="_blank">http://player0.tudou.com/flv/00X/XXX/XXX/XXXXXXX.flv </a><br/>例如.7位数是2086171.放到这个地址上就是 <br/><br/><a href="http://player0.tudou.com/flv/002/086/171/2086171.flv "  target="_blank">http://player0.tudou.com/flv/002/086/171/2086171.flv </a><br/>这样就不用再浪费时间去等那个视频的缓冲完了才能下载。<br/><br/><a href="http://javimoya.com/blog/youtube_en.php "  target="_blank">http://javimoya.com/blog/youtube_en.php </a><br/>这个是国外网站，主要是针对youtube等国外网站<br/><br/><a href="http://www.wellv.com/"  target="_blank">http://www.wellv.com/</a><br/><a href="http://keepvid.com/ 这个也是国外的网站，支持二三十个国外站点"  target="_blank">http://keepvid.com/ 这个也是国外的网站，支持二三十个国外站点</a><br/><br/><a href="http://kej.tw/flvretriever/ 这个主要针对youtube和googlevideo"  target="_blank">http://kej.tw/flvretriever/ 这个主要针对youtube和googlevideo</a><br/>]]></description><category>网络网站</category><comments>http://aming.org/blog/youtube.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=48</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=48&amp;key=0f6c4401</trackback:ping></item><item><title>博客搬家</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/boke.html</link><pubDate>Sat, 30 Dec 2006 12:47:25 +0800</pubDate><guid>http://aming.org/blog/boke.html</guid><description><![CDATA[呵呵，今天将博客搬回国内了。之前是放到国外的，没办法，博客也受到这次大地震的影响，网通还能凑合用用，电信根本访问不了，看情况，估计还要等半个月才行。反正我在国外那个空间也快到期，还是掏钱放回国内安心。今天花了点时间，终于赶在新年来临前弄好。]]></description><category>网络网站</category><comments>http://aming.org/blog/boke.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=47</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=47&amp;key=90fc8754</trackback:ping></item><item><title>免费为你的网站生成SiteMap</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/free-sitemap.html</link><pubDate>Mon, 13 Nov 2006 02:29:58 +0800</pubDate><guid>http://aming.org/blog/free-sitemap.html</guid><description><![CDATA[这是一个收费网站提供的免费试用版本，该Sitemap服务功能非常不错，可以生成适合各个不同搜索引擎需要的Sitemap格式，包括Google的XML、Yahoo的TXT格式、普通用户及其它搜索引擎都可以使用的HTML格式，还有ROR格式。不过免费试用版限制收录500条内部链接，不过这对于小型网站、博客已经足够。<br/><br/>使用方法：打开以下链接，在表单填入你的网站，提交后需要等待一段时间，之后会返回各种不同格式的sitemap，下载放到自己的网站，并提交到各个搜索即可。<br/><br/><a href="http://www.xml-sitemaps.com" target="_blank">http://www.xml-sitemaps.com</a><br/><br/>例如aming.org提交后，就会返回本博客的sitemap，四种格式都有<br/><a href="http://www.xml-sitemaps.com/details-aming.org.html" target="_blank">http://www.xml-sitemaps.com/details-aming.org.html</a>]]></description><category>网络网站</category><comments>http://aming.org/blog/free-sitemap.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=41</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=41&amp;key=469cab34</trackback:ping></item><item><title>Discuz的SiteMap生成器PHP脚本</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/Discuz-SiteMap.PHP.html</link><pubDate>Mon, 13 Nov 2006 02:26:25 +0800</pubDate><guid>http://aming.org/blog/Discuz-SiteMap.PHP.html</guid><description><![CDATA[使用Discuz站长必备：<br/><br/><br/>首先申明，这个代码是改自网上找的一个多功能版，但是现在生成的假静态版仅支持Discuz 4.0及4.1！在生成Sitemap在本站测试无错。<br/>　　很多站长都在为自己的网站Google长期不收录，或者只收录了一个首页而感到不解。其实，Google 的搜索机器人对于动态网页的表现不是太好，而我们的论坛都往往使用了动态网页，很少使用静态HTML方式。那么，有没有什么办法让 Google 的搜索机器人了解我们网站的网页结构呢？<br/>　　如果不怕浏览器卡死, 可以点击这里看看效果: <br/>　　静态版演示　　　http://bbs.3her.net/sitemap.php<br/>　　非静态演示　　　http://bbs.3her.net/sitemap2.php<br/>　　保存后的XML　　<a href="http://bbs.3her.net/sitemap.xml" target="_blank">http://bbs.3her.net/sitemap.xml</a><br/>　　本功能的实现：<br/>　　1、先使用能支持UTF-8的文本编辑器，正确设置下列内容：<br/>　　$website --你的域名Url(Web根目录访问的完全路径，最后不带“/”，如 'http://aming.org')<br/>　　$bbsdir --你的BBS相对于根目录的绝对路径（起始带“/”，如'/bbs'）<br/>　　2、将 sitemap.php 文件上传到你的 Discuz！论坛目录中（这里假定为BBS）<br/>　　注意：如果你的主机使用的是UNIX系统，那么请设置 sitemap.php 文件的属性为755<br/>　　3、在浏览器中执行　http://aming.org/sitemap.php<br/>　　注意：请使用IE6.0以上版本访问本文件，并一定耐心等待，一定要等到最后的标志输出完成，否则XML定义不完整，会报错！<br/>　　4、在返回的XML界面中，点IE“文件”菜单中的“另存为”，保存为sitemap.xml文件<br/>　　注意：可以使用支持UTF-8的编辑器打开查看生成的网址是否正确，强烈建议使用EmEditor、NotePad等<br/>　　5、将该文件用ftp上传到你的站点的Web根目录中；<br/>　　6、登录google网站：<a href="https://www.google.com/webmasters/sitemaps" target="_blank">https://www.google.com/webmasters/sitemaps</a>，提交你的Sitemap文件，一般在几个小时之后，Google就会下载你的sitemap文件<br/>下列为生成为假静态的Google sitemap<br/><br/><textarea class="code" rows="10" cols="50">
&lt;?php
error_reporting(2047);
header('Content-type:&nbsp;application/xml;&nbsp;charset="UTF-8"',true);
//header("Content-encoding:&nbsp;UTF-8");
echo&nbsp;'&lt;?xml&nbsp;version="1.0"&nbsp;encoding="UTF-8"?&gt;';
?&gt;
&lt;?php

//请使用IE6.0以上版本访问本文件，并一定耐心等待，一定要等到最后的&lt;/urlset&gt;标志输出完成，否则XML定义不完整，会报错滴..

$bbs_version&nbsp;=&nbsp;'dz41';
$website&nbsp;&nbsp;=&nbsp;'http://bbs.3her.net';&nbsp;&nbsp;//修改成你的网站域名&nbsp;最后不带“/”
$bbsdir&nbsp;&nbsp;=&nbsp;'';&nbsp;//BBS目录,相对于Web根目录的相对目录（起始带“/”）

//$username&nbsp;=&nbsp;'admin';&nbsp;//登录用户名,为防止被滥用,设置一个固定用户名,可以随意更改
//$userpass&nbsp;=&nbsp;'admin';&nbsp;//登录口令,可以随便更改

/*
$changefreq--更新时间单位&nbsp;"always"(始终),&nbsp;"hourly"(小时),&nbsp;"daily"(天),&nbsp;"weekly"(星期),&nbsp;"monthly"(月),&nbsp;"yearly"&nbsp;"never"(从不)
$priority--更新频率
*/

$max_threads&nbsp;=&nbsp;10000;&nbsp;&nbsp;//定义每个板块最大返回数据数量（防止查询占用时间太长）
$changefreq&nbsp;=&nbsp;array(&nbsp;&nbsp;//定义访问频度
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"always",
);

//定义网页的优先级,默认为0.5
$priority&nbsp;=&nbsp;0.8;&nbsp;

//将所有版面列表的最后修改日期设置为今天
//$last_modification&nbsp;=&nbsp;date("Y-m-d\TH:i:s")&nbsp;.&nbsp;substr(date("O"),0,3)&nbsp;.&nbsp;":"&nbsp;.&nbsp;substr(date("O"),3);
$last_modification&nbsp;=&nbsp;date("Y-m-d");

//定义允许提取的版面列表
//$allow_forum[]&nbsp;=&nbsp;array&nbsp;();

//print_r($_POST);




?&gt;
&lt;urlset&nbsp;xmlns="http://www.google.com/schemas/sitemap/0.84"
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://www.google.com/schemas/sitemap/0.84/sitemap.xsd"&gt;
&nbsp;&nbsp;&lt;url&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;loc&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode("$website$bbsdir/index.php");&nbsp;?&gt;&lt;/loc&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;changefreq&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode("hourly");&nbsp;?&gt;&lt;/changefreq&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;priority&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode("0.8");&nbsp;?&gt;&lt;/priority&gt;
&nbsp;&nbsp;&lt;/url&gt;
&lt;?php

switch&nbsp;($bbs_version)&nbsp;{
case&nbsp;'dz41':
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;require_once("./config.inc.php");
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;
default:
&nbsp;&nbsp;&nbsp;&nbsp;exit("暂时还不能在此版本上运行,可以PM一下发布者!");&nbsp;&nbsp;//终止执行
}



//开始添加BBS动态网页
$dblnk&nbsp;=&nbsp;@mysql_connect($dbhost,&nbsp;$dbuser,&nbsp;$dbpw)&nbsp;or&nbsp;exit('数据库连接错误:&nbsp;错误号'&nbsp;.&nbsp;mysql_errno());
//&nbsp;make&nbsp;phpwind&nbsp;the&nbsp;current&nbsp;db
mysql_select_db($dbname,&nbsp;$dblnk)&nbsp;or&nbsp;exit('无法选定数据库:&nbsp;错误号'&nbsp;.&nbsp;mysql_errno());

//先获取可以匿名访问的各板块
switch&nbsp;($bbs_version)&nbsp;{
case&nbsp;'dz41':
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;require_once("./forumdata/cache/cache_forums.php");
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;require_once("./forumdata/cache/cache_settings.php");&nbsp;&nbsp;//获得某些核心参数--帖子分页(主题分页暂不考
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$threadtable&nbsp;=&nbsp;'cdb_threads';
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$db_readperpage&nbsp;=&nbsp;$_DCACHE['settings']['postperpage'];
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$threadlist&nbsp;=&nbsp;'forumdisplay.php';
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$forum&nbsp;=&nbsp;$_DCACHE['forums'];
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$threadview1&nbsp;=&nbsp;"$website$bbsdir/thread-";&nbsp;//http://bbs.3her.net/thread-79-1.html
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$threadviewOne2&nbsp;=&nbsp;'-1-1.html';
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$threadviewMore2=&nbsp;'-1-';
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$threadview3=&nbsp;'.html';
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;
}


foreach&nbsp;($forum&nbsp;as&nbsp;$f){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;($f['type']=='forum'){&nbsp;&nbsp;//该板块为Forum
?&gt;
&nbsp;&nbsp;&lt;url&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;loc&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode("$website$bbsdir/$threadlist?fid=".$f['fid']);&nbsp;?&gt;&lt;/loc&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;changefreq&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode("hourly");&nbsp;?&gt;&lt;/changefreq&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;priority&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode("0.8");&nbsp;?&gt;&lt;/priority&gt;
&nbsp;&nbsp;&lt;/url&gt;
&lt;?php
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//输出该版中所有最新帖子的数量
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//print_r($f);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$sql&nbsp;=&nbsp;"SELECT&nbsp;&nbsp;tid,lastpost,replies&nbsp;FROM&nbsp;$threadtable&nbsp;where&nbsp;fid=".$f['fid']."&nbsp;order&nbsp;by&nbsp;lastpost&nbsp;&nbsp;limit&nbsp;$max_threads";
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$result&nbsp;=&nbsp;@mysql_query($sql,$dblnk)&nbsp;or&nbsp;exit("查询出错:&nbsp;"&nbsp;.&nbsp;mysql_errno());
&nbsp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threadview1.$tid.$threadviewOne2));&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//echo&nbsp;utf8_encode(htmlspecialchars("$website$bbsdir/read.php?tid=".$row['tid']."&page=$i&fpage=1"));
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;utf8_encode(htmlspecialchars($threadview1.$tid.$threadviewMore2.$i.$threadview3));&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;?&gt;&lt;/loc&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;lastmod&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode(pw_get_date($row['lastpost']));?&gt;&lt;/lastmod&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;changefreq&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode("daily");&nbsp;?&gt;&lt;/changefreq&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;priority&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode("0.5");&nbsp;?&gt;&lt;/priority&gt;
&nbsp;&nbsp;&lt;/url&gt;
&lt;?php
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}

}


function&nbsp;pw_get_date($timestamp,$timeformat=''){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//$date_show=$timeformat&nbsp;?&nbsp;$timeformat&nbsp;:&nbsp;("Y-m-d\TH:i:s");
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//return&nbsp;date($date_show,$timestamp).&nbsp;substr(date("O"),0,3)&nbsp;.&nbsp;":"&nbsp;.&nbsp;substr(date("O"),3);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$date_show=$timeformat&nbsp;?&nbsp;$timeformat&nbsp;:&nbsp;("Y-m-d");
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;date($date_show,$timestamp);
}

?&gt;
&lt;/urlset&gt;
</textarea><br/><br/>这个是生成为普通列表的Google sitemap<br/><br/><br/><textarea class="code" rows="10" cols="50">
&lt;?php
error_reporting(2047);
header('Content-type:&nbsp;application/xml;&nbsp;charset="UTF-8"',true);
//header("Content-encoding:&nbsp;UTF-8");
echo&nbsp;'&lt;?xml&nbsp;version="1.0"&nbsp;encoding="UTF-8"?&gt;';
?&gt;
&lt;?php

//请使用IE6.0以上版本访问本文件，并一定耐心等待，一定要等到最后的&lt;/urlset&gt;标志输出完成，否则XML定义不完整，会报错滴..
//有问题可以登陆&nbsp;http://bbs.3her.net&nbsp;寻找解决方法
//此版本为Disucz&nbsp;4.1&nbsp;的专用PHP页面Google&nbsp;Sitemap生成版

$bbs_version&nbsp;=&nbsp;'dz41';&nbsp;
$website&nbsp;&nbsp;=&nbsp;'http://bbs.3her.net';&nbsp;&nbsp;//修改成你的网站域名&nbsp;最后不带“/”
$bbsdir&nbsp;&nbsp;=&nbsp;'';&nbsp;//BBS目录,相对于Web根目录的相对目录（起始带“/”）


//$username&nbsp;=&nbsp;'admin';&nbsp;//登录用户名,为防止被滥用,设置一个固定用户名,可以随意更改(请勿使用不容易打出的字符)
//$userpass&nbsp;=&nbsp;'admin';&nbsp;//登录口令,可以随便更改

/*
$changefreq--更新时间单位&nbsp;"always"(始终),&nbsp;"hourly"(小时),&nbsp;"daily"(天),&nbsp;"weekly"(星期),&nbsp;"monthly"(月),&nbsp;"yearly"&nbsp;"never"(从不)
$priority--更新频率
*/

$max_threads&nbsp;=&nbsp;10000;&nbsp;&nbsp;//定义每个板块最大返回数据数量（防止查询占用时间太长）

$changefreq&nbsp;=&nbsp;array(&nbsp;&nbsp;//定义访问频度
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"always",
);

//定义网页的优先级,默认为0.5
$priority&nbsp;=&nbsp;0.8;&nbsp;

//将所有版面列表的最后修改日期设置为今天
//$last_modification&nbsp;=&nbsp;date("Y-m-d\TH:i:s")&nbsp;.&nbsp;substr(date("O"),0,3)&nbsp;.&nbsp;":"&nbsp;.&nbsp;substr(date("O"),3);
$last_modification&nbsp;=&nbsp;date("Y-m-d");

//定义允许提取的版面列表
//$allow_forum[]&nbsp;=&nbsp;array&nbsp;();

//print_r($_POST);




?&gt;
&lt;urlset&nbsp;xmlns="http://www.google.com/schemas/sitemap/0.84"
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://www.google.com/schemas/sitemap/0.84/sitemap.xsd"&gt;
&nbsp;&nbsp;&lt;url&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;loc&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode("$website$bbsdir/index.php");&nbsp;?&gt;&lt;/loc&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;changefreq&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode("hourly");&nbsp;?&gt;&lt;/changefreq&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;priority&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode("0.8");&nbsp;?&gt;&lt;/priority&gt;
&nbsp;&nbsp;&lt;/url&gt;
&lt;?php

switch&nbsp;($bbs_version)&nbsp;{
case&nbsp;'dz41':
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;require_once("./config.inc.php");
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;
default:
&nbsp;&nbsp;&nbsp;&nbsp;exit("暂时还不能在此版本上运行,请到作者网站查看是否有升级版本!");&nbsp;&nbsp;//终止执行
}




//开始添加BBS动态网页
$dblnk&nbsp;=&nbsp;@mysql_connect($dbhost,&nbsp;$dbuser,&nbsp;$dbpw)&nbsp;or&nbsp;exit('数据库连接错误:&nbsp;错误号'&nbsp;.&nbsp;mysql_errno());
//&nbsp;make&nbsp;phpwind&nbsp;the&nbsp;current&nbsp;db
mysql_select_db($dbname,&nbsp;$dblnk)&nbsp;or&nbsp;exit('无法选定数据库:&nbsp;错误号'&nbsp;.&nbsp;mysql_errno());

//先获取可以匿名访问的各板块
switch&nbsp;($bbs_version)&nbsp;{
case&nbsp;'dz41':
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;require_once("./forumdata/cache/cache_forums.php");
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;require_once("./forumdata/cache/cache_settings.php");&nbsp;&nbsp;//获得某些核心参数--帖子分页(主题分页暂不考
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$threadtable&nbsp;=&nbsp;'cdb_threads';
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$db_readperpage&nbsp;=&nbsp;$_DCACHE['settings']['postperpage'];
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$threadlist&nbsp;=&nbsp;'forumdisplay.php';
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$forum&nbsp;=&nbsp;$_DCACHE['forums'];
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$threadview1&nbsp;=&nbsp;"$website$bbsdir/viewthread.php?tid=";&nbsp;//http://bbs.3her.net/viewthread.php?tid=1&extra=page%3D1&page=2
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$threadviewOne2&nbsp;=&nbsp;'&extra=page%3D1';
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$threadviewMore2=&nbsp;'&extra=page%3D1&page=';
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$threadview3=&nbsp;'';
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;
}


foreach&nbsp;($forum&nbsp;as&nbsp;$f){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;($f['type']=='forum'){&nbsp;&nbsp;//该板块为Forum
?&gt;
&nbsp;&nbsp;&lt;url&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;loc&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode("$website$bbsdir/$threadlist?fid=".$f['fid']);&nbsp;?&gt;&lt;/loc&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;changefreq&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode("hourly");&nbsp;?&gt;&lt;/changefreq&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;priority&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode("0.8");&nbsp;?&gt;&lt;/priority&gt;
&nbsp;&nbsp;&lt;/url&gt;
&lt;?php
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//输出该版中所有最新帖子的数量
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//print_r($f);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$sql&nbsp;=&nbsp;"SELECT&nbsp;&nbsp;tid,lastpost,replies&nbsp;FROM&nbsp;$threadtable&nbsp;where&nbsp;fid=".$f['fid']."&nbsp;order&nbsp;by&nbsp;lastpost&nbsp;&nbsp;limit&nbsp;$max_threads";
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$result&nbsp;=&nbsp;@mysql_query($sql,$dblnk)&nbsp;or&nbsp;exit("查询出错:&nbsp;"&nbsp;.&nbsp;mysql_errno());
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//$num_rows&nbsp;=&nbsp;mysql_num_rows($result);
&nbsp;&nbsp;&nbsp;&nb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bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;($i=1;&nbsp;$i&lt;=$numofpage;&nbsp;$i++)&nbsp;{&nbsp;//输出每一页
?&gt;
&nbsp;&nbsp;&lt;url&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;loc&gt;&lt;?php&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;($i==1)&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//echo&nbsp;utf8_encode(htmlspecialchars("$website$bbsdir/read.php?tid=".$row['tid']."&fpage=1"));&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;utf8_encode(htmlspecialchars($threadview1.$tid.$threadviewOne2));&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//echo&nbsp;utf8_encode(htmlspecialchars("$website$bbsdir/read.php?tid=".$row['tid']."&page=$i&fpage=1"));
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;utf8_encode(htmlspecialchars($threadview1.$tid.$threadviewMore2.$i.$threadview3));&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;?&gt;&lt;/loc&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;lastmod&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode(pw_get_date($row['lastpost']));?&gt;&lt;/lastmod&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;changefreq&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode("daily");&nbsp;?&gt;&lt;/changefreq&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;priority&gt;&lt;?php&nbsp;echo&nbsp;utf8_encode("0.5");&nbsp;?&gt;&lt;/priority&gt;
&nbsp;&nbsp;&lt;/url&gt;
&lt;?php
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}

}


function&nbsp;pw_get_date($timestamp,$timeformat=''){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//$date_show=$timeformat&nbsp;?&nbsp;$timeformat&nbsp;:&nbsp;("Y-m-d\TH:i:s");
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//return&nbsp;date($date_show,$timestamp).&nbsp;substr(date("O"),0,3)&nbsp;.&nbsp;":"&nbsp;.&nbsp;substr(date("O"),3);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$date_show=$timeformat&nbsp;?&nbsp;$timeformat&nbsp;:&nbsp;("Y-m-d");
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;date($date_show,$timestamp);
}

?&gt;
&lt;/urlset&gt;
</textarea>]]></description><category>网络网站</category><comments>http://aming.org/blog/Discuz-SiteMap.PHP.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=40</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=40&amp;key=94378735</trackback:ping></item><item><title>.htaccess文件使用手册</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/htaccess-readme.html</link><pubDate>Sat, 05 Aug 2006 05:18:48 +0800</pubDate><guid>http://aming.org/blog/htaccess-readme.html</guid><description><![CDATA[- .htaccess文件(或者"分布式配置文件"提供了针对目录改变配置的方法， 即，在一个特定的文档目录中放置一个包含一个或多个指令的文件， 以作用于此目录及其所有子目录。作为用户，所能使用的命令受到限制。管理员可以通过Apache的AllowOverride指令来设置。 <br/><br/>- 子目录中的指令会覆盖更高级目录或者主服务器配置文件中的指令。 <br/><br/>- .htaccess必须以ASCII模式上传，最好将其权限设置为644。 <br/><br/>错误文档的定位 <br/>常用的客户端请求错误返回代码： <br/>401 Authorization Required <br/>403 Forbidden <br/>404 Not Found <br/>405 Method Not Allowed <br/>408 Request Timed Out <br/>411 Content Length Required <br/>412 Precondition Failed <br/>413 Request Entity Too Long <br/>414 Request URI Too Long <br/>415 Unsupported Media Type <br/>常见的服务器错误返回代码： <br/>500 Internal Server Error <br/><br/>用户可以利用.htaccess指定自己事先制作好的错误提醒页面。一般情况下，人们可以专门设立一个目录，例如errors放置这些页面。然后再.htaccess中，加入如下的指令： <br/><textarea class="code" rows="10" cols="50">
ErrorDocument&nbsp;404&nbsp;/errors/notfound.html&nbsp;
ErrorDocument&nbsp;500&nbsp;/errors/internalerror.html&nbsp;
</textarea><br/>一条指令一行。上述第一条指令的意思是对于404，也就是没有找到所需要的文档的时候得显示页面为/errors目录下的notfound.html页面。不难看出语法格式为： <br/><br/>ErrorDocument 错误代码 /目录名/文件名.扩展名 <br/><br/>如果所需要提示的信息很少的话，不必专门制作页面，直接在指令中使用HTML号了，例如下面这个例子： <br/><br/>ErrorDocument 401 "你没有权限访问该页面，请放弃！" <br/><br/>文档访问的密码保护 <br/><br/>要利用.htaccess对某个目录下的文档设定访问用户和对应的密码，首先要做的是生成一个.htpasswd的文本文档，例如： <br/><br/>zheng:y4E7Ep8e7EYV <br/><br/>这里密码经过加密，用户可以自己找些工具将密码加密成.htaccess支持的编码。该文档最好不要放在www目录下，建议放在www根目录文档之外，这样更为安全些。 <br/><br/>有了授权用户文档，可以在.htaccess中加入如下指令了： <br/><textarea class="code" rows="10" cols="50">
AuthUserFile&nbsp;.htpasswd的服务器目录&nbsp;
AuthGroupFile&nbsp;/dev/null&nbsp;（需要授权访问的目录）&nbsp;
AuthName&nbsp;EnterPassword&nbsp;
AuthType&nbsp;Basic&nbsp;（授权类型）&nbsp;

require&nbsp;user&nbsp;wsabstract&nbsp;（允许访问的用户，如果希望表中所有用户都允许，可以使用&nbsp;require&nbsp;valid-user）&nbsp;
</textarea><br/>注，括号部分为学习时候自己添加的注释 <br/><br/>拒绝来自某个IP的访问 <br/><br/>如果我不想某个政府部门访问到我的站点的内容，那可以通过.htaccess中加入该部门的IP而将它们拒绝在外。 <br/><br/>例如： <br/><br/><textarea class="code" rows="10" cols="50">
order&nbsp;allow,deny&nbsp;
deny&nbsp;from&nbsp;210.10.56.32&nbsp;
deny&nbsp;from&nbsp;219.5.45.&nbsp;
allow&nbsp;from&nbsp;all&nbsp;
</textarea><br/>第二行拒绝某个IP，第三行拒绝某个IP段，也就是219.5.45.0~219.2.45.255 <br/><br/>想要拒绝所有人？用deny from all好了。不止用IP，也可以用域名来设定。 <br/><br/>保护.htaccess文档 <br/><br/>在使用.htaccess来设置目录的密码保护时，它包含了密码文件的路径。从安全考虑，有必要把.htaccess也保护起来，不让别人看到其中的内容。虽然可以用其他方式做到这点，比如文档的权限。不过，.htaccess本身也能做到，只需加入如下的指令： <br/><br/><textarea class="code" rows="10" cols="50">
order&nbsp;allow,deny&nbsp;
deny&nbsp;from&nbsp;all&nbsp;
</textarea><br/><br/>URL转向 <br/><br/>我们可能对网站进行重新规划，将文档进行了迁移，或者更改了目录。这时候，来自搜索引擎或者其他网站链接过来的访问就可能出错。这种情况下，可以通过如下指令来完成旧的URL自动转向到新的地址： <br/><textarea class="code" rows="10" cols="50">
Redirect&nbsp;/旧目录/旧文档名&nbsp;新文档的地址&nbsp;
</textarea><br/>或者整个目录的转向： <br/><textarea class="code" rows="10" cols="50">
Redirect&nbsp;旧目录&nbsp;新目录&nbsp;
</textarea><br/>改变缺省的首页文件 <br/><br/>一般情况下缺省的首页文件名有default、index等。不过，有些时候目录中没有缺省文件，而是某个特定的文件名，比如在pmwiki中是pmwiki.php。这种情况下，要用户记住文件名来访问很麻烦。在.htaccess中可以轻易的设置新的缺省文件名： <br/><textarea class="code" rows="10" cols="50">
DirectoryIndex&nbsp;新的缺省文件名&nbsp;
</textarea><br/>也可以列出多个，顺序表明它们之间的优先级别，例如： <br/><textarea class="code" rows="10" cols="50">
DirectoryIndex&nbsp;filename.html&nbsp;index.cgi&nbsp;index.pl&nbsp;default.htm&nbsp;
</textarea><br/>防止盗链 <br/><br/>如果不喜欢别人在他们的网页上连接自己的图片、文档的话，也可以通过htaccess的指令来做到。 <br/><br/>所需要的指令如下： <br/><textarea class="code" rows="10" cols="50">
RewriteEngine&nbsp;on&nbsp;
RewriteCond&nbsp;%&nbsp;!^$&nbsp;
RewriteCond&nbsp;%&nbsp;!^http://(www\.)?mydomain.com/.*$&nbsp;[NC]&nbsp;
RewriteRule&nbsp;\.(gif|jpg)$&nbsp;-&nbsp;[F]&nbsp;
</textarea><br/>如果觉得让别人的页面开个天窗不好看，那可以用一张图片来代替： <br/><textarea class="code" rows="10" cols="50">
RewriteEngine&nbsp;on&nbsp;
RewriteCond&nbsp;%&nbsp;!^$&nbsp;
RewriteCond&nbsp;%&nbsp;!^http://(www\.)?mydomain.com/.*$&nbsp;[NC]&nbsp;
RewriteRule&nbsp;\.(gif|jpg)$&nbsp;http://www.mydomain.com/替代图片文件名&nbsp;[R,L]
</textarea>]]></description><category>网络网站</category><comments>http://aming.org/blog/htaccess-readme.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=36</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=36&amp;key=7380dff2</trackback:ping></item><item><title>出血了，一口气注册了18个域名</title><author>a@aming.org (aming)</author><link>http://aming.org/blog/domain-names.html</link><pubDate>Sun, 09 Jul 2006 08:11:53 +0800</pubDate><guid>http://aming.org/blog/domain-names.html</guid><description><![CDATA[注册的时候还真挺爽……<br/><br/>今天将其中较好的8个拿出来备案了，机械式填表，无聊<br/><br/>这次集中于4位的数字域名，都是些AABB/ABAB型，也有一些是ABBA型的 org & info 域名，对于国人来说，这些属于好记类的域名<br/><br/>说几个吧：<br/><br/>5500.org  （5是"我"  0是"你"）<br/>8833.info  （可惜不是38 :lol:）<br/>8686.info （86是中国国际长途号）<br/>7007.info<br/>5525.info （5乘5=25吧）<br/>8338.org+8338.info　一对<br/>9393.org+3939.info　也算一对<br/>……<br/>嘿嘿，info中AABB/ABAB/ABBA类好记的、或多8的，能注册的域名我全扫光了<br/><br/>除了数字外，还有 ikaka.info :lol::b<br/><br/><br/><br/>以下这些出售，联系我吧<br/><textarea class="code" rows="10" cols="50">
9133.info（这个貌似注册错了:D）
3993.info
9669.info
6996.info
6336.info
8818.info
8828.info
</textarea>]]></description><category>网络网站</category><comments>http://aming.org/blog/domain-names.html#comment</comments><wfw:comment>http://aming.org/</wfw:comment><wfw:commentRss>http://aming.org/feed.asp?cmt=32</wfw:commentRss><trackback:ping>http://aming.org/cmd.asp?act=tb&amp;id=32&amp;key=9585bcf1</trackback:ping></item></channel></rss>

<a href="http://www.95105336.info" style="margin-left:-999px"></a>
<a href="http://www.dz56.net.cn" style="margin-left:-999px">Ϻǿ</a>
