2010年2月27日星期六

Update to Flickr via gmail, resizing automatically

来源:http://www.digitalmediaminute.com/article/1299/gmail-picasa-and-flickr

I'm a big fan of the Flickr photo sharing and publication service. It is an amazing web application that lets you present your photographs on the web. It uses a tagging system to allow you to easily categorize your photographs. One of the neatest features, is that you can also view photos from other people who use the service, and because of the tagging features, you can easily look for photographs from other people that share the same interests or tags.

But, I've always found it a bit tedious to upload images to the service. You can use Flickr's web based image upload tool or you can use their small Windows application to upload your images. Both methods are extremely inefficient especially if you have a lot of photos. The other problem is that if you use their free accounts, you can only upload 10MB worth of images every month. With my Nikon Coolpix 5000 camera, each photo I take is about 2MB in size. This means that I can only upload 5 high quality images per month. But I'm not really interested in uploading high quality images, so I resize my images before I upload. This means going into Fireworks, resizing, saving and uploading. Quite a few steps.
Flickr提供的几种上传方式,当执行批量上传时确实很方便,但是在单张上传时显得麻烦。而且免费的Flickr账号每个月只有10MB的限额,每次上传前都要用Firework去修改后,特别费时。

The third way you can get photos to your Flickr account is by using email. Enter Picasa and Gmail. Picasa is a great free photo management tool that lets you organize and perform simple edits and manipulations to your photos.

With the recent release of Picasa 2.0, you can now email directly from this great image management software. When you email from Picasa, you can tell the application to automatically resize your photos before sending them. So uploading to Flickr has become much easier.
Picasa是一个功能强大的图片管理软件,从Picasa发email时可以指定自动修改照片的尺寸。

Here are the steps:

  • Login to your Flickr account. Near the bottom of the page click on the link that says Upload by Email 获取Flickr上传的邮件地址
  • Copy the email address that is presented to you. This is a personalized email address that you can use to send photos to your Flickr account.
  • Now, open Picasa and click on the Tools>Options… menu.设置Picasa email上传的图片尺寸
  • On the Email tab, choose Use my GMail Account then set the picture size (using the slider) to whatever size you want. This is the size that Picasa will scale your image to before sending it.
  • Click the OK button and you're ready to start sending images to Flickr.
  • Click on the image that you want to upload then click on the Email button near the bottom of the Picasa application window.在Picasa中选中一张要上传的照片,在下方工具条中找到Email按钮
  • Picasa will ask you to enter your GMail login details需要用Gmail账号登录,用于发送Email。
  • In the To field, enter the email address that Flickr gave you.在Email收件人中填入Flickr提供的Email地址。
  • Enter the title of the picture in the subject line. This is the title that Picasa will use when it displays your picture.
  • Enter the description of the photo in the message area. This is the description that Picasa will use when it displays your picture.
  • Finally, click the Send button and the photo is uploaded to Flickr.

The only limitation with this method is that you cannot tag the image. You will need to login to Flickr to do that.

Happy uploading, and if you want to check out my photos, you can find my photo-stream at http://www.flickr.com/photos/jimrutherford/


补充:登陆Flickr账号后访问http://www.flickr.com/account/uploadbyemail/,可获取自己独有的Flickr email账号地址。


2010年2月8日星期一

转韩寒博文:你是小明吗?

  最近不知道大家注意到没有,网络上各大论坛和新闻评论里,五毛党越来越多了。当然,我不 赞同把凡是和你持不同意见的人叫五毛党,但是五毛党还是很好认的,因为出卖灵魂的人,尤其是廉价出卖灵魂的人,他们的言语是没有根基的,他们的高潮是没有 前戏的。起初发现这个现象,我很疑惑,以为是相关部门加大了投入,但是,看到了一条新闻,原来是经济危机波及到了五毛党。中国衡阳党建网网评员管理办法第 五章第十七条最新指出,网评员的标准为0.1元一条。可以想见,全国五毛党可能普遍下调了待遇,这也可以解释为什么感觉突然间多了五倍的五毛党,其实人还 是那些,但是他们都在超负荷工作。以前往往发现一个五毛党,大家就可以围观圈养起来,但是现在随着上删下刷,在个别地方甚至出现了被五毛党围观的景象。

  按照机密文件《五毛构成》里所言,50个写作高手,100个写作好手,500个外围写手构成一个五毛旅。这次涌现的五毛党们,经过我的判断,还 是以"外围写手"为主,但是时不时会出现几个"写作好手"出来试水,至于"写作高手",应该是在系统内有相应职务的,他们至今出手的还不多。当然,主要原 因是过年忙着应酬收礼。

  近期五毛党的泛滥也是我开通新浪微博的一个原因,一来是因为五毛党对于新兴事物的反应比较迟缓,相信注册和登录QQ对于很多"写作好手"来说已 经是极限操作了,另外一方面,微薄没有匿名发言,他们普遍害怕注册。最重要的是,万一他们在微博阵地中表现突出,上头指示要巩固阵地,必须手机绑定时刻引 导舆论,这对于他们来说是灭顶之灾,本来就只有一毛一条了,这下好,发个短信引导一下正好一毛钱,算上手机充电的电费,里外里还要亏损几厘钱。大家不要嘲 笑他们,他们一毛钱就能卖身,一千块就能卖肾了,对于他们,几厘钱也是钱。他们才是真正的活在最底层,但是和统治阶级有着最高度统一思想的物种。

  对于五毛党,我有着不同的见解。首先,我认为我们要允许五毛党的存在,每个人都有权利雇佣别人为自己说话,每个被雇佣者都有权利在任何地方说 话。你如果能够把小明打一顿,然后用从小明身上搜刮来的钱雇个人再把小明骂一顿,这也算是你的本事。任何一个政府,都有为他宣传的机构,这是情有可原的。 但是五毛党完全是政府的败笔,我以前以为五毛党的出现是为了引导舆论,现在想来我错了,因为你不会因为看见一堆人围着在吃屎而挤进去吃一口。五毛党本是中 高层麻痹讨好最高层的产物,但随着五毛党的横行,很多光辉正确的人士只要一开口,明明是免费的,结果全都变成了五毛党,这严重打击了他们的积极性。本来进 酒店开个房间一夜情,完事了出门全世界都说你是鸡,这种打击不言而喻。你一旦设立了五毛党,除了国内外舆论影响不好以外,所有你原本的拥护者都有了五毛党 的嫌疑。我为什么很少赞美政府,一来是因为我怕别人说我是五毛党,二来若批评无自由,则赞美无意义,三来我已经纳了税,人民纳的税被用于五毛党活动经费, 也等于是我间接赞美了政府。

  最后我将去挑选一些言论,分辨一下哪个是外围写手写的,哪个是写作好手写的,哪个是爱国青年写的,哪个是无知少女写的,哪个是不高兴写的,哪个 是没头脑写的。但是如果我冤枉了你,你是义务的,那么真的没有办法。谁让你的主子认为,和你一样的见解能值一毛钱呢。

2010年2月5日星期五

小技巧:不翻墙上Youtube的方法

一、山寨Youtube

山寨Youtube的网址是 www.youtubecn.com ,它利用Youtube的API,获取视频的地址后将其替换成一个还未被墙的地址,并使用第三方播放器播放。

二、TubeWall脚本

TubeWall脚本是本文的重点推荐

仅仅解决了主动观看Youtube视频是不足够的,很多网站、博客都嵌入了Youtube的视频,在不用代理的情况下,网页上就出现了一个又一个的 “洞”。

于是很容易想到,能否用和山寨Youtube同样的原理,将网页上嵌入式Youtube视频的地址替换成还没被依法取缔的呢?

答案是可以的。推友 @darasion 编写了TubeWall脚本,安装这个脚本后, 网页上嵌入式Youtube播放器会被替换成第三方播放器,无需翻墙即可播放。同时,你还可以直接下载视频。

TubeWall脚本可以安装在Firefox(需要先安装Greasemonkey)、 Chrome、Opera。点击这里直接安装。

安装TubeWall脚本后,如果网页上出现了Youtube的视频地址,点击后会弹出一个视频播放器直接播放。你可以在安装脚本后点击下面链接

http://www.youtube.com/watch?v=-I2VUhHVToE


三、搭建一个TubeWall客户端

如果山寨Youtube也被依法取缔了,在不使用代理的情况下,我们如何主动观看Youtube的视频呢?

这时我们或许会想,要是山寨Youtube开放源代码多好啊,我们自己就可以搭建一个。

实际上它没有开放源代码。但TubeWall的作者 @darasion 除了写了脚本外,还做了一个TubeWall 网页版,并且将其开源

只要你有一个PHP空间,就能在这里下载TubeWall 网页版的源代码,上传到空间里你就能拥有另一个山寨版Youtube了。