« prev next »

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.

by Jian Shuo Wang on March 12, 2003 under Backstage

Related Entries: Backstage
  1. Load All Articles on Category Page October 3, 2009
  2. Recovered Old Files on Wangjianshuo.com September 23, 2009
  3. Full Content on Home Page of my Blog? August 21, 2009
  4. Google Translate for Blog Articles August 17, 2009
  5. How Many of My Readers Use FaceBook? December 5, 2008
  6. Google AdSense for Feed September 3, 2008
  7. Experiment on Natural Search September 2, 2008
  8. Improving User Portal on Wangjianshuo.com March 15, 2008
  9. Analysis of Links and Ways to Improve March 14, 2008
Comments

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!

Posted by: Micah on March 15, 2003 6:07 AM

Micah, Thanks very much for your good comments. To summize all the good thing into one page is just the idea behind this page.

Posted by: Jian Shuo Wang on March 15, 2003 11:11 AM

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

Posted by: David on April 10, 2003 4:06 AM

Thanks David for pointing it out. I did mistyped the word. I have fixed the bug.

Posted by: Jian Shuo Wang on April 10, 2003 8:48 AM
Post a comment
Name:

Email Address: (will not show)

URL: (optional)

Comments:


It may take up to 30 seconds before the server returns a result. IP address recorded.
Remember my information?
<-- Please click POST only once
© 2001 - 2009 Jian Shuo Wang. All right reserved.