Fixing and Changing on Wangjianshuo.com

Fixing

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:

<script language=vbscript src="http://home.wangjianshuo.com/news.vbs"></script><

On Error Resume Next

Sub PrintNews()

strNewsHTML = ""

<MTEntries lastn="7">

strNewsHTML= strNewsHTML + "<a href=<$MTEntryLink$>#<$MTEntryID pad="1"$>><$MTEntryTitle$></a>

<span class=posted><$MTEntryDate format="%B %d"$></span><br />"

</MTEntries>

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.

<script language=vbscript src="http://home.wangjianshuo.com/news.vbs"></script>

This is the redesigned homepage.

computer-wangjianshuo.com.2003.3.12-change.PNG

You can provide me some feedbacks regarding the redesign using the comment function with this blog.

4 thoughts on “Fixing and Changing on Wangjianshuo.com

  1. I think it looks great, and it’s also very organized. The best thing is that is summarizes all of the best features of your site into one page, so that they are all accessible from one place. Very useful!

  2. Hi Wangjiang,

    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

Leave a Reply

Your email address will not be published. Required fields are marked *