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
About Symbolic Links (symlinks)#
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.
File | Directory | Relative Address | Absolute Address | Accessible by PHP | Git | |
---|---|---|---|---|---|---|
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:
- 【Memo】msysGit Installation and Usage ← There is an option related to "symlinks" in the last step.
- Then enable "core.symlinks" in
.git/config
.
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)