Fixing and Changing on Wangjianshuo.com
By Jian Shuo Wang on 2003-03-12 23:53 · BackstageFixing
The PVGBBS has been out of order for about one month. Whenever I click on any of the post, it always report:
Untrapped Error:
./sources/display.pl does not return a value from E:\Customer\Wangjianshuo...
This is an annoying error and I looked it up on Internet and didn’t find any suggestions. Actually, the error message is too broad and does not help.
Finally, after I backup all the files into my local disk, I suddenly noticed that display.pl has the size of 0 byte. How can it happen? I downloaded another copy of YABB Gold 1 SP 1.0 and replaced the problematic display.pl - everything works like a charm.
It turned out that during the change of web server, the staff from my ISP didn’t migrate my site completely. There are some posts and files lost during the migration, but the affect is minor.
Changing
The homepage of wangjianshuo.com is changed to the new style:
News from Wangjianshuo.com’s blog (this web site) appears on that static web site using VBScript.
If you are also using MovableType, just create a new index template named “News Feeding VBScript” and let it create page named news.vbs. Use the code below as the content of the template, save it and rebuild, your blog newsfeed is ready.
Here is the source code of the VBScript generating the headlines:
<On Error Resume Next
Sub PrintNews()
strNewsHTML = ""
strNewsHTML= strNewsHTML + “<a href=<$MTEntryLink$>#<$MTEntryID pad=“1”$»<$MTEntryTitle$>
<$MTEntryDate format="%B %d”$>
"Document.Write strNewsHTML
End Sub
Call PrintNews
Adding the following line to the webpage (http://www.wangjianshuo.com/index.htm) and the headline is displayed automatically.
This is the redesigned homepage.
You can provide me some feedbacks regarding the redesign using the comment function with this blog.
4 Comments
Love the look of the new page. Just a small typo though. On the main page the heading for [other months] is listed as [ohter months]. Just thought I'd point it out so you could fix it :-)Bye!
David