享受人生的咖啡

周末下午拿着本子去Maan Coffee,发现人巨多,排到了门口。最后终于坐到一个靠窗的沙发位,边喝边整理旧的日志。

Maan Coffee

老虎 China Safari Mac OS
一月11, 2015 , 下午 11:51
今天一天都在整理悉尼和猫本的旧日志。

BETTY China Internet Explorer Trident/7.0
一月12, 2015 , 上午 12:22
切,说是整理旧日志,其实就是第X次折腾图床吧?

说对了!哥就是在折腾图床!但哥也是无奈的,MSN外链的速度有多慢同学们知道吗?10年前用作外链的几个MSN服务器到现在也没换过这部分图片必须解放出来。再有,2010-2012年间不少图片很混乱的散在各个服务器上,还有几百兆内容散漫的丢在自家服务器上没按照月份或者文章标题排列,文件名也是各式各样,找起来各种困难,实在不能忍的!

以及除了图床问题,还有从前在从清华博客到MSN到wordpress等很多平台上写,用过writer等各种工具,代码各种混乱,有<div>开头的,有<span>开头的,还有<p>开头的,以及超链接还有MSN时代.entry结尾的、wordpress.com时代wordpress.com结尾的、以中文名链接的……全都不符合如今代码精简的标准了。

所以嘲笑就嘲笑吧,虽然人肉优化是慢了点,但效果还是挺显著的,要知道,哪怕每篇文章删除几个冗余字符+几张荣誉图片,几百篇都有几十个Mb可以节约。经过几周优化,内容已经从88%的磁盘占有率降低到74%了。

p.s. 今天收到一封“英国人民来信”,询问Leaflet Maps Marker Pro插件是否值得购买。

发件人: Samuel Firman
日期:2015-01-12 02:28 (GMT+08:00)
收件人: synyan
抄送:
主题: Leaflet Maps Marker Pro

Hey Synyan/John,

My name’s Sam, and I just read your review of Leaflet Maps Marker Pro (https://www.mapsmarker.com/testimonial/the-best-map-plugin-for-wordpress/). I’m looking for a maps plugin for my blog, but feeling a little overwhelmed for choice and confused as to which plugin would be best for the functionality I require. Is seems that you are knowledgable and un-biased on the subject, so I wondered if I might ask you which plugin you think best given my requirements below? I understand if you’re too busy, so no worries if not.

Basically, I’m hitchhiking to from the UK to your homeland, China, and would like a map on my blog with the following functionality:

1. Track my route – developing it each day
2. Colour-code my route depending on the mode of travel (hitchhiking, trains etc.)
3. Mark colour-coded checkpoints (red for camp spots, green for beautiful landscapes etc.)
4. Mark blogposts with links to them
5. Being able to toggle various components would be awesome but not essential (e.g. so user could just see hitchhiking routes, or just green landscape markers)

Is there a free maps plugin that would handle this? Or would I need Leaflet Maps Marker pro or similar?

Many thanks, and keep up the good work!

Sam

小哥挺猛啊,从UK到中国hitchhiking!回信如下……

Hello Samuel,

Nice to meet you. It would be good if you ask me questions about this plugin. I will try to explain and answer your questions in details. Please forgive me if my English is not as good to you.

First of all, admire your journey from UK to China by foot! It sounds so exciting! I would be happy if there is a blog so I may see frequent blogging.

About the plugin: I use this one since Google service was banned years ago in China (so as blogspot, youtube, facebook…a lot foreign services containing separating n anti-china contents. Damn). Yes it is a lost to Chinese, but considering the leaking of user info to US goverment, I began to understand.. Nevertheless, this plugin was the best of all back then, and probably best of all now. I havent been probing other plugins since I use this one, so if you have other good ones you could tell me.

1. Track my route – developing it each day

No problem as long as you hv a decent equipment. I am no heavy user so i dont use pro equipments such as Garmin, but my mobile phone with some good apps just work fine.

P.s. The euipment must export the route file (.gpx) to upload to your server (not necessarily wordpress server, but has to have a link so the maps marker plugin can link)

My use: http://travel.synyan.net/?p=14768 Ignore Chinese content, just jump to last map.

You can even develop the base map if you choose to use open steet map! I develop this one n I love it.

2. Colour-code my route depending on the mode of travel (hitchhiking, trains etc.)

A: You can find option that can change route string color and width. Not sure if there is an option for each mode a color, I may hv to check this later on.

3. Mark colour-coded checkpoints (red for camp spots, green for beautiful landscapes etc.)

A: no problem. You will find hundreds of icons in plugin, or even make yours, like me. See my map travel.synyan.net/footprints

4. Mark blogposts with links to them

A: works fine.

5. Being able to toggle various components would be awesome but not essential (e.g. so user could just see hitchhiking routes, or just green landscape markers)

A: there is a mode called multi-layer, you can “overlap” one layer over another, or one another. Which is to say you can put route on one map (layer), then landscape icons on another map. Then overlap and show them together. It also can solve point two question. You can set diff color for diff route in diff layer.

6. Is there a free maps plugin that would handle this? Or would I need Leaflet Maps Marker pro or similar?

A: there is a leaflet maps marker free version, you may google it or search in wordpress.org’s plugin base. But i strongly recommend you use Pro version of it as it provides advanced function as well as very frequent updating. You could even reach the author Robert by email asking updating then you find the update comes up in the next ver.

Last but not least, happy blogging, safe travel!

Any further question you can ask me.

Sent from my Galaxy S5.

共有 14 条评论

  1. 我到现在还没有时间更新你推荐的那个地图。。。。唉。。。。我都在忙些什么的。。。。。

  2. 我主要不明白的就是你总是花大量时间折腾网络上的
    换做我,电脑上有备份了,网络上的我就不管了

    你想啊,当年你用MSN,有想过之后它被淘汰嘛
    我当年用POCO做外链,又何尝想到1、2年后,说不让外链就不让外链了
    所以你再想啊,你现在把图床整理到新的,那么日后如果新的图床再有问题你就再找新的图床再把图片更替一遍?你觉得这样下去有尽头吗?

    1. @Betty 电脑上我就没有备份,所以网络上的才比较重视。当年用msn,还真没想过会被淘汰,想想微软大叔这么有钱,不至于区区硬盘钱都出不起吧,谁知道他这么快就软了呢。新的图床之所以选了163的付费版,也是看中他家做东西至简,服务品质好,牌子还算不错,说白了,哪天我们的空间商倒闭了他也不一定倒闭。再有当年微软提供的空间是免费服务,当年我还未雨绸缪去信请他们开付费,死活不肯。所以比不上付费服务也在情理之中了。

      1. @老虎 对啊,从你分析来看,也就是一直以来让我觉得的,网络上的东西都不怎么安全,可以以说取消就取消,可以说倒闭就倒闭
        所以我一直以来都把电脑备份看的比较重,网络上的无所谓
        就跟有人和我说云存储、云存储,我觉得都是说消失就消失的玩意
        而且你给我的感觉,你一直特别看重你那种过往的照片,而你过往照片的整理又特别仰赖网络,而网络的东西我们是真吃不准,所以……你真的日后还是一棵树吊死在网络上?一损俱损?

        1. @Betty 应该是吧,因为我发网上的目的在于共享,而不是像你一样主要是作为个人日记。所以我第一是发网上,第二才是内容&数据库定期备份,不是像你一样每天存在电脑里存十一年。主要还是每个人的目的不同吧。

          要真的到了163倒闭那天,到时候再弄吧?也是其乐无穷。就跟搬家大扫除赶脚差不多…… :evil:

      2. @老虎 我用又拍做图床,也感觉不太安全。。。。好像是杭州的一个公司,3-4年前好像有一段萎靡期,不知道现在如何。。。唉。。。。

      1. @老虎 就像我说的,网络嘛……一切皆有可能,反正我是不太有安全感
        总之就是,一切再做好Plan B就是了,不盲目乐观,也不过于悲观

发表评论

电子邮件地址不会被公开。 必填项已用*标注