Build one of your Web news automatic publishing systems

Source: Internet
Author: User
Update Daily News content, for the webmaster is a very headache, first of all, collect a lot of news materials, but also have to make a lot of web pages, daily big and small international news, domestic news, it
News, but you are really tired. The most fatal point, these loose news is not managed, can not query, can not be online dynamic pruning, news stressing timeliness, when you make a good web page and then uploaded to the server, I am afraid that others have you a step, the news report out. Really thankless, for now our internet environment, online publishing news, dynamic generation of news pages, to add search for news, find the function is essential.
So, how do you use ASP technology to implement a dynamic news publishing system? and the news system practices generally have two kinds, one is to input the news content automatically by the program directly generated HTML files, such as by date and news ID number to do the name of HTM file, we often can see from some big news station such processing. And the other is to directly save the news data to the database, when users read the news. Data from the database, dynamically generated pages.
What is the difference between the two treatments? The first kind of display speed and the negative to the server, is the lightest. For the large flow of the site, speed is life, the site is too slow, who will go to the cable? The latter method is easier to deal with than to teach. Maintenance is also convenient, there are two kinds of double knot, because only the application database can easily handle the query, so that the reader to guide the corresponding news page, combined with the above methods, can be said to be different, now we mainly introduce the kind of dynamic page using the database method.

From the processing process, the main is to provide a management news page (can add and delete Daily News, including news pictures, titles, etc.), and then in to call the news Display page processing. The filter to the news need to be inserted into different styles of the page, so you can not use a fixed format page to display news feeds. They should be made into a pluggable part of the home page, so you can invoke the news on different styles of pages. Just like the following script statement

Script language= "JavaScript"
Src= "Http//xxx.com.cn/special/linux/lnews/autoup.asp"
"/script"
Finally, there is a detailed content page for reading the news. In general, a program that can complete an online news release consists of four major programs
Addnew.asp (used to save news data to the database) delete.asp (for processing Delete news)
Autoup.asp (used to handle the display of news headlines, that is, to insert the part of the homepage) read.asp (details of dynamically generated news)
Part of the support process is set_disp.asp (for handling the number of news on the home page, etc.)
Of course, the essential thing is a news database.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.