沉冰浮水

沉冰浮水

做最终到的事,成为最终成为的人!
github
bilibili
mastodon
zhihu
douban

Merged Typecho articles into Z-Blog

A Title That Can Be Summarized in a Few Sentences#

The solution used was to create a "theme" for Typecho based on MovableType syntax, save the 150 data items displayed on one page, and then import them into Z-Blog using the corresponding plugin;

MovableType Syntax Specification for Z-Blog_Computer Network_Chen Bing Fu Shui

https://www.wdssmq.com/post/20170502785.html

Importing MT Data Format [PHP] - Z-Blog Application Center

https://app.zblogcn.com/?id=928

Then I recommend something called HardLinkShellExt, which is a wrapper for the mklink command.

The previous theme is planned to be published in a plugin, while development debugging needs to be done in the Typecho directory. It would be cumbersome to directly copy it.

Symbolic links and directory links should both work, and EasyPHP is used for the web environment.

FileDirectoryRelative AddressAbsolute AddressAccessible by PHPGit
Symbolic Link×
Directory Link××
Hard Link×

That's the general idea, and it can also be used when syncing with OneDrive.

Note: Git can also support symbolic links by enabling the corresponding settings:

Finally, a SQL Memo#

SELECT * FROM `zbp_post` WHERE `log_Alias` IN (SELECT `log_Alias` FROM `zbp_post` GROUP BY `log_Alias` HAVING COUNT(`log_Alias`)>1)
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.