Xeo Tse

2010年02月10日

wordpress文章内容自动标签

类归于: 资源/Source — 标签:, , , , , , , , , — Xeo @ 09:13

         写文章时,合理的内链可以更有利SEO,提高搜索引擎的抓取。用Simple tags插件去实现的话,可以在文章开头、结尾和Feed里面自动添加tags,或智能全站添加。但是要将文章内容与tags对应的关键字加入关联链接的话,Simple tags达不到效果。

         有一种比较简单的方法,那就是改动wp-includes目录下的post-template.php文件。

         找到下列代码:

          $content = str_replace(‘]]>’, ‘]]>’, $content);

          下面添加为:

 $allTags = get_tags();
 foreach($allTags as $tag) {
 $content = str_replace($tag->name,”<a style=\”text-decoration: underline;\” href=\”/archives/tag/”.$tag->slug.”\”>”.$tag->name.”</a>”,$content);
 }

               OK了,检查一下,文章含有tags的词语都带上内链了。这种方法与simple tags有点冲突,使用上面方法的话,就关闭simple tags的相关日志功能,否则会显示不正常。

2010年01月7日

标签/Tags

类归于: — 标签:, — Xeo @ 13:18

2009年12月12日

手机打长途取消本地通话费与漫游主叫通话费

类归于: 信息/Info — 标签:, , , , , , , , , — Xeo @ 10:46

         虽然极少用手机,但也认为手机拨打长途要收取本地通话不太合理,尤其是漫游时,还要加收漫游主叫通话费。现在好了,昨天的消息说,从明年起就要取消这两项了。不过,一直最不合理的什么套餐月租费之类的问题还是没有解决,像我这样的,一个月不会拨打超过五个电话,不会发超过五条信息的人,套餐是不是根本用不着。

         关键词:手机 长途 话费 本地通话 漫游

        自2010年1月1日起,移动电话在本地拨打长途电话时,将取消现行叠加收取的本地通话费;在国内漫游状态下拨打国际及台港澳电话,取消现行叠加收取的漫游主叫通话费。据有关电信企业测算,这些措施每年可为手机用户减负逾60亿元。
         工业和信息化部、国家发改委今日公布《关于简化移动电话拨打长途电话资费的通知》,决定对移动电话拨打长途电话实行单一计费方式,降低资费水平。
——手机用户在本地拨打长途电话,将现行同时收取的本地通话费和长途通话费两项收费,合并为“长途通话费”一项,合并后的长途通话费仍按现行每6秒0.07元的上限标准执行。
——在国内漫游状态下拨打国际及台港澳电话,只收取长途通话费。
——在国内漫游状态下拨打国内长途电话,继续执行现行规定,只收取每分钟不超过0.6元的国内漫游主叫通话费。
        单一计费实施后,将减轻手机用户的资费负担。以国内长途为例,按现行资费政策,未选择优惠套餐的手机用户在本地拨打国内长途,需支付每6秒不超过0.07元的长途通话费,以及每分钟0.4到0.6元的本地通话费,合计每分钟最高为1.1到1.3元。简化资费结构后,只收取长途通话费,每分钟通话费降低0.4元到0.6元。
        自1994年5月开始,国内移动电话拨打长途电话,除收取长途通话费外,还叠加收取本地通话费或漫游费。2008年,上述两部委发文将国内漫游通话费上限标准统一降至每分钟0.6元,解决了用户在漫游状态下拨打国内长途电话叠加计费问题。但在本地拨打长途电话和在漫游状态下拨打国际、台港澳长途电话仍实行叠加计费。此次调整后,手机用户拨打长途实行单一计费,收费结构更为合理。

2009年10月30日

INTERNATIONAL BUILDER’S SHOW

类归于: 展会/Fair — 标签:, , , , , , , , , , , , , , , , , , , — Xeo @ 09:22

buildersshow

       At the International Builder’s Show, a new model house is promoted as a green luxury abode. But its size begs to differ. The so-called New American Home embodies both extremes of American construction—ever more square footage alongside a renewed interest in energy efficiency. From Las Vegas, we weigh in on this efficient and technologically impressive, if oversized home.

 

      The New American Home, a show house featured at this week’s International Builders’ Show in Las Vegas, seems to represent two extremes of American building impulses—lots of environmental innovation in an oversize package. The building isn’t just for gawking. It’s one of 14 similar houses for sale with price tags from $1 million to $4.5 million that include many of today’s sustainable technologies in an 8721-sq-ft spread. There is a reclaimed teak foyer table, a salvaged elm office floor, and the chaise lounge’s velvet and the countertops are made from scraps dutifully gathered from the grounds of mills and quarries. This green bling lives alongside some extravagant amenities: Flickering gas fireplaces pop up on vacant walls, the dog gets its own shower and the HDTVs are outnumbered only by the flat screen home automation panels so complex the interior designer had to learn how to turn on the lights. Handsome new LED bulbs save power—or would, if the house didn’t have so many hundreds of them. Solar panels heat hot water for the infinity pool. And damn, what a pool—complete with submerged, swim-up concrete bar stools. And there’s another bar outside the pool, and another in the basement.

      The New American Home’s rooftop bristles with photovoltaic panels that, the builders claim, completely make up for the 4200 kilowatt-hours a year in electricity to power its abundant lights and gadgets. But while the electricity is offset, the energy consumed by the house is not. The bulk of an estimated $2500 annual total utility cost would come from the natural gas used to heat and cool the house, heat the water and fire up those fireplaces. In its defense, the house cools itself using 39 percent as much fuel as a comparably sized structure, but using a rough Las Vegas average of $7 per million btuin natural gas (the national average is $4.90), we estimate that this house consumes close to 300 million Btu in gas per year. At 293 kwh-per-million Btu, that’s getting up past 85,000 kwh per year—three times the average American home’s 27,022 annual kwh. Put simply, this house is bloated.

      The wealthy, environmentally attuned family that presumably would move in could save far more energy by moving to a 3000 sq-ft. house—even one without all the solar panels.

 
      This model home, then, is not a model for sustainable living. And that’s not the only thing that feels out of joint here. The expansive house, like the Builders’ Show’s move to Las Vegas from Florida, was planned before the real estate bust. This city’s famous building boom has been replaced by a foreclosure era, with cranes abandoned at casino construction sites and building permit applications drying up faster than Lake Mead. This extravagant green showpiece seems unlikely to have many imitators in the current economic climate. For those who care about sustainability, that may be a good thing.

2009年08月13日



Aomox  京ICP备09011603号 站长联合会支持网站