康爷的博客

关于康爷的日志,IT相关,火鸟,Live Space教程,和iPhone的最新报道和数学相关的内容

Google Lively Hacks: How To Move Your Avatar... 前往火星 »

If you have problems about Google Lively, you can comment here~

more news about Google and Lively? just subscribe it~

You may want to see: Google Lively Hacks:Create A New Room

Google just release Lively, a 3D social networking/chat tool. A lot of people are now testing Lively and they may feel confused using Lively. Here are some hacks of Google Lively. Wish it can be helpful for you~

The No 3 Hack is

How to move your avatar

Moving is a basic action in Lively room. Without moving, you can almost do nothing. Here are three ways to move your avatar in a Lively room.

1.Drag Your Avatar

This is the most used way to move your avatar. Put your mouse pointer on your avatar, the pointer will become a cross. Then, hold Left Click, and you can move your mouse to dray your avatar now. With this, you can move your avatar to anywhere you can see.

2.Click somewhere to move

In the lively room, if you want to reach somewhere, you just need to click at that place. It's easy. And it is another way to move. By clicking, you can moving swiftly~

3.Move to an object

If you want to talk with another avatar, or you want to sit on a chair, you need to go to that object. An easiest way to do so is that you click on that object, and choose "Move to". After that, you will arrive your destination~

 

A picture is worth a thousand of words. So I record a video to show you how to move in Lively room. I uploaded it to Youtube. Here is the video:

2008年高考上海市一本录取分数线... 前往火星 »

2008年高考上海各高中成绩排名

复旦 理532 文518  
交大 理523 文511  
同济 理507 文491  
财大 理514 文502  
上外 理507 文503  
华师 理502 文497  
外贸 理498 文493  
华理 理491 文480  
华政 理492 文486  
东华 理未知文482  
上大 理475 文478

关键词:

2008年上海高中录取分数线 一本 录取分数线

Google Lively Hacks: Choose A Room To Join... 前往火星 »

If you have problems about Google Lively, you can comment here~

more news about Google and Lively? just subscribe it~

You may want to see: Google Lively Hacks:Create A New Room

Google just release Lively, a 3D social networking/chat tool. A lot of people are now testing Lively and they may feel confused using Lively. Here are some hacks of Google Lively. Wish it can be helpful for you~

The No 2 Hack is

Choose a room to join

Since Google Lively is a 3D chat room service, chatting is the key point. So it is important to choose a suitable room for you to enjoy chatting.

Here are 5 ways to choose a good room for you:

1.Popular Room

When you enter the page: http://www.lively.com/, Google will automatically direct your page to Google will automatically direct your page to http://www.lively.com/popular, a list of popular rooms.

In the Popular Rooms, you will see rooms ranked by popularity, not the number of total visitors who have visited one room. So, the top room in the Popular Rooms list is a room with the most visitors at the current time. If you want to meet more anonymous people there, just enter the popular room~

Tips:If you want to enter a room , just double click on its thumbnail~

popular room

2. New room

If you click the New room link, google will direct you to a page with the newest room created by Lively user. These rooms can be filtered by “High Activity”, “Low Activity”, or even “Empty”. If you want to chat in the newest created room, just go to the new room page and choose one~

3.Friends’ room

Lively is a social network, so you have friends here~ Once you add someone as your contact, and this user also adds you as a contact, you became friends. In Lively, friends can do something that anonymous cannot do, which will be introduced later~

Now, you go to http://www.lively.com/friends. If you have friends and if your friends have created their rooms, you will see a list of rooms created by your friends.

This is amazing! Just like the real life in the world! You have your friends and you can pay a visit to them. However, it is much easier to do that in Lively~Enjoy it!

4.All room

All room is just like Yahoo! in Lively. It is a portal. In the page of http://www.lively.com/rooms, you can see all of the rooms existed in Lively. Like that in New room, the rooms in All room can be filtered by “High Activity”, “Low Activity”, or even “Empty”. And more, the rooms can be sorted here. All rooms can be sorted by “Occupancy” (number of current visitors), “Visitor” (the total number of people who have visited the room), and “Date Created”.

all room

5.Search is everything

The last but not the least. Lively is a Google labs product, so it surely has its search engine. Just enter the keywords you’d like to search, then you will get all the rooms in your favorite~ It’s easy!

google

值得一去的9家上海小吃店... 前往火星 »

上次说了上海平价的西餐自助餐厅大全,这次说说小吃~

小吃,按照书面解释是 一类在口味上具有特定风格特色的食品的总称,由于消费一般不高,所以大家也乐于对此消费,在我看来,现在的小吃范围很广:本帮里面传统的小笼生煎是小吃;粤菜里面的虾饺、肠粉是小吃;舶来的提拉米苏、cheese cake也是小吃呵呵
这点在上海这个海纳百川的城市中显得尤为突出,在此列一下个人认为上海值得一去的9家小吃店

1.万寿斋——理想海派小吃店--三鲜大馄饨

也许你会觉得这家店不是很好找
也许你会觉得这个小店不干净,还人挤人的
也许你会觉坐在门口的老阿姨不讲卫生
用刚刚收过钱的手在抹布上抹两把就继续包那些看起来白白胖胖的大馄饨
但是这里的三鲜大馄饨不会让你失望,肯定是上海最好的三鲜大馄饨了
大大的个头,饱满的身材,丰富的馅料,本帮的味道,实惠的价格
走进处在山阴路的老式上海民居小洋房夹缝之中,处在法国梧桐的树荫之下的传统小店
给穿着白褂子带着老花镜的老阿姨3.5元钱,
来一碗三鲜大馄饨,QQ的甜甜的香香的饱饱的。。。
这就是我理想中的上海的小吃店。。。(也许,旁边还坐着对穿中山装、旗袍的老夫妻?^_^)
地址:虹口区山阴路123号(四达路吉祥路间)人均¥10。

2.兰桂坊——上海滩面之王者--黄鱼煨面,雪菜黄鱼羹,炸猪排,桂花酒酿圆子

这个兰桂坊和那个香港的兰桂坊可是两码事情
这里说得是一家本帮面菜馆,是在虹桥,这个上海美食密度最高的地方
这里的面,是上海第一的,当然,价格,也是不菲的
招牌黄鱼煨面,劲道的面,鲜美香嫩的去骨黄鱼,贝壳类熬出来的海鲜汤,赞。
炸猪排,事先浸过酱汁,嗜甜的人一定喜欢,沾点辣酱油煞是美味
雪菜黄鱼羹,真的可以这么形容,鲜的眉毛掉下来
桂花酒酿圆子,黑糯米+“黑洋沙”+桂花糖,香气四溢,甜中带点咸
作为爱面之人不可不去的一家店
另外,别拿阿娘来比较,那纯粹是两码事
地址:长宁区娄山关路417号(近仙霞路口)人均¥50

3.绿波廊——上海正统点心--桂花拉糕,眉毛酥

这里说的绿波廊指的是九曲桥边上的老店
¥50一人的下午茶点心套餐,可谓是上海的小吃大全
桂花拉糕上海第一,清香可口
眉毛酥这个在其他地方几乎绝迹的东东这里也有,好吃的很
还有其他数种上海特色的小吃,如小笼等也是不错
在这里,也许味道算不上顶级,但是这种城隍庙的纯粹老上海感觉是其他地方所没有的
三五知己,在这里品品茶,吃吃本帮小点心,聊聊天,很是写意
但是,作为国营店,服务么,自然还是有待改进。。。
地址:黄浦区豫园路125号(城隍庙九曲桥),人均¥50。

4.美新点心店——汤团上海第一--鲜肉汤团

上海最好的汤团在哪里?不是那个在豫园里面名气响响的宁波汤团店
而是在陕西路上的美新点心店呵呵
这里的汤团,皮薄、糯,看上去几乎有晶莹剔透的感觉
鲜肉的馅料尤其出色,肉紧,汤鲜,感觉还带微量酱油,怎一个美字了得~
黑洋沙的口感细腻,甜而不腻,也是好东东
搞笑的是这家店还有些派头,中午有休息时间的说,到底是国营老字号啊
地址:静安区陕西北路105号(威海路口),人均¥10

5.阿娘面馆(泰和饮食店) ——上海最火的面馆--黄鱼面+雪菜,蟹粉面

说到店家的派头,就不得不提上海最火最火的面馆--阿娘面馆
这家小店,当年是只有马路东面的6、7平米的小店面
后来发达了在马路对面也开辟了一块20个平米不到的战场
说它有派头原因有二
第一,一年之中有寒暑假,三伏天和过年期间休息各一个月
一天之中有营业时间段,早6-9,中午11-14。
(不过听说现在由于生意太好,放假以及营业时间有所调整)
第二,吃碗面要拿号码,一般来说,吃饭高峰时间需要等40个左右的号
那差不多要等至少是50碗面,一般是40分钟左右呵呵
我想全上海找不出第二家这样的了,不过也许正是上海人的“钆闹猛”的习惯所致吧呵呵
不过实话实说,这家店的面的确是值得称道的,标准的苏式白芯面,劲道
浇头中的黄鱼+雪菜可谓绝配,鲜美无比,秋季的蟹粉面也很赞
但是,汤,说到这个汤,我,觉得是味精很多的,虽然那位号称慈眉善目,但是,在我看来却是人精的阿娘口口声声说自己的汤从来不放味精。。。我个人其实是不喜欢这家店的,却还不得不把这家给写进来,说实话,如果你是作为一个上海的年轻的爱吃之人,而且有点点那么的小资、小情调,这家店是应该作为小吃店的典型来观摩学习实践探讨的,绝对是上海小吃扫盲班必修课程之一,绝非吹捧,阿娘面馆的地位的确如此,阿娘面馆文化?阿娘面馆现象?虽然我也不喜欢去排个半小时和5、6个人挤一个小桌子去吃这碗面呵呵,
地址:卢湾区思南路19号(近淮海路),人均¥15

6.佳家汤包——上海最龌龃却最拥挤的小吃店——虾肉汤包

前面说到阿娘面馆排队领号码,这里再说说佳家汤包排队领扑克牌~呵呵,我没有打错,是领扑克牌,不知道是不是佳家的老板娘有打牌的嗜好,竟然想出这个排队的方法。按照花色黑桃红桃草花方块A-K的次序来排队,如果你拿的是方块2,现在正好排到红桃Q,那说明你还要等15个人次的才能吃上~有创意吧呵呵~不过也说明了排队的人实在是多啊。。。
说说味道,这里的汤包最大特点是皮薄汤多,馅紧味鲜,味道最赞的是虾肉汤包,猪肉的鲜美、虾仁的海味这种配合的确恰到妙处,不过这里的环境实在是上海小吃店中比较差的,5、6个平米的小店面,脏兮兮的桌子,脏兮兮的地面,经常可以看见有只猫串来串去,小强偶尔也出来探个脑袋。。。
地址:已经换地方了 ,在丽园路上,南车站路与西的痰盂,我经过的时候常看见老人将秽物倒进河水,还在河边冲洗,用刷子擦,坚硬的塑料须擦着金属面,磨出笨拙的窸窣声藏南路之间,上次我去下午两点就卖完了。人均¥15

7.北万新--上海的包子--肉包

在我看来,生煎也好,小笼也罢,还比如包子,不单单是看馅料,现在馅料的口味往往差别不是很大,其实皮和底是很重要的,而且好坏明显,而且,打个比方,一般家或者单位附近总有一些小店,做的包子味道其实也不错,馅料好吃,但是如果和北万兴的一比,从外表你会觉得平时吃的皮怎么那么黄啊,吃口也是天差地别,一个有点粘牙,一个入口松软,这里的包子可以用“嫩”来形容,白白小小的,馅料是不加酱油的肉,味道鲜美精致,典型的上海包子。
地址:卢湾区淮海中路462号,人均¥5

8.章氏餐馆--锅贴上海第一--锅贴,鸡蛋排骨

章如花是小绍兴创始人之一,是小绍兴章润牛的妹妹。以前也是一起开小绍兴白斩鸡的,不过不知道为何自己又开了个章氏,而且就在小绍兴隔壁,一边卖鸡一边卖小吃点心,环境类似于振鼎鸡,白斩鸡味道好,5元起卖,虽然吃口略逊小绍兴但是比起振鼎鸡是好上不少,锅贴值得品尝,2.2元4只,是我吃到最好的了。馅料新鲜,汤汁足,而且不粘牙,皮脆是我吃到的上海最佳锅贴。鸡蛋排骨就是炸猪排也要推荐下,和兰桂坊的有得一拼啊,而且还很厚,嫩嫩的非常好吃,综合来说,是个有钱途的连锁店,可惜4家分店都在虹口,影响不是很大。
地址:虹口区凉城路457号,人均:¥15

9.Tima Harbour Caffe--上海性价比最高的cheesecake--marble cheesecake, tiramisu

tima 这个名词的由来有点意思,是中文“铁马”的谐音,意为自行车tima harbour直译就是自行车的港湾了, 由于自行车在中国是主要的交通工具,这家店的老板取这个名字就是希望这里可以成为平民的港湾,似乎现在也几乎做到了这一点,这家店的cheesecake 我不敢说是上海最好,毕竟一些高级的意大利餐厅小弟未曾尝试 ,但是tima的cheesecake肯定是性价比最高的,¥15一份,味道绝对值得称道纯,浓,甜,滑 ,正点,赞都是这里的东东的形容词:尤其适合喜欢甜食的tx ,里面的大理石芝士蛋糕和提拉米苏绝对值得一试
而且和中式小吃不同,这里似乎没有质量不稳定这种问题,介绍去的人几乎没有一个不说好的,尤其是mm,如果想讨好某位mm的话可以一试哦~
地址:长宁区遵义路100号虹桥上海城美食街134-137 ,人均40

Google Lively教程:如何创建一个房间... 前往火星 »

订阅获得更多Google和Lively的消息 :

抓虾google reader鲜果 

Google发布了Lively,很多人第一时间就去试用了,但是会遇到很多问题,不知道如何玩Lively。下面是我使用后的点滴经验,希望对你有用~

如何创建一个房间

1.创建房间

进入 http://www.lively.com/mine, 你会看到 “Create a new room” 的按钮 (如下图)

create a room

点击按钮, 然后你就会进入登录界面:(如下图)

sign in

2.登录

输入你的Google账户名和密码之后,点击“Sign in”即可。

3.编辑你的房间信息

进入你新创建的 Lively Room之后, 你会看到一个 Room Properties 表单 (见下图)

room property

1.在 Room Title 里输入你的房间名称

2.在 Room Description 里写下你的房间介绍  (如 “It's like the end of Star Wars... But...”).

3.我想绝大多数人都希望自己的房间被列入 Lively Room List. 所以勾上 Public Directory下面的方框.

4.Public Decorating

如果你希望访客可以创建,移动和删除家居和物品,选择 Public.

如果你只希望访客移动这些物品,选择 Interactive.

如果你不希望访客做任何事,只是让他们进入房间聊天,那么选择 Private.

4.保存缩略图

Google Lively Room Directory里面会显示出你的房间缩略图(如下图)

china

点击Web Pages标签, Google Lively 说 “The current view may be saved for the thumbnail image that appears in the web page.” 选择当前的画面作为你想出现在 Google Lively Directory里的缩略图, 点击 Save Thumbnail. 就好了. (见下图)

thumbnail

5.上传音乐

很酷的一个功能~你可以上传自己的音乐到 Google Lively. 然后进入你的房间就可以听到你上传的音乐了~

注意:Google Lively 说了 “Audio updates are delayed while uploaded files are converted to proper formats.” (见下图)

audio tracks

6.选择一款皮肤

点击Shells标签,为你自己的房间选一个喜欢的场景吧~

shells

7.装饰你的房间

在做了上面的6件事之后,你有了你的Beta版房间了~

avater vies

小贴士:为了能方便装饰你的房间,最好把视角选为“Bird Eye’s View”

birdeye view

a. 添加家具

点击右边的“Furniture”按钮, 你会看到 “Furniture & Things” 的表单:

furniture

你有两种添加家具的方式:

1.双击你想添加的家具

2.单击你想添加的家具,然后点击添加

b.移动家具

在你添加完一个家具之后,它会被摆放在你当前站立的位置,但是你可能觉得这个位置不好,所以你需要移动它们。

将你的鼠标移动到家具上面,你的鼠标指针会变成一个十字,按住左键,你就可以拖拽你的家居了~

小贴士: 当你的鼠标摆放到一个家居上,它的上面会出现一个圈,将鼠标移到圈上面,指针会扭曲,按住左键,你就可以旋转这个家具了,将它调整到你想要的方向。

C.编辑家具

双击一个家具,然后选择Edit标签(如下图),你可以在里面输入你想输入的网址~

edit furniture

好了,在干完以上这些后,你就有你的RC版Room了~然后邀请你的朋友来你的房间,把你的房间越办越好吧~

小贴士:

如果你想更改你的房间信息(如名称,简介或缩略图),只要点击“Add a new room/Edit your room”按钮,即可进行编辑~(如下图)

room property2

Google Lively Hacks:Create A New Room... 前往火星 »

If you have problems about Google Lively, you can comment here~

Google just release Lively, a 3D social networking/chat tool. A lot of people are now testing Lively and they may feel confused using Lively. Here are some hacks of Google Lively. Wish it can be helpful for you~

The No 1 Hack is

how to create a new room

1.Create your room

go to http://www.lively.com/mine, and you will see the “Create a new room” button (like picture below)

create a room

just click the button, and you will be asked to sign in your new room now!(see pic below)

sign in

2.Sign in

Just enter your Google Account’s Username and Password, click “Sign in” , the you are logging in your new Lively Room!(see pic above)

3.Edit your Room Properties

Once you have logged into your new Lively Room, you will see the Room Properties form (see pic below)

room property

1.Choose a name for Room Title

2.Write some words for Room Description

to let people know what your room is about (like “It's like the end of Star Wars... But...”).

3.I think most people want their rooms to be included in the Lively Room List. So

check the box under Public Directory

.

4.Public Decorating

If you wish visitors to add, move or remove objects, choose Public.

If you just want visitors to move objects, choose Interactive.

Or you just want your visitors to do nothing but talk, choose Private.

 

4.Save Thumbnail

It is not necessary to do now, but I want to tell you how to make the thumbnail for your room (the thumbnail will be showed in the Google Lively Room Directory, just like pic blow)

china 

Click the Web Pages Tab, the Google Lively says “The current view may be saved for the thumbnail image that appears in the web page.” Choose the current view you want to show in the Google Lively Directory, and click Save Thumbnail. It’s Ok now. (see pic below)

thumbnail

5.Upload your music

It’s amazing! You can upload your favorite music to Google Lively. And your music will be played in your own room!

Notice:Google Lively says, “Audio updates are delayed while uploaded files are converted to proper formats.” (see pic below)

audio tracks

6.Choose a shell

A shell is like a theme for a blog. You can choose a shell for you new room. It’s cool~ (See pic below)

shells

7.Decorate your room

After doing all these things, now you will have your beta room now~

  avater vies

Tips: To decorate your new room, it is wisely to change your view to “Bird Eye’s View”

birdeye view

a. Add Furniture

Click the “Furniture” button in the right sidebar, you will see the “Furniture & Things” form now:

furniture 

you have two method to add furniture:

1.double click the furniture

2.click the furniture, and click add to your room

b.Move the furniture

Once you add a furniture, it will be placed where you are. But it may not be the perfect place for it. So you need to move your furniture.

Move your mouse to the furniture you want to move, and your mouse will become a cross. Now, you can drag and drop the furniture to wherever you want.

Tips: When you move your mouse around a furniture, your mouse will bend. And if you hold your mouse and move, the furniture will turn a round. Stop when the furniture direction is OK.

C.Edit the furniture

Double click a furniture and it will pop up a ticket. Click the Edit tag, you can enter Hyperlink for your furniture. (See pic below)

edit furniture

Now, you will have your RC Lively Room~

Just invite your friends to your room and do more to your room. Enjoy it~

Tips:

If you want to change your Room Propertys, you can click the “Create a new room/Edit your room” to edit.

room property2

《火鸟》截图之经典台词:是我的心着火了... 前往火星 »

可以说是徐政民最有名的一句台词了,很多人很喜欢。。。更多火鸟经典台词

什么东西胡了 2

是我的心着火了 smile

Wordpress插件Simple Tags的技术文档... 前往火星 »

函数调用篇:

Related Posts : st_related_posts()

With this functionnality, you can show related posts on your post. Is related posts which have at least one common tag.
If you don't wish to show related posts, but use them inside the loop, use st_get_related_posts() function.

Usage:
  1. <?php st_related_posts(); ?>

Default Usage:
  1. 'number' => 5,

  2. 'order' => 'count-desc',

  3. 'format' => 'list',

  4. 'include_page' => 'true',

  5. 'exclude_posts' => '',

  6. 'exclude_tags' => '',

  7. 'post_id' => '',

  8. 'except_wrap' => '55',

  9. 'limit_days' => '0',

  10. 'title' => __('<h4>Related posts</h4>', 'simpletags'),

  11. 'nopoststext' => __('No related posts.', 'simpletags'),

  12. 'dateformat' => $this->dateformat,

  13. 'xformat' => __('<a href="%post_permalink%" title="%post_title% (%post_date%)">%post_title%</a> (%post_comment%)', 'simpletags')

Example:

We want to show the first 10 related post without title, without pages and without comments count.

  1. <?php st_related_posts('number=10&title=&include_page=false&xformat=<a href="%permalink%" title="%title% (%date%)">%title%</a>'); ?>

Parameters:
  • number
    (integer) Number of posts to show
  • order
    (string) Order posts sorting. Valid values are :
    • count-desc - (default) by number of common tags (most relevance)
    • count-asc - by number of common tags (less relevance)
    • date-desc - by publication's date descending
    • date-asc - by publication's date ascending
    • name-asc - by title ascending
    • name-desc - by title descending
    • random - random
  • format
    (string) show tags as non ordered list UL/LI
    • flat - (Default) posts are separated with spaces
    • list - posts are inside non ordered lists containing class='related_posts'
    • array -posts are inside a PHP array (use it with st_get_related_posts())
  • include_page
    (boolean) "true" to add pages, "false" only for posts
  • exclude_posts
    (string) Separate posts ID to exclude with commas
  • exclude_tags
    (string) Separate tags ID to exclude with commas
  • post_id
    (integer) Specified post ID for display related posts
  • except_wrap
    (integer) Words number for excerpt.
  • limit_days
    (string) Limit result with a max days
  • title
    (string) Specify the positioned title before the list
  • nopoststext
    (string) Specify the text to show when there is no related post
  • dateformat
    (string) Specify the date format. Same format as
    PHP date function
  • xformat
    (string) Extended links format. Available Markups :
    • %post_date% - Replaced by the date of the post
    • %post_permalink% - Replaced by the permalink of the link
    • %post_title% - Replaced by the title of the post
    • %post_comment% - Replaced by the comments count of the post
    • %post_tagcount% - Replaced by the number of common tags
    • %post_id% - Replaced by the ID of the post
    • %post_relatedtags% - Replaced by common tag list
    • %post_excerpt% - Replaced by post excerpt
Tags cloud: st_tag_cloud()

With this functionnality you can show a color tags cloud created dynamically.
If you don't want to show it, but use it, use st_get_tag_cloud() function.

Usage:
  1. <?php st_tag_cloud(); ?>

Default Usage:
  1. 'size' => 'true',

  2. 'smallest' => 8,

  3. 'largest' => 22,

  4. 'unit' => 'pt',

  5. 'color' => 'true',

  6. 'maxcolor' => '#000000',

  7. 'mincolor' => '#CCCCCC',

  8. 'number' => 45,

  9. 'format' => 'flat',

  10. 'cloud_selection' => 'count-desc',

  11. 'cloud_sort' => 'random',

  12. 'exclude' => '',

  13. 'include' => '',

  14. 'limit_days' => 0,

  15. 'min_usage' => 0,

  16. 'notagstext' => __('No tags.', 'simpletags'),

  17. 'xformat' => __('<a href="%tag_link%" class="tag-link-%tag_id%" title="%tag_count% topics" %tag_rel% style="%tag_size% %tag_color%">%tag_name%</a>', 'simpletags'),

  18. 'title' => __('<h4>Tag Cloud</h4>', 'simpletags'),

  19. 'category' => 0

Example:

We wish to display randomly the top 100 tags, the max width will be 45px, the min 12px. The color used for max tags will be red (#FF0000) and for min tags green (#00FF0B). At last, the title will be "Tags Cloud"

  1. <?php st_tag_cloud('cloud_selection=count-desc&cloud_sort=random&number=100&title=Mon nuage de tags&largest=45&smallest=12&unit=px&maxcolor=#FF0000&mincolor=#00FF0B'); ?>

Parameters:
  • size
    (boolean) Active or not dynamic font size generation
  • smallest
    (integer) Length of the font to use to show the less used tags
  • largest
    (integer) Length of the font to use to show the most used tags
  • unit
    (string) Measuring unit of the used font for smallest and largest parameters. Use pt for point
  • color
    (boolean) Active or not dynamic color generation. true/false
  • maxcolor
    (string) Used color for most popular tags
  • mincolor
    (string) Used color for less popular tags
  • number
    (integer) Number of tags to show inside the tags cloud (Use '0' to show all of them)
  • format
    (string) Tag's format of posting
    • flat - (Default) Tags are separated by spaces
    • list - tags are inside a non ordered list (UL) containing class='st-tag-cloud'
    • array - tags are inside a PHP array (use it with st_get_tag_cloud())
  • cloud_selection
    (string) Tags selection order. Valid values are :
    • count-desc - (default) by number of usage tags (most popular)
    • count-asc - by number of usage tags (least used)
    • name-asc - by tag name ascending
    • name-desc - by tag name descending
    • random - random
  • cloud_sort
    (string) Tags selection order. Valid values are :
    • count-desc - by number of usage tags (most popular)
    • count-asc - by number of usage tags (least used)
    • name-asc - by tag name ascending
    • name-desc - by tag name descending
    • random - (default) random
  • exclude
    (string) list of tags to exclude, separated by commas (term_id). For example 'exclude=5,27' means all tags which contain term_id 5 or 27 will be NOT shown. By default, any tag is excluded.
  • include
    (string) list of tags to include, separated by commas (term_id). For example 'exclude=5,27' means all tags which contain term_id 5 or 27 will be the alone tags to be shown. By default, all tags are included
  • limit_days
    (integer) Number of days to be considered to generated tag cloud.
  • min_usage
    (integer) Min number of tag counter for display it into tag cloud
  • notagstext
    (string) Text to show, if there is no tag.
  • xformat
    (string) Extended format of links. You can personalize the formating of tag's link. Available markups :
    • %tag_link% - Replaced by the permalink of the tag
    • %tag_feed% - Replaced by the RSS tag link
    • %tag_id% - Replaced by the tag ID
    • %tag_count% - Replaced by the use number (counter) of the tag
    • %tag_size% - Replaced by the size of the tag (creates : font-size:17pt;)
    • %tag_color% - Replaced by the color of the tag (creates : color:#666666;)
    • %tag_name% - Replaced by the tag's name
    • %tag_name_attribute% - Replaced by the tag's name, formatted for attribute HTML
    • %tag_rel% - Replaced by rel tag markup (creates : rel="tag")
    • %tag_scale% - Replaced by tag scale (between 1 and 10)
    • %tag_technorati% - Replaced by Technorati tag link
    • %tag_flickr% - Replaced by Flickr tag link
    • %tag_delicious% - Replaced by Del.ici.ous tag link
  • title
    (string) Specify the positioned title shown before tags cloud
  • category
    (string) Restrict tag cloud to a specifik category. (or more, separated with comma)
Current posts tags: st_the_tags()

This feature extend WordPress builtin function "the_tags()", you can specify tag format, text if no tags and post id, also outside the loop
If you don't want to show it, but use it, use st_get_the_tags() function.

Usage:
  1. <?php st_the_tags(); ?>

Default Usage:
  1. 'before' => __('Tags: ', 'simpletags'),

  2. 'separator' => ', ',

  3. 'after' => '

  4. ',

  5. 'post_id' => '',

  6. 'xformat' => __('<a href="%tag_link%" title="%tag_name%" %tag_rel%>%tag_name%</a>', 'simpletags'),

  7. 'notagtext' => __('No tag for this post.', 'simpletags'),

  8. 'number' => 0

Parameters:
  • before
    (string) Text to display before the actual tags are displayed. Defaults to Tags:
  • separator
    (string) Text or character to display between each tag link. The default is a comma (,) between each tag.
  • after
    (string) Text to display after the last tag. The default is to display nothing.
  • post_id
    (integer) Specified post ID for display tag posts (outside loop by example)
  • xformat
    string) Extended format of links. You can personalize the formating of tag's link. Available markups :
    • %tag_link% - Replaced by the permalink of the tag
    • %tag_feed% - Replaced by the RSS tag link
    • %tag_id% - Replaced by the tag ID
    • %tag_name% - Replaced by the tag's name
    • %tag_name_attribute% - Replaced by the tag's name, formatted for attribute HTML
    • %tag_rel% - Replaced by rel tag markup (creates : rel="tag")
    • %tag_technorati% - Replaced by Technorati tag link
    • %tag_flickr% - Replaced by Flickr tag link
    • %tag_delicious% - Replaced by Del.ici.ous tag link
  • notagtext
    (string) Text to show, if there is no tag.
  • number
    (integer) Limit tags output with this max number
Related tags: st_related_tags()

This feature display a list of related tags into tag view. It allow to restrict tag search with an another tag.
This function output a list only on tag view, else it display nothing.

If you don't wish to show related tags, but use them inside the loop, use st_get_related_tags() function.

Usage:
  1. <?php st_related_tags(); ?>

Default Usage:
  1. 'number' => 5,

  2. 'order' => 'count-desc',

  3. 'separator' => ' ',

  4. 'format' => 'list',

  5. 'method' => 'OR',

  6. 'title' => __('<h4>Related tags</h4>', 'simpletags'),

  7. 'notagstext' => __('No related tag found.', 'simpletags'),

  8. 'xformat' => __('<span>%tag_count%</span> <a href="%tag_link_add%">+</a> <a href="%tag_link%">%tag_name%</a>', 'simpletags')

Parameters:
  • number
    (integer) Number of posts to show
  • order
    (string) Order posts sorting. Valid values are :
    • count-desc - (default) by tag counter (most popular)
    • count-asc - by tag counter (less used)
    • name-asc - by tag name ascending
    • name-desc - by tag name descending
    • random - random
  • format
    (string) output format
    • flat - (Default) tags are separated with spaces
    • list - tags are inside non ordered lists containing class='related_posts'
    • array - tags are inside a PHP array (use it with st_get_related_posts())
  • method
    (string) Method of tags intersections and unions used to build related tags link:
    • OR - Fetches posts with either the "Tag1" or the "Tag2" tag.
    • AND - Fetches posts with both the "Tag1" and the "Tag2" tag.
  • title
    (string) Specify the positioned title before the list
  • notagstext
    (string) Specify the text to show when there is no related tags
  • xformat
    (string) Extended links format. Available Markups :
    • %tag_link_add% - Replace by the link, build from the actual URL + Tag to add
    • %tag_link% - Replaced by the permalink of the tag
    • %tag_feed% - Replaced by the RSS tag link
    • %tag_id% - Replaced by the tag ID
    • %tag_count% - Replaced by the use number (counter) of the tag
    • %tag_name% - Replaced by the tag's name
    • %tag_name_attribute% - Replaced by the tag's name, formatted for attribute HTML
    • %tag_rel% - Replaced by rel tag markup (creates : rel="tag")
    • %tag_technorati% - Replaced by Technorati tag link
    • %tag_flickr% - Replaced by Flickr tag link
    • %tag_delicious% - Replaced by Del.ici.ous tag link
    Remove related tags: st_remove_related_tags()

    This feature display a list of remove related tags into tag view. It allow to remove one tag from URL.
    This function output a list only on tag view, else it display nothing.

    If you don't wish to show remove related tags, but use them inside the loop, use st_get_remove_related_tags() function.

    Usage:
    1. <?php st_remove_related_tags(); ?>

    Default Usage:
    1. 'separator' => ' ',

    2. 'format' => 'list',

    3. 'notagstext' => ' ',

    4. 'xformat' => __('&raquo; <a href="%tag_link_remove%" title="Remove %tag_name_attribute% from search">Remove %tag_name%</a>', 'simpletags')

    Parameters:
    • format
      (string) output format
      • flat - (Default) tags are separated with spaces
      • list - tags are inside non ordered lists containing class='related_posts'
      • array - tags are inside a PHP array (use it with st_get_related_posts())
    • notagstext
      (string) Specify the text to show when there is no related tags
    • xformat
      (string) Extended links format. Available Markups :
      • %tag_link_remove% - Replaced by the link with current tags except tags to remove
      • %tag_link% - Replaced by the permalink of the tag
      • %tag_feed% - Replaced by the RSS tag link
      • %tag_id% - Replaced by the tag ID
      • %tag_count% - Replaced by the use number (counter) of the tag
      • %tag_name% - Replaced by the tag's name
      • %tag_name_attribute% - Replaced by the tag's name, formatted for attribute HTML
      • %tag_rel% - Replaced by rel tag markup (creates : rel="tag")
      • %tag_technorati% - Replaced by Technorati tag link
      • %tag_flickr% - Replaced by Flickr tag link
      • %tag_delicious% - Replaced by Del.ici.ous tag link

中文 WordPress 工具箱使用指南... 前往火星 »

用来解决官方 WordPress 没有照顾到的中文相关问题。使用这个插件,你可以显示随机文章,最新留言,留言最多文章,发表评论最多的网友,以及真正的文章摘要(如果你的模板里使用的是the_excerpt()来调用内容的话)等等,真正截断,没有乱码。

这个插件由 WordPress 随机文章和 WordPress 评论插件合并增强而来。在激活这个插件之前,请务必先停用这两个插件,不然的话会有冲突。

下载:mulberrykit.zip

安装:

解压缩,把 mulberrykit.php 上传至 /wp-content/plugins/
在管理界面里激活 中文 WordPress 工具箱插件(如果你在使用 WordPress 随机文章WordPress 评论插件,务必先停用这两个插件。)

使用说明:

1、最新回响

<?php get_recent_comments(); ?>

调用方式:get_recent_comments($no_comments = 5, $before = ‘<li> ‘, $after = ‘</li>’, $show_pass_post = false)

$no_comments:显示回响数,缺省为5条;
$before:每条记录前显示的文字,缺省<li>
$after:每条记录后显示的文字,缺省</li>
$show_pass_post:是(true)/否(false)显示保护了的文章,缺省否(false)

补充:
kdolphin 在回应里提出,希望在最新回响里不显示自己的回应。这很容易做到。在get_recentcomments() 这个函数里找到这一句

post_status = ‘publish’

在后面 加上

AND comment_author != ‘桑葚’

就可以了。(把上面的桑葚改成你自己的昵称;引号是半角的)

注意:最好在wp的插件编辑窗口下改,以免乱码的问题。

根据网友的建议加上了两个相关的函数:
仅显示留言,不包括引用 <?php get_recent_comments_only (); ?>
仅显示引用(包括trackback和pingback)<?php get_recent_trackbacks(); ?>

调用方式与<?php get_recent_comments(); ?>相同。

2、最新文章

根据网友们的反馈,我把这个最新文章的函数又放回来了。

<?php get_recent_posts(); ?>

调用方式:get_recent_posts($no_posts = 5, $before = ‘<li>+ ‘, $after = ‘</li>’, $show_pass_post = false, $skip_posts = 0)

$no_posts:显示文章数,缺省为5条;
$before:每条记录前显示的文字,缺省<li>
$after:每条记录后显示的文字,缺省</li>
$show_pass_post:是(true)/否(false)显示保护了的文章,缺省否(false)
$skip_posts:跳过多少篇文章,缺省为0;

3、评论最多的帖子

<?php get_mostcommented(); ?>

调用方式:get_mostcommented($limit = 5)

4、发表评论最多的网友

<?php get_commentmembersstats(); ?>
把代码里面的blogmaster改成你自己的名字,可以滤掉你自己的名字。

调用方式:get_commentmembersstats($threshhold = 5)

5、随机文章

由这个插件修改而来:

a、改了提取excerpt摘要的方式,可适用于中文;
b、摘要可显示于文章链接的title里,或者直接在页面上,可选;
c、在文章链接的title里显示日期。

在模板里调用 <?php random_posts(); ?>

调用方式: random_posts ($limit = 5, $length = 400, $before = ‘<li>’, $after = ‘</li>’, $show_pass_post = false, $show_excerpt_in_title = true)

$limit:显示文章数,缺省5篇;
$length:摘要长度,缺省400;
$before:每条记录前显示的文字,缺省<li>
$after:每条记录后显示的文字,缺省</li>
$show_pass_post:是(true)/否(false)显示保护了的文章,缺省否(false)
$show_excerpt_in_title:是(true),摘要显示于文章链接的title;否(false),直接显示于页面;缺省是(true)

6、显示摘要

某些情况下需要输出摘要,比如搜索结果、档案,还有 rss 输出,这样可以节省流量资源。但是,如果你的文章是中文的话,官方 WordPress 输出的其实并不是摘要,它只是把文章里的 html 代码过滤掉了,但所有文字都还是原样输出了。

激活这个插件后,输出的就是真正截断的摘要了。

2008年上海高考各高中成绩排名... 前往火星 »

注:排名是让人看的,这里不是教育考试院,亦非某某学校主页,各位同学来此一游就是想来看排名。本人是中国人,也深受中国人喜欢排名的影响,可是要看你用什么眼光来看排名了。对于来此一游的各位同学,自己该干啥干啥,就算身在排最后一名的学校也跟你自身无关,更何况还有没排进的学校。排名有先后,往来无白丁。#

2008年高考上海市一本录取分数线
《新民晚报》:2008年上海中考零志愿投档状况分析
《赤壁》搞笑对白集锦
上海平价的西餐自助餐厅大全
值得一去的9家上海小吃店

第1名:上海中学
第2名:复旦附中
第3名:华师大二附中第4名:交大附中
第5名:建平中学
第6名:控江中学
第7名:大同中学
第8名:延安中学
第9名:南洋模范
第10名:上外附中
第11名:复兴中学
第12名:上师大附中
第13名:格致中学
第14名:七宝中学
第15名:市西中学
第16名:上海市实验学校
第17名:杨浦高级中学
第18名:曹杨二中
第19名:松江二中
第20名:位育中学
第21名:市三女中
第22名:向明中学
第23名:市北中学
第24名:进才中学
第25名:华师大一附中
第26名:育才中学
第27名:晋元中学
第28名:南汇中学
第29名:同济一附中
第30名:金山中学
第31名:北郊中学
第32名:闵行中学
第33名:行知中学
第34名:光明中学
第35名:嘉定一中
第36名:西南位育中学
第37名:徐汇中学
第38名:大境中学
第39名:南洋中学
第40名:敬业中学
第41名:卢湾中学
第42名:新中中学
第43名:回民中学
第44名:洋泾中学
第45名:市二中学
第46名:上大附中
第47名:宜川中学
第48名:奉贤中学
第49名:青浦中学
第50名:崇明中学
第51名:吴淞中学
第52名:天山中学
第53名:六十中学
第54名:华东模范中学
第55名:华师大三附中
第56名:浦东上外附中

关键字:

 

2008上海高考排名,08年上海高考排名,高考排名,高考成绩,高考,成绩,排名,中学高考

Pages: Prev 1 2 3 ...6 7 8 9 10 ...20 21 22 Next