diff --git a/Export.py b/Export.py index fd36729..95a4fc2 100644 --- a/Export.py +++ b/Export.py @@ -1,7 +1,7 @@ -__author__ = 'wwxiang' - #coding=utf-8 +__author__ = 'wwxiang' + import os import re @@ -26,9 +26,15 @@ def handler(): if not val[0] == '[': continue title = re.findall(r'\[(.+?)\]',val)[0] - xmlUrl = re.findall(r'<(.+?)>',val)[0] + r = re.findall(r'<(.+?)>', val) + print(r) + if len(r)>0: + xmlUrl = re.findall(r'<(.+?)>',val)[0] + else: + xmlUrl = "" htmlUrl = re.findall(r'\((.+?)\)',val)[0] handlerData.append(''.format(title,xmlUrl,htmlUrl)) + print(handlerData) fs.close() except: print('错误处理','读取文件失败') diff --git a/README.md b/README.md index 2c5a484..d4d79f7 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,61 @@ -中文 Golang 开发博客列表 +中文 Golang 开发博客/公众号列表 ========= -本博客列表会不断更新维护,如果有推荐的博客,请到此处[提交博客信息](https://github.com/yangwenmai/golangBlogCN/issues/1)。 +本博客列表会不断更新维护,如果有推荐的博客、公众号,请到此处[提交博客/公众号信息](https://github.com/yangwenmai/golangBlogCN/issues/1)。 本博客列表涉及的文章内容支持 [定制化Google搜索](https://cse.google.com/cse/publicurl?cx=012619441804928271226:u6z4yvp8enm)。 -本博客列表也提供同步更新的OPML文件([下载OPML文件](https://github.com/yangwenmai/golangBlogCN/raw/master/blogcn.opml)),可供导入到例如feedly等第三方订阅工具中,特别感谢 [icepy](https://github.com/icepy) 提供自动转换脚本。这里有[导入教程](http://blog.feedly.com/feedlimport/)。 +本博客列表也提供同步更新的OPML文件([下载OPML文件](https://github.com/yangwenmai/golangBlogCN/raw/master/blogcn.opml)),可供导入到例如feedly等第三方订阅工具中,特别感谢 [icepy](https://github.com/icepy) 提供自动转换脚本。这里有[导入教程](http://blog.feedly.com/feedlimport/),我对程序做了一点修改,rss地址可选填。 +本项目起源于[iOSBlogCN](https://github.com/tangqiaoboy/iOSBlogCN),非常感谢[唐巧](https://github.com/tangqiaoboy/)。 博客地址(排名不分先后) | RSS地址 ----- | ----- -[Tony Bai--一个程序员的心路历程](http://tonybai.com/) | +[The Go Programming Language Blog](https://blog.golang.org/)| +[Tony Bai -- 一个程序员的心路历程](http://tonybai.com/) | [Arthur的博客](http://www.zenlife.tk/index/) | -[FuXiaohei.Me--傅小黑的自留地](http://fuxiaohei.me/) | <> -[无闻的小站](https://github.com/Unknwon/wuwen.org) | <> +[鸟窝](http://colobu.com/) | +[午夜咖啡](http://jolestar.com/) | +[蝈蝈俊的技术心得](http://www.cnblogs.com/ghj1976/) | +[FuXiaohei.Me -- 傅小黑的自留地](http://fuxiaohei.me/) | +[无闻的小站](https://github.com/Unknwon/wuwen.org) | [astaxie](https://my.oschina.net/astaxie/blog) | -[熊窝窝--PHP、Codeigniter、JAVA、C#、JAVASCRIPT、LINUX、LATEX、GOLANG等技术分享](http://www.baiyuxiong.com/) | -[Golang编程百例](https://www.zybuluo.com/Gestapo/note/32082) | <> +[熊窝窝 -- PHP、Codeigniter、JAVA、C#、JAVASCRIPT、LINUX、LATEX、GOLANG等技术分享](http://www.baiyuxiong.com/) | [Ross's Page](http://xhrwang.me/) | -[风笑痴](http://lunny.info/) | <> +[风笑痴](http://lunny.info/) | [getwe's Blog](http://getwe.cn/) | +[Harold's Blog -- 个人技术笔记](http://oikomi.github.io/) | +[YanyiWu](http://yanyiwu.com/) | +[努力加贝](http://www.nljb.net/) | +[Cyeam -- 你不要用战术的勤奋掩盖战略的懒惰。](http://blog.cyeam.com/) | +[战魂小筑](http://www.cppblog.com/sunicdavy) | +[My*Candy](http://mengqi.info/) | +[Gopher beyond EI[i]phants](https://mikespook.com/) | +[Golang编程百例](https://www.zybuluo.com/Gestapo/note/32082) | +[七牛云 - 七牛团队博客](http://blog.qiniu.com/) | +[博客 - PingCAP](https://pingcap.com/bloglist) | [猎豹移动技术博客](http://dev.cmcm.com/) | -[美团点评技术团队](http://tech.meituan.com/) | <> [Huang Huang的博客](https://mozillazg.github.io/) | -微信公众号(排名不分先后) | 公众号名字| 二维码 +---- + +微信公众号(排名不分先后) | 公众号ID | 二维码 ----- | ----- | ----- -Go中国|golangchina|![Go中国]() -Go语言中文网|studygolang|![Go语言中文网]() -每日go语言|golang_everyday|![每日go语言]() -Go语言北京用户组|golang-beijing|![Go语言北京用户组]() -Golang语言社区|Golangweb|![Golang语言社区]() -飞雪无情|flysnow_org|![飞雪无情]() +Go中国|golangchina|![Go中国](https://mp.weixin.qq.com/mp/qrcode?scene=10000004&size=102&__biz=MjM5OTcxMzE0MQ==&mid=2653369919&idx=1&sn=7cf1deca13da16a8cd4ba4ecd8ceba8c&send_time=) +Go语言中文网|studygolang| +每日go语言|golang_everyday|![每日go语言](https://mp.weixin.qq.com/mp/qrcode?scene=10000004&size=102&__biz=MzA4MzI2NTU4NA==&mid=2465194512&idx=1&sn=d4dea33e9d93988fe4fbba39d849e9b0&send_time=) +Go语言北京用户组|golang-beijing|![Go语言北京用户组](https://mp.weixin.qq.com/mp/qrcode?scene=10000004&size=102&__biz=MzIzMjA5OTc3OQ==&mid=2652941809&idx=1&sn=734374b9030d0a9a9bbc08d5a13e8a13&send_time=) +Golang语言社区|Golangweb|![Golang语言社区](https://mp.weixin.qq.com/mp/qrcode?scene=10000004&size=102&__biz=MzAxMzc4Mzk1Mw==&mid=2649836890&idx=1&sn=97505941de4f6c51e31f3aea2d806e3a&send_time=) +PingCAP|pingcap2015|![PingCAP](https://mp.weixin.qq.com/mp/qrcode?scene=10000004&size=102&__biz=MzI3NDIxNTQyOQ==&mid=2247484607&idx=1&sn=d2e8374e7ee5ea91387d8d3d8ea69c96&send_time=) +午夜咖啡|jolestar-blog|![午夜咖啡](https://mp.weixin.qq.com/mp/qrcode?scene=10000004&size=102&__biz=MzA4NjgwMDQ0OA==&mid=2652445522&idx=1&sn=36e34036016d3c9fae76173cb9e2c7a7&send_time=) +飞雪无情|flysnow_org|![飞雪无情](https://mp.weixin.qq.com/mp/qrcode?scene=10000004&size=102&__biz=MzI3MjU4Njk3Ng==&mid=2247483751&idx=1&sn=15bf5e8ca24c565819bc07682502266f&send_time=) -本项目借鉴[iOSBlogCN](https://github.com/tangqiaoboy/iOSBlogCN),非常感谢[唐巧](https://github.com/tangqiaoboy/)。 \ No newline at end of file +---- + +Go语言社区(排名不分先后)| +----| +[https://gocn.io](https://gocn.io)| +[http://studygolang.com](http://studygolang.com)| +[http://www.golangtc.com](http://www.golangtc.com)| +[http://www.golangweb.com](http://www.golangweb.com)| \ No newline at end of file diff --git a/blogcn.opml b/blogcn.opml index 926c126..2d4cc4c 100644 --- a/blogcn.opml +++ b/blogcn.opml @@ -1,49 +1,30 @@ 导出订阅 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + +