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="https://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="https://home.wangjianshuo.com/news.vbs"></script>
This is the redesigned homepage.
You can provide me some feedbacks regarding the redesign using the comment function with this blog.
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!
Micah, Thanks very much for your good comments. To summize all the good thing into one page is just the idea behind this page.
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
Thanks David for pointing it out. I did mistyped the word. I have fixed the bug.