已经全部手工处理,有一些原文图片已经失效,都在文章开头做了标记。
主要以下几个问题:
-
描述:Markdown 里的 image url 和实际 SwiftGG 官网文章里的 url 不符。
-
举例:主要表现为 Markdown 的 image url 为:
/img/articles/3d-touch-tutorial/3dtouch-intro.jpg1500171554.09
然而网站里是 Appcoda 的 urlhttp://www.appcoda.com/wp-content/uploads/2015/11/3dtouch-intro.jpg
-
范围:主要集中在 2015 年的文章里。
-
解决措施:不作处理。
-
发现问题的文件:
-
https://swift.gg/2015/11/19/3d-touch-tutorial/ 3D Touch介绍:电子秤App与快捷操作.md
- /img/articles/3d-touch-tutorial/3dtouch-intro.jpg1500171554.09
- https://swift.gg/img/articles/3d-touch-tutorial/3dtouch-intro.jpg1500171554.09
- http://www.appcoda.com/wp-content/uploads/2015/11/3dtouch-intro.jpg
-
https://swift.gg/2015/12/03/expandable-table-view/ GGHexo/backup/2015/20151203_expandable-table-view.md
-
https://swift.gg/2015/12/22/alamofire-beginner-guide/ GGHexo/backup/2015/20151222_The Absolute Guide to Networking in Swift with Alamofire.md
-
https://swift.gg/2015/12/08/building-a-todo-app-using-realm-and-swift/
-
https://swift.gg/2015/11/25/tvos-introduction/ GGHexo/backup/2015/20151125_tvos-introduction.md
-
https://swift.gg/2015/12/14/a-beginners-guide-to-nsdate-in-swift/ GGHexo/backup/2015/20151214_a-beginners-guide-to-nsdate-in-swift.md
-
描述:Markdown 文件里的图片 url 本身就挂了
-
举例:主要表现为托管在又拍云上的图片:
http://swiftgg-main.b0.upaiyun.com/img/building-ios-interfaces-subclassing-views-11.jpg
。个别为原博客链接:http://dev.iachieved.it/iachievedit/wp-content/uploads/2016/04/cleverTapCredentials.png
-
范围:主要集中在 2015、2016 年的文章里。
-
解决措施:不作处理。
-
发现问题的文件:
- https://swift.gg/2015/12/10/reduce-all-the-things/ GGHexo/backup/2015/20151210_reduce-all-the-things.md
- https://swift.gg/2015/08/28/swift_when_the_functional_approach_is_not_right/ GGHexo/backup/2015/20150828_swift-when-the-functional-approach-is-not-right.md
- /img/articles/swift_when_the_functional_approach_is_not_right/MyPlayground_playground1.png
- https://swift.gg/img/articles/swift_when_the_functional_approach_is_not_right/MyPlayground_playground1.png
- GGHexo/backup/2016/20160816_building-ios-interfaces-subclassing-views.md
- GGHexo/backup/2016/20160928_transformative-streams.md
- GGHexo/backup/2016/20160628_adding-siri-to-ios-10-apps-in-swift-tutorial.md
- GGHexo/backup/2016/20161021_service-agnostic-mobile-analytics.md
- GGHexo/backup/2016/20160714_xcode-8-create-an-animated-imessage-sticker.md
- GGHexo/backup/2016/20160701_mqtt-with-swift-on-linux.md
- GGHexo/backup/2016/20160803_swift-prettify-your-print-statements-pt-1.md
- GGHexo/treasure/20160708_using-rxswift-in-practice.md
- 举例:svg 格式的图片全部失效:
/img/articles/nshipster-bundles-and-packages/packages-and-bundles-diagram-a604d818c7decc7430fffc8642f0743728d2f6be4dfae15b274a599655cd3e40.svg1563524952.9887984
官网依旧失效。 - 范围:只发生在 src 今年的文章中,就只有两篇。
- 解决措施:只加了
https://swift.gg
的头,并没有做其他处理。 - 发现问题的文件:
- GGHexo/src/20190115_nshipster-language-server-protocol.md
- GGHexo/src/20190719_nshipster-bundles-and-packages.md
这种文件就人工跳过了。只发生在 natashatherobot.com 这家的文章里,有两个文件:
- GGHexo/backup/2016/20160809_magical-view-rotation-with-stackview.md
- GGHexo/backup/2016/20160810_button-animation-stackview.md
treasure
:有一个(GGHexo/treasure/20160525.md)又拍云原图片失效,有一个(GGHexo/treasure/20160708_using-rxswift-in-practice.md)clouddn.com 存储的原图片失效。backup/2015
:问题一问题二都有不少backup/2016
:问题一问题二都有不少backup/2017
:没问题backup/2018
:没问题src
:只有两个例子是 svg 失效。
其他大部分为加 https://swift.gg 头就行了。很少的需要 url encode。