Currently Viewing Posts in Notes of MovableType

Optimize JS in MovableType

Everyone knows my blog is powered by MovableType. Actually I start to blog from MovableType 3.11.
There is a mt.js file in root of the blog. It is 20K after generating by MovableType 4.26.
Then to make it smaller. I use Yuicompressor which is provided by Yahoo Developer Network.
Then it is only 13K. And also I use gzip compress facility on Apache server. It is 4.1k when transferring to Web Browser.
Actually before minifiy its gzip size is 5.8K.
So it is clear to make a list.
Original mt.js
20.2K, gzip version 5.8K
Minified mt.js
13.1K, gzip version 4.1K

Continue reading “Optimize JS in MovableType”

Upgrade to MovableType 4.26 successfully

I have not upgrade to 4.25 when MovableType 4.25 released. Because I failed to upgrade my Unofficial MT site at that time.
But I did a wonderful upgrade from MT 4.25 to 4.26. And this blog is based on MovableType 4.24 before upgrade. Now the upgrade it so smoothly. I have the screen shot of upgrade.

Continue reading “Upgrade to MovableType 4.26 successfully”

Run php from HTML file

The scenario is I have a blog powered by Movabletype. All html files. Later I need it to be running like a php file. Then I can add php codes inside without changing extension name from html to php.
I’d like to keep the URL. The blog is about five years old.
OK.
Two years ago, I add the following into .htaccess file, which is from Let php engine handle html as php.
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html

It works very well until last week.
I got the error like ask me save the file or not. It is not return the correct php or html file.

Continue reading “Run php from HTML file”

Upgrade DavidYin Blog to Movabletype 4.24

It is time to upgrade Movable Type 4.23 to 4.24.
The steps to upgrade is followed my own upgrading procedures here.
* Release Type: Security Release. This update fixes a serious potential vulnerability which has not yet been exploited in the wild.
* Mandatory? Yes, this is a mandatory security upgrade.
* Performance Implications: None.
* Plugins Affected: None. Your current plugins should continue to work as expected.
* Templates Affected: None.
* System Requirements: This release has no new or additional system requirements.
* Licensing considerations: None. MT 4.24 is a free update for users of any version of MT 4.x.
* Upgrade Fatigue: No further mandatory updates are planned for Movable Type 4.2.
So for security purpose. Just upgrade it and protect your own Blog.

Upgraded to MovableType 4.23

It is a mandatory security upgrade. There is no MT4.22 for some unknown reason. So I upgraded my MovableType 4.21 to 4.23.
change logs here.
* Release Type: Security Release. This update fixes a potential vulnerability which has not yet been exploited in the wild.
* Mandatory? Yes, this is a mandatory security upgrade.
* Performance Implications: None.
* Plugins Affected: None. Your current plugins should continue to work as expected.
* Templates Affected: An update to the profile view template is required for those customers who use the community template sets and user profile feature.
* System Requirements: This release has no new or additional system requirements.
* Licensing considerations: None. MT 4.23 is a free update for users of any version of MT 4.x.
* Upgrade Fatigue: No further mandatory updates are planned for Movable Type in 2008.
If you use MovableType also, don’t wait, upgrade it now.

  • Archives