Archive

Archive for March, 2009

Good birthday gift idea’s on Taobao

March 4th, 2009

Some of the fun uses of LiURL are for linking sites with enormously long URL’s – TaoBao, yes I’m looking at you there.

Here are a couple of things I found this morning that I linked to with our URL Shortening tool that make great birthday gifts.

I’ve always liked the idea of giving someone something that shows a little thought in the present.  So, I present to you – newspapers from whenever; when framed they make great gifts.

Only problem is finding out exactly how old someone is in order to order, not everyone wants to tell their true age!

一大使用LiURL的乐趣是从网站上连接一些特别长的链接-淘宝,是的,我正从那浏览呢。

这里是一些我早上发现的,通过我们链接缩短工具连接的,可以作为美妙的生日礼物的东东。

我一直喜欢赠送给朋友们一些可以引人思考的礼物。所以我在此介绍给你-各式的重新装裱后的旧报纸,它们是作为生日礼物的绝佳选择。

唯一的问题是找出想要订购他们的人的年龄,因为并不是每个人都乐于透露自己的真实年纪呢!

http://liurl.cn/75

birthday-paper2 birthday-paper

http://liurl.cn/76

Lots of newspaper choices -

丰富种类的报刊选择-

新华日报 (Xin Hua)
南方日报 (Southern)
etc

The image below shows how cool something can look framed.

以下的图片展示了美妙的装裱后的报刊。

newspapers

admin Shopping, Tao Bao

API Stuff / 短连接API

March 1st, 2009

We actually have an API for the LiURL site, although I haven’t really documented it that well as of yet.  As we’re a brand new site, we’re busy building in functionality, so this will get expanded in further posts as we add features.

To get a Shortened URL (aka Little URL) , the call is this:

http://liurl.cn/api-create.php?url=

Which returns the short URL. If you’ve been naughty and haven’t passed a valid URL, then it will return you a big fat -1 for your efforts.

Strangely enough, we also have the diametrically opposite call of that, which (suprise suprise)  gives you a long URL from a shortened one

http://liurl.cn/api-create.php?tinyurl=

This also returns a -1 failure if the URL isn’t one we know about.

Some sample PHP code after the break

虽然我目前仍未正式书面记录,不过在LiURL网站 我们已经使用了API。由于我们是新建的品牌网站,目前我们正忙于建设网站的功能性。所以这部分我们将在以后增加网站新特性时候加以扩充。

如果需要缩短后的链接 如下所示

http://liurl.cn/api-create.php?url=

它将返回缩短后的链接。如果您没有通过正规的链接那么将会出现大大的 -1错误提示。

奇怪的是,我们也遇到了完全相反的情况,有时它会从短链接提供一个长链接(非常奇怪)。

http://liurl.cn/api-create.php?tinyurl=

如果链接不正确 它同样也会出现 -1 错误提示。

以下是一些错误后的PHP编码样本。

Read more…

admin API , , ,

Site usage Statistics

March 1st, 2009

As we’ve had Google analytics running on the LiURL site since its launch, its been interesting for me to see where the site is actually being used.
So far usage has spread to a bunch of cities I’ve never even heard of in China, as well as the usual culprits (Shanghai, Beijing).  Lets hope that we can spread to more cities next month, and cover the map!

Interestingly enough, zero hits from outside China so far.

网站使用统计

在LiURL网站开启的时候 我们就启用了谷歌分析系统。观察网站在被如何使用对我来说是十分有趣的。
目前为止,网站被大量的中国城市使用,如文化中心(上海,北京)甚至更有些我从未听说过的中国城市。希望我们在下个月能将网站推广到更多的城市中去,覆盖整个地图!

非常有趣的是,目前没有中国以外的使用记录。

City Usage Map

City Usage Map

Chinese City's LiURL is being used from!

Chinese City's LiURL is being used from!

admin Site Related