叶子

闲言碎语

a标签的rel属性

今天无意中看到知呼上说用rel=”nofollow”来做seo的,我和我的小伙伴们都惊呆了。

惊呆之余,去搜了下rel的属性值,没想到找到一堆冲突的, 先是w3的,见html5.1 links

可以看到才 alternate author bookmark help icon license nofollow noreferrer prefetch search stylesheet tag next prev 这么几个,比html5草案以及xhtml的删减了。

然后是xfn的,XFN 1.1 relationships meta data profile,很不一样,当然这个是微格式的,也算情有可原。

惊呆的是这个Link Relations

根据google文档,google用到的是:

rel="next" 和 rel="prev",一篇文章的上下文分页。
rel="canonical",非规范网页
rel="nofollow",不要追踪此连接
rel="author",连接到自己的google+ 页面。

顺便把首页的rel属性改了。

建站工具集

网站做了不少,但是还没系统记录下所需要的步骤,此记防止遗漏。

域名

域名后缀:http://www.iana.org/domains/root/db

搜索:https://iwantmyname.com/

域名工具:http://www.domaintools.com/

国外购买和抢注过期域名:https://www.pool.com/https://www.snapnames.com/http://www.namejet.com/http://sedo.com/

国内购买和抢注过期域名:http://www.ename.com/http://www.22.cn/

国际注册:https://www.godaddy.com/

cn注册:这个就不推荐了。

域名经验交流:http://club.domain.cn/

空间

amazon:http://aws.amazon.com/

linode:https://www.linode.com/

ucloud:http://www.ucloud.cn/

工具

域名解析:https://www.dnspod.cn/

代码托管:https://github.com/

邮件发送:http://aws.amazon.com/cn/ses/http://sendcloud.sohu.com/

短信发送:

push:http://www.windowsazure.com/en-us/develop/net/how-to-guides/service-bus-notification-hubs/?fb=zh-cnhttp://developer.baidu.com/wiki/index.php?title=docs/cplat/push

其他:oauth,openid,gravatar,disqus等

建设

产品,设计,前端,开发,测试,部署。

开发注意点:

favicon.ico,404,500

运营

微博,微信,友情链接,群,调查,广告,资源交换。

seo、rel、nofollow

站长工具:

统计:https://www.google.com/analytics/

webmaster tools:https://www.google.com/webmasters/tools/http://zhanzhang.baidu.com/https://ssl.bing.com/webmaster

测试:http://alibench.com/

sublime text 3设置

这是我的sublime text 3 用户设置,备注在这里。

{
  "close_windows_when_empty": true,
  "draw_indent_guides": true,
  "draw_white_space": "all",
  "ensure_newline_at_eof_on_save": false,
  "file_exclude_patterns":
      [
        ".DS_Store",
        "*.lib",
        "*.log"
      ],
  "folder_exclude_patterns":
      [
        ".git",
        ".bundle",
        ".sass-cache",
        ".svn",
        ".hg"
      ],
  "font_size": 18,
  "highlight_line": true,
  "highlight_modified_tabs": true,
  "ignored_packages":
      [
        "Vintage",
        "SublimeLinter"
      ],
  "line_padding_bottom": 3,
  "line_padding_top": 3,
  "open_files_in_new_window": false,
  "remember_open_files": true,
  "remember_open_folders": true,
  "sublimelinter": "save-only",
  "scroll_past_end": true,
  "scroll_speed": 2,
  "show_full_path": true,
  "tab_size": 2,
  "translate_tabs_to_spaces": true,
  "trim_trailing_white_space_on_save": true,
  "use_simple_full_screen": true,
  "wide_caret": true,
  "word_wrap": true
}

配置一部分来自于http://blog.manikrathee.com/posts/2013/07/27/sublime-text.html

此外win下的github,修改默认配置.gitconfig,增加

[core]
  autocrlf = false
  safecrlf = true

刚开始写代码用的是editplus,后来换成了vs。有了mac后寻找mac上也能用的编辑器,st就这么入眼。1年前开始,几乎天天用,也忍受了大半年的弹窗提示。完全适应后,几个月前终于买了个授权,现在清爽了。