« prev next »

Fixing and Changing on Wangjianshuo.com

Related Categories
  Blogging
  Friends
  Life
  Me
  Misc
  This Site
  Wendy
  Yifan
  Backstage
  Blog Tips
  Hosting
  Map
  MovableType
  Other Sites
  Spam
  Webcam
  Projects
  RSS

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.

Posted by Jian Shuo Wang at March 12, 2003 11:53 PM
Copyright: You are free to redistribute this work, as long as you keep this disclaimer and this link: http://home.wangjianshuo.com/archives/20030312_fixing_and_changing_on_wangjianshuocom.htm

Related Entries: Backstage
  1. Improving User Portal on Wangjianshuo.com March 15, 2008
  2. Analysis of Links and Ways to Improve March 14, 2008
  3. How Translate Tool on this Site Works February 12, 2008
  4. Recovery of Fanfan's Blog December 2, 2007
  5. My Readers are Primarily Older, more Asian, and Male... November 7, 2007
  6. AdSense Color Schema Change October 14, 2007
  7. Shanghai Photo Viewer October 12, 2007
  8. Improved Commenter Page September 2, 2007
  9. How to Add Navigation Menu to MovableType September 1, 2007
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 (external link) 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 (external link) 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 (external link) 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 - 2008 Jian Shuo Wang. All right reserved.