Globalizing Web Community Menu

Home
Mission
Message
Blog
Downloads
Favorite Links
Thanks
Invitation
Coty

     
Login or Register
Information Site

Back To Blog

Archive Links


August 18, 2006


February 25, 2006
February 8, 2006
January 15, 2006
November 16, 2005
October 31, 2005
October 1, 2005
September 20, 2005
September 3, 2005


   
Feb. 25 2006



In the past two weeks, I implemented not only the automatic generation of RSS feed files but also the Calendar archive links for both this blog and Coty blog. While reviewing how to code the former, I realized that the latter can also be implemented specific for each blog section using the WebBox system that the Community Sample provides.
As it is very cumbersome to create RSS files manually, I investigated how to generate RSS files programmatically on the Web Service for this blog and Coty blog sections. In the Community Samples, the Web Service Function consists of the CommunityService.asmx file on the root directory and the supporting code-behind classes under the Services sub-folder. In order to learn more about this function, I implemented for the first time, the test file “wstest1.asmx”, which was generated by ASP.Net with a single click. (You can see this file simply by typing “wstest1.asmx” after “community/” on the address bar.) However, I found that this system is not suitable for generating RSS files and decided to use only the supporting classes for Web Services. As The Community Samples do not provide the codes for generating RSS files, I had to rely on the sample provided in Chapter 8 of ASP .Net Professional book. It was surprisingly easy to create RSS files from the data provided by the Web Service supporting classes, using XMLTextWriter of ASP.Net. You can now access those automatically generated RSS files from the RSS Feed found at the top of the right column. Another benefit for studying the Web Service function is the realization that the Community Samples provide the WebBox system which I have been completely neglecting. With this system, you can create a section-specific WebBox as well as WebBoxes inherited from the parent section. Although it would be unimportant at this point of time to create the general archive section to retrieve messages from all the sections, it is very attractive to create the calendar archive system specific for this blog and Coty blog sections, utilizing the WebBox system. I, therefore, installed the specific WebBoxes on both sections, omitting the inheritance part of the Community Samples. Once the WebBoxes are created for these sections, it was very easy to transfer the Calendar link codes already implemented on the TestBed. Now, the Calendar Archive Links are active both on this blog and Coty Blog.
Switch to Japanese

Comments: 0    Trackbacks: 0





Write a comment

TrackBack Address:
http://www.timeo.com/TrackBack.aspx?ID=66
   

RSS FEED