Monday, January 25, 2010

Blogger 将关闭 FTP 发布功能及应对措施

Blogger Buzz 上周末发布消息称 Blogger 将于 2010 年 3 月 26 日停止 FTP 发布功能,原因是目前所有的活跃 Blogger 用户中,仅有 0.5% 的用户使用 FTP 发布,而 Blogger 用于支持这一功能的资源则远超过这个比率。

我的 Blog 从 2005 年开始就一直使用 Blogger 的 FTP 功能发布,已经有四年多的时间,也因为这样所以一直可以相对正常的访问。说“相对”是因为 blogger.com 域名被封,时不时的也会引起页面的外部 CSS / JavaScript 资源无法访问,Feed 内容无法访问引起评论失败等问题。现在 Blogger 官方宣布将彻底停止 FTP 功能的支持,将会对我这两个 Blog 带来四年来最大的一次冲击。

不过可以肯定的是,我不会关闭这两个 Blog,也不回搬家到别家 BSP。其实最近一两年,随着文章数量的增加,利用 FTP 发布已经变得越来越困难,平均十次发布,至少要失败五次。而按现在 Blogger 的机制,无论是发布文章还是有网友发表评论,首页、文章页面以及相关的标签页面都会重建,如果修改模版,则所有的页面都需要重建,这样高的失败率,让人很难觉得这是一个好用的产品。

由于页面代码优化的需要以及应对 blogger.com 域名从国内无法访问的问题,我已经建立起一套机制实现从 Blogger Feed 下载文章的数据保存到本地数据库,用 PHP 扫描页面进行 XHTML 修改以及用 AJAX 获取相关文章 / 热门文章的功能,现在其实要保持 Blog 继续正常运行,只需要:
  • 在数据同步时将正文部分也下载
  • 利用下载的数据在本地用 PHP 重写 Blog 内容,或生成静态页面

这样不但免去了等待漫长的 FTP 发布以及高失败率的问题,也让我维护 Blog 变得更加灵活。

离 Blogger 停止 FTP 功能还有大约两个月的时间,我想已经足够我做这些改进了。

28 comments:

~*Bintang-Narondang*~ said...

This is the sad news from blogger. I am using FTP. Now i am confused and do not know what should i do. I am using FTP to make my website are open from anybody especially from china to access my website.

lll9p said...

it's time to change.

lll9p said...

其实我觉得用GAPP来搞这个很合适,呵呵

~*Bintang-Narondang*~ said...

Many thanks for visit my blog. I hope we can be friend. I am love to make many friends from around the world, especially from China.

Gregory said...

Hi, @Bintang, your blog is cool. However, it still cannot be visited directly, at least from the ISP I'm using. I visited it with proxy.

植树 said...

我也想了怎样对付blogger关闭ftp的策略。本来是想做类似小偷新闻自动抓取的,不过能力不够级。你这blogger评论框级别实在是够高的。你能否分享一下你博客的代码吗?如果可以的话,请发一份给我 atinim#gmail.com 先谢过啦!

BTW:你可以参考这个blogbus的第三方应用,实现blogger评论支持Gravatar头像。http://www.yigle.net/labs/blogbus-cmt

mensajes claro said...

it's time to change.

Anonymous said...

[url=http://buyonlinelasixone.com/#13107]lasix no prescription[/url] - lasix online , http://buyonlinelasixone.com/#10042 lasix online

Anonymous said...

[url=http://buyonlinelasixone.com/#8096]lasix without prescription[/url] - generic lasix , http://buyonlinelasixone.com/#17517 lasix online

Anonymous said...

[url=http://buyonlinelasixone.com/#14780]lasix cost[/url] - lasix without prescription , http://buyonlinelasixone.com/#3206 lasix cost

Anonymous said...

[url=http://buyaccutaneorderpillsonline.com/#9055]order accutane[/url] - accutane online without prescription , http://buyaccutaneorderpillsonline.com/#6934 cheap generic accutane

Anonymous said...

[url=http://levitranowdirect.com/#kwvpn]cheap levitra online[/url] - cheap levitra online , http://levitranowdirect.com/#rmdtf levitra 40 mg

Anonymous said...

This is a really good tip particularly to those fresh to the blogosphere.

Brief but very accurate information… Thank
you for sharing this one. A must read article!

my blog: dental implants costs

Anonymous said...

What's up i am kavin, its my first time to commenting anyplace, when i read this post i thought i could also make comment due to this brilliant post.

My site: cost of dental implants

Unknown said...

louis vuitton handbags
burberry scarf
ray ban sunglasses outlet
michael kors
cheap uggs
cheap oakleys
abercrombie fitch
ugg boots
tory burch flats
lv outlet
tods outlet
michael kors handbags
michael kors outlet online
ghd flat iron
coach outlet
coach factory online
prada handbags
lebron 11
canada goose jacket
ray ban outlet
christian louboutin
chanel handbags
coach outlet
polo outlet
michael kors outlet online
ray ban canada
coach factory outlet
20150311huangqihang

Unknown said...

2015-7-28 xiaozhengm
longchamp soldes
coach outlet online
abercrombie outlet
michael kors
cheap oakleys
rolex watches
true religion sale
cheap ray ban sunglasses
cheap jordans for sale
ed hardy
kate spade outlet
cheap oakley sunglasses
polo ralph lauren
gucci uk
gucci outlet
longchamp pas cher
longchamp handbags
air force 1
louis vuitton pas cher
ed hardy clothing
jordan pas cher
gucci outlet online
borse gucci
ray ban sunglass
mcm outlet
coach outlet online
ray ban sunglasses
nike tn pas cher
michael kors uk
oakley store
jordan uk
chanel online shop
prada outlet
ed hardy clothing
true religion jeans
cheap beats headphones
ralph lauren outlet
kate spade handbags
toms shoes outlet
soccer shoes

mmjiaxin said...

ferragamo shoes
michael kors outlet
rolex watches outlet
tory burch outlet online
michael kors handbags
coach outlet store
mac cosmetics
michael kors outlet online
wellensteyn outlet
michael kors outlet
canada goose outelt
air max 2014
ray ban,rayban,occhiali ray ban,ray-ban,ray ban occhiali,ray ban sunglasses
woolrich outlet store
fred perry polo shirts
michael kors outlet
tiffany outlet
canada goose jackets
oakley outlet store
mizuno running shoes
mm1205

xjd7410@gmail.com said...

20160301 junda
kate spade handbags
michael kors outlet
michael kors outlet
ralph lauren outlet
michael kors outlet
cheap uggs
ray ban
christian louboutin
coach outlet
michael kors handbags
louboutin pas cher
jordan 4
longchamp bags
christian louboutin uk
michael kors outlet
new balance outlet
michael kors
adidas originals
canada goose outlet
ugg outlet
louis vuitton outlet
ed hardy outlet
kate spade outlet
michael kors outlet
adidas trainers
canada goose outlet
nike trainers
coach factory outlet
jordan 3
adidas shoes uk
basketball shoes
fitflops
longchamp outlet
christian louboutin outlet
cheap jordan shoes
christian louboutin shoes
sac longchamp pliage
ghd hair straighteners
nike air max uk
michael kors handbags

chenlili said...

chenlili20160629
kate spade handbags
ed hardy outlet
louis vuitton handbags
kd 8 shoes
nfl jerseys
authentic louis vuitton handbags
tory burch shoes
kevin durant shoes 7
nike trainers women
cheap jordan shoes
coach outlet
michael kors outlet
air max 90
jordan 3s
louboutin femme
burberry outlet
cartier watches
cheap louis vuitton handbags
kate spade outlet
michael kors outlet online
christian louboutin outlet
louis vuitton
oakley sunglasses
coach factory outlet online
toms wedges
louis vuitton outlet
toms wedges
gucci outlet online
louis vuitton handbags
coach factory outlet
giuseppe zanotti
jordans for sale
lebron 11
louis vuitton outlet
montblanc pens
ray ban sunglasses outlet
louis vuitton outlet
michael kors outlet
adidas wings

mmjiaxin said...

longchamp handbags
michael jordan shoes
jordan retro
nfl jerseys
nfl jerseys from china
mlb jerseys wholesale
timberland outlet
longchamp bags
kobe shoes
http://www.michaeljordanshoes.us.com
gg

Unknown said...

cheap jordans
oakley sunglasses wholesale
yeezy boost 350
hermes bags
michael kors canada
jerseys wholesale
ray ban wayfarer
chrome hearts outlet
beats by dr dre
christian louboutin outlet
20170215lck

Unknown said...

mulberry handbags
fitflops sale clearance
cheap oakley sunglasses
oakley sunglasses
ralph lauren polo
nike shoes uk
fitflops outlet
pandora charms sale clearance
cartier watches
nike outlet store
chanyuan2017.04.01

xjd7410@gmail.com said...

20170513 junda
yeezy boost
burberry canada
cheap jordan shoes
rolex watches for sale
gucci outlet online
ralph lauren outlet
coach factory outlet
fitflops sale clearance
polo outlet
michael kors handbags outlet

Unknown said...

nike factory store
coach factory outlet
nike air force 1
burberry outlet store
michael kors outlet online
cheap mlb jerseys
coach outlet
adidas yeezy
coach outlet store
ralph lauren outlet online
xushengda0609

Unknown said...

coach factory outlet
valentino shoes
pandora charms
air jordan shoes
coach outlet
michael kors outlet
adidas
coach factory outlet
skechers shoes
coach outlet store
mt0312

jjjjjjjjjjjjj said...

nike roshe run
michael kors uk
yeezy boost 350
nike flyknit
curry 5
nike sneakers for men
nike shoes
nike outlet
lacoste online shop
golden goose sneakers

نور الهدى said...

افضل شركة مكافحة صراصير بالمدينة المنورة
افضل شركة مكافحة الصراصير بالاحساء افضل شركة مكافحة الصراصير بالاحساء
افضل شركة مكافحة الصراصير بالدمام افضل شركة مكافحة الصراصير بالدمام

افضل شركة مكافحة البق الدمام افضل شركة مكافحة البق الدمام
افضل شركة مكافحة الفئران بالمدينة المنورة افضل شركة مكافحة الفئران بالمدينة المنورة
افضل شركة مكافحة الفئران بالاحساء افضل شركة مكافحة الفئران بالاحساء
افضل شركة مكافحة الفئران بالدمام افضل شركة مكافحة الفئران بالدمام
افضل شركة مكافحة النمل الابيض بالدمام افضل شركة مكافحة النمل الابيض بالدمام

yanmaneee said...

russell westbrook shoes
supreme hoodie
supreme clothing
paul george shoes
jordan shoes
nike air max shoes
longchamp handbags
supreme hoodie
golden goose sneakers
lebron james shoes