ホームページ > ウェブフロントエンド > CSSチュートリアル > China.com Web サイト開発仕様_CSS/HTML

China.com Web サイト開発仕様_CSS/HTML

PHP中文网
リリース: 2016-05-16 12:10:25
オリジナル
1548 人が閲覧しました

1 Database usage specifications
1.1 All operations related to the database on the server can only be performed by server administrators.
1.2 When accessing the database in the program, use a unified user and a unified connection file to access the database.
1.3 In principle, each channel can only build one library. The library name is consistent with the English name of each channel, and the library contains several tables. For relatively large and key columns, you can consider building a separate database, and the database name should be consistent with the English name of the column.
1.4 Naming:
(1) A series of database-related names such as databases, tables, fields, indexes, views, etc. must all be named with English words related to the content (try to avoid using Chinese Pinyin). For a word If it is difficult to express, you can consider naming multiple words connected by underscores (_) (no more than four words).
(2) All names must use English lowercase letters.
(3) All names cannot use underscores (_) at the beginning and end.
(4) All names cannot contain 26 English lowercase letters and other characters other than underscore (_).
1.5 Databases and tables that are no longer used should be deleted and must be backed up (including structure and content) before deletion.

2 Documentation Specifications
All projects must have relevant documentation (can be electronic documents). The document should contain the following content:
(1) Project name.
(2) List of project team and project leader.
(3) Project development start time and end time.
(4) Project content description.
(5) Project location. (In which channel and column)
(6) The program file name (including path name) related to the project, the file content and the functional description of the implementation.
(7) Complete program flow chart.
(8) Names and uses of databases, tables, views, and indexes. The name, type, length, and purpose of the field must be accompanied by the relevant SQL statement.

3 Source code and page nesting specifications
3.1 Source code:
(1) Before using custom variables (including global variables and local variables), you must declare the variables and mark the variables with comment statements Type and use.
(2) Custom functions must use comment statements to indicate the purpose of the function, the data type and meaning of the parameters, and the type of the return value.
(3) For important processes in the program or processes with long codes, comment statements should be used to indicate the start and end lines of the process, and to indicate the function of the process.
(5) All annotation text must be in Simplified Chinese.

3.2 HTML page nesting:
(1) The HTML page designed by the web design department is nested in

to determine the position for dynamically displaying the program execution results. Width, number of lines (or height), etc., and provide text descriptions in the corresponding positions. Pictures, text, links, etc. on the page that have nothing to do with the program must use complete URLs.
(2) Software developers and editors can negotiate according to the situation and store page files and pictures independently of programs on their own servers, and page revisions and program modifications can be carried out independently.
(3) Use include technology to embed the separated HTML pages into the program code respectively. It is required that the program does not need to be rewritten when modifying the HTML page, and the effect of the HTML page will not be affected when modifying the program. Modify the page and modify the program. Each task is independent.
(4) After the page and program are nested, the overall display effect of the original HTML page cannot be destroyed. The font, font size, color, etc. should try to maintain the style of the original HTML page.
(5) Various indicators of dynamically generated pages (such as image size, page width, height, number of bytes of page files, etc.) should comply with the company's web design requirements.


4 Test specifications (software part)
For larger projects, a corresponding test team should be established, with team members composed of software developers, web designers, technical staff, and editors. The testing process should be conducted with reference to the original HTML page provided by the web design department for the project. The test content includes the following points:
(1) Page width and height (number of lines).
(2) Whether the page text, pictures, and colors are consistent in style.
(3) Whether the pictures on the page are displayed normally and whether they are deformed.
(4) The effect of pop-up page.
(5) Whether the page connection is correct.
(6) Whether the dynamically generated page meets the requirements of the above aspects, and whether the page size (number of bytes, including page pictures, *.js, *.css, *.class and other related files) conforms to the web design requirements.
(7) Whether the software functions are implemented. Such as database query, modification, deletion, file upload, download and other operations are normal.
(8) After the test, truthfully fill in the test results in the "Test Report" according to the "Software Development Requirements Letter", including those that passed and those that failed, point out the error page and related program files, and attach Error messages that occurred during testing.

In order to strengthen the content construction of China.com (CHINA.COM), improve the quality of content, strengthen editing skills, enhance copyright awareness, and increase the browsing rate of the website, an editing manual has been specially formulated to stipulate what should be done and what should not be done, and lists information for reference. This specification was formulated with reference to the editing experience of "Guozhong.com". At the same time, we also hope that colleagues can provide more valuable opinions to continue to explore and innovate, and update and improve the editing process and specifications.
1 Content editing policy
(1) Adhere to the main focus of positive publicity, correctly grasp the direction of public opinion, and be consistent with the propaganda caliber of the party and the government.
(2) Taking the needs of netizens as the starting point, not omitting important news that users care about, constantly enriching web content and providing more thoughtful services.
(3) Promote "grabbing news" and timely release to shorten the time difference between events and information sources.
(4) Strictly eliminate political errors and avoid intellectual and textual errors.
(5) Learn from online media experience and pool the strengths of others.
(6) Encourage and promote the reprocessing and processing of information content, avoid simple duplication and copying, and eliminate the bad tendency of I-C-P (Internet Copy Paste).
2 Editorial requirements
2.1 Selection of manuscripts
① Understand the media update rules, capture news in a timely manner, and select manuscripts with high news value, strong readability, knowledge, practicality, and interest.
② For hot news, pay attention to selecting articles from different angles, multi-faceted reporting, continuous reporting, and in-depth analysis to form a climate, but only select one article with the same content.
③ In addition to not missing important news, the amount of information must also capture more attractive news.
④ It is not allowed to use propaganda that is inconsistent with the central government’s propaganda, slander our country, not conducive to the reunification of the motherland, attack the party, government and national leaders, violate ethnic, religious, diplomatic and other policies, and promote feudal superstition, pornography, violence, obvious untruths, and leaks When selecting a manuscript, you must read the entire text to make sure there is no content mentioned above.
⑤ There are newspapers and Xinhua News Agency, so use the Xinhua News Agency draft.
⑥ Use special articles on the ICP website with caution, and reprint them after finding the original source.
2.2 Production of special articles and special topics
① Collect information materials to prepare special articles and special topics.
② Hear and witness news events, catch them, interview them, and write them into special articles.
③Watch the live broadcast and compile and publish special articles simultaneously.
④ Capture the latest news from foreign language websites and compile it into special articles.
⑤ Organize exclusive interviews, discussions, meetings with netizens and other activities to write special articles.
⑥ Compile and distribute submissions from netizens and community discussion drafts.
2.3 Title
① Strive to be short, eye-catching, novel and attractive.
② It is best to use a one-line question, no more than 14 words.
③ If the original title of a specific media can omit the place name or use a pronoun, the place name should be marked.
④ The first character of the title must not be a space, quotation marks in the title must be full-width symbols, and important titles can be in boldface.
⑤ The icon before the title is generally a small black dot, and the icon before the topic's title is customized by the editor.
2.4 Telephone header
① The telegraph header of the news agency is retained. If the telegraph header of the newspaper is retained, "this newspaper" must change the registration.
② Taiwanese newspapers or news agencies should be changed to "Taiwan News", "Taipei News" or "Taiwan Media Reports".
2.5 Mark information sources
① Prevent incorrect annotation as the default source.
② News from Taiwanese newspapers or news agencies can be used directly without mentioning the source of information. If adapted, please note China.com.
③ If the information is reprinted, it is best to find the original source. Otherwise, the last source will still be used as the source of information.
2.6 Text
① Divide the article into paragraphs. Leave two spaces at the beginning of the paragraph, consistent with the traditional format. Since reading articles on the Internet is more difficult for the eyes, a blank line between paragraphs can make the article clearer and easier to read.
② If an error occurs when using "today" or "yesterday", it should be changed to a specific date.
③ "Republic of China" and "Republic of China" are not allowed, and Taiwanese products are not allowed to be described as domestically produced. For some content about Taiwan that must be quoted, add quotation marks, such as Taiwan's "Ministry of Defense".
④ If the Chinese characters and punctuation marks in the manuscript become "?", "囗" or spaces, they should be corrected according to the original manuscript.
⑤ The translated names of Hong Kong, Macao, Taiwan and foreign newspapers are different from the mainland translation, and should be changed to standardized translations.
"·" in the translated names must not be written as ".".
For example: "my country" should be written as "China", "Singapore" (the name of Hong Kong and Taiwan) should be written as "Singapore", and "New Zealand" should be written as "New Zealand".
⑥ The word "this newspaper" should not appear in the article or signature, and should be changed to registration or deleted; all traditional Chinese characters appearing in the article should be changed to simplified Chinese, horizontal punctuation marks should be used, and the word "END" at the end of the article should be deleted.
⑦ It is advocated to downsize and streamline the manuscript, and convert it from newspapers to online manuscripts, which often form two completely or basically similar paragraphs, and the similar parts should be deleted.
⑧ Avoid typos, typos and self-made words, and pay attention to daily accumulation. Avoid symbol substitution: For example:
"Zhu Rongji" is replaced with "Zhu (Jin Jiarong Pang) Ji".
2.7 Pictures
① In addition to making full use of ready-made picture and text manuscripts, picture news and text news reported separately can be combined to facilitate the reading of netizens.
② Use compression technology to increase display speed. .
③ Ensure that the picture is not deformed.
④ Graphic file extensions must be "JPG" and "GIF".
⑤ Graphic file size cannot exceed 5K
2.8 Channel Home Page News
① Represents the style and channel characteristics of China.com and must be carefully crafted.
② It should be ensured that it can be updated daily, and at the same time, it should be "illustrated and illustrated" as much as possible.
③ Select articles that netizens care about, like to hear, lively and attractive, and strive to catch them at once and make them read, and try to avoid being the same as the important news on general websites.
④ The title is a one-line question, less than 16 words.
⑤ Use pictures to report the latest news that people care about, focusing on achievements and wonderful moments.
⑥ The picture should be beautiful, choose close-ups, close-ups, or cut out the highlights.
⑦ It must be made into a square with the same length and width.
2.9 related news
① The latest news in the channel is linked to the homepage.
② Select important ones when publishing together.
③ The joint volume is about 60%.
2.10 Topics
① Topics are a means to concentrate information and facilitate reading, and should be actively added.
② The topic selection is determined by the degree of attention of the hot spot. The columns are generally news flash, comments or reactions, picture news, background information, related links, and more topics.
③ Small topics are decided by the channel editor and can be set up by contacting the product department and technology department. For large-scale topics, suggestions are put forward first, and then they are established after being determined by the planning department.
⑧ The special news should be complete, and the important ones should be selected and sent to the channel and homepage news column at the same time.
2.11 Static Page
① Actively collect practical, reference, and interesting information for netizens to review and enjoy. Enhancing serviceability and practicality will greatly increase the browsing rate. It is the development direction of the website and must be highly valued.
② After the project is launched, it must be continuously or regularly expanded, and the information that needs to be updated must be updated in a timely manner so as not to disappoint netizens.
2.12 Cooperation Links
① Actively seek partners to increase real-time practical information.
② Click frequently to find changes and correct them in time.
3 Review System
① Every manuscript sent by the editor must be carefully reviewed by himself.
② If two editors are responsible for a channel, they must review each other's manuscripts. If it is composed of three people, the review will be divided into divisions. Department supervisors are responsible for the content and supervise the information release by the chief editor and editor.
③ Manuscripts that the editor is not sure of will be reviewed by the supervisor and editor before being released.
④ The producer and editor-in-chief randomly check the published manuscripts.
⑤ For information that is not well grasped, you should ask the online reviewer for instructions and avoid self-righteous and taken-for-granted practices.

China.com homepage recommended specifications


Currently, the china.com homepage has five aspects of content that are updated daily: "Headline Links", "Channel Selection", and "Special Topics" , "Picture Recommendations" and "Wonderful Recommendations".
1. Headline links
The number of headline links is 9. The recommended content is mainly current affairs news, accounting for about 6-8 items. If there is important sports, entertainment, IT and other news, it can also be recommended at this location. . The number and selectivity of recommendations is determined by the Department of Public Information. Recommended email: news@sz.china.com.
1. Channel Selection
1. Recommended content should closely follow the channel name and try to avoid conflicts with other channel content. Really reflect the true nature of the channel.
2. Recommended content must conform to the mainstream of social, political and moral public opinion, and try to avoid content that damages the image of the party and government, bloody violence, pornography and vulgarity.
3. Recommended content must indicate the source of the information (even if it is original by netizens), and ensure that it does not involve copyright issues.
4. The number of words in the title of the recommended content is limited to 16 words. The link must be the URL of the final page.
5. Be sure to wait until the recommended content is mirrored to Beijing before sending email recommendations.
6. Send recommended content to the unified email address: best@sz.china.com.
3. Thematic Specials
The recommended contents of the special specials are larger topics or columns produced by each channel. The display time on the homepage is generally longer. The number of topic pages is usually no less than 10 pages.
The procedure for recommending "thematic special episodes":
Thematic production editor (fill in the "topic recommendation application form") → channel producer (review and signature) → web design department supervisor (review and signature) → planning director or information director (review and signature) Sign)→Home Page Edit→Add to Home Page to complete.
4. Picture recommendations
The right side of the channel selection is the "Picture Recommendation" position. Update frequency is daily or semi-daily. Images should also be free of copyright issues (recommending pornographic and politically vilifying images is strictly prohibited). In addition, recommended content must be timely and unique.
It is recommended to send it directly to the email address best@sz.china.com. The included elements are pictures (the quality must be clear, height 160x width 120~140), text description title, and the final page URL.

5. About "Wonderful Recommendations"
"Wonderful Recommendations" is a recommendation area separated from the original "Special Editions". In principle, its update frequency is three to five days. The difference from "Special Collection" is that its recommendation range is wider. Highlight recommendations can be news tracking reports, etc., and the number of pages is more than 5 pages.
Send recommendations directly to the email address best@sz.china.com, including the element recommendation title (the number of words in the title is limited to 10 words) and the final page URL.
Please monitor and edit each channel to consciously maintain the image of the china.com homepage, carefully consider and recommend the excellent content of this channel.

Planning Center
August 3, 2000



In order to better standardize and manage our company's website software development work, so that software developers can accurately and quickly Understand various software development requirements to facilitate communication with the editorial department and improve work efficiency. When other departments of the company propose website-related software development requirements, they must fill out the "Website Software Development Requirements Form" and submit it to the software development manager.
The following is the content that needs to be filled in the "Function Required" column in the "Website Software Development Requirement Form":
1 Client
1.1 Client program flow chart.
1.2 Explain the functions implemented by each step and related pages one by one according to the flow chart.
1.3 The purpose of the page (including the page returned after the program is executed), the relationship between them, the pictures, text and related links of the page. If there is already an HTML page, it must be provided together.
1.4 Specify the functions that each page needs to implement:
(1) List the data items submitted through the form, data type (numbers, characters), and data length. Indicate required (options) and non-required (options). (The data items selected and entered by the user must provide optional content.)
(2) The conditions used in query (statistics) and the combination of query conditions.
(3) The data items displayed in the query results, and the display effects (such as paging display, number of records displayed on each page, etc.).
(4) Provide data maintenance functions for users. (Such as data update, deletion, etc.)
1.5 The format, conditions, content, sender, and recipient of sending E-mail.
1.6 If classification is involved, the relevant classification system (classification method, content) must be provided.
1.7 Execution conditions and operation permissions for file upload and download, file type and size range.
1.8 If page management and program management are required to be independent, you need to provide the address where the HTML page is stored (complete URL address).
1.9 reference site URL.

2 Management end
2.1 Management end program flow chart.
2.2 Explain the functions implemented by each step one by one according to the flow chart.
2.3 Put forward specific requirements for the implementation of each functional module in the following way:
(1) List the data items submitted through the form, data type (numbers, characters), and data length. Indicate required (options) and non-required (options). (Selecting the input data items must provide optional content.)
(2) The conditions used in query (statistics) and the combination of query conditions.
(3) The data items displayed in the query results, and the display effects (such as paging display, number of records displayed on each page, etc.).
(4) Data items that require management side maintenance (such as updating, deleting, etc.).
2.4 The format, conditions, content, sender and recipient of sending E-mail.
2.5 If classification is involved, the relevant classification system (classification method, content) must be provided.
2.6 Execution conditions and operation permissions for file upload and download, file type and size range.
2.7 Backup of database and files.

If the applicant is not sure about the above requirements, he can indicate "entrust a software developer to assist in solving the problem".

China.com website structure and organizational principles


1 Overview
1.1 Website information classification is to classify website information according to the attributes of the website content, audience objects and other characteristics. A means to develop and systematically organize according to a certain system. The information classification of the China.com website is divided into various columns based on China.com's positioning facts and audience as an online information portal. Its column structure reflects the classification principle.
1.2 Web サイトの情報分類は手段であり、その目的は、閲覧者が Web サイトを使用して必要な情報に素早くアクセスできるようにすることです。 したがって、Web サイト情報分類のタスクは 2 つの部分に要約できます。 まず、さまざまな情報の内容を明らかにします。 2つ目は、ウェブサイト上で公開されている情報の密接な関係に基づいてカテゴリー体系を形成し、さまざまな作業を効果的に行うための情報の収集と編集を行うことです。
1.3 ウェブサイト情報分類の実装には、次の 3 つの側面が含まれます: 分類 (つまり、科学的な分類体系の確立)、分類 (つまり、分類体系におけるカテゴリー概念の意味とカテゴリー間の関係の明確化)、分類(つまり、分類議論の結果に基づいて、さまざまなカテゴリグループやチャネルが効果的に機能できるように、公開される情報が分類システム内のどのカテゴリに属する​​かを決定します)。
2 China.com Web サイトのコラムの組織構造
2.1 China.com Web サイトのコラムは階層的な組織構造を採用しています。つまり、最初の分類オブジェクト (分割された物事または概念) は、選択されたいくつかの属性と特性に従って分類されます。 (分類の基礎として)対応するいくつかの階層カテゴリ(列)に次々と分割され、階層的で段階的な構造システムに配置されます。
2.2 China.com Web サイトのコラムの組織構造は、線分類法に基づいており、Web サイトの特別な情報構成と視聴者サービスの目標に適応するために、面分類法のいくつかの利点を組み合わせています。
2.3 この階層的な組織構造では、同質のカテゴリ(列)は基本的に並列関係(各大カテゴリが複数のレベルに細分化されると、下位カテゴリ間で重複が生じる)関係にあり、従属関係が存在します。下層階級と上流階級の間。
2.4 上位カテゴリによって直接分割された下位カテゴリ (列) は、上位カテゴリに対して相対的に下位カテゴリと呼ばれ、1 つのカテゴリによって直接分割された下位カテゴリは同質カテゴリになります。
2.5 この組織構造では、各列の間に「属 (S)」、「部門 (F)」、「世代 (D)」、「用途 (Y)」の 4 種類の関係があります。異なるカテゴリに属する​​ 2 つの列が同じ概念的拡張を持つ場合、上位クラスと下位クラスの関係は「分割」の関係になり、下位クラスと上位クラスの関係は「類」の関係になります。特定の内容を格納した列は「分類列」となり、内容のない列は「リンク列」と呼ばれます。 「分類列」と「リンク列」の関係は「世代」の関係です。 「リンク欄」と「分類欄」の関係は「利用」の関係となります。
2.6 列は、大カテゴリと小カテゴリを使用して論理的な順序で配置されます。つまり、同じレベル内で、合計からポイント、上から下への階層システムに従って、一般から詳細への順序で配置されます。野菜の近くから。
2.7 カテゴリの数 China.com の Web サイトでは、上位カテゴリは 9 つ以下の下位カテゴリに分割できると一時的に規定されています。
2.8 カテゴリレベル、China.com Web サイトのカテゴリレベルはレベル 4 を超えないよう暫定的に規定されています。
3 列分割の原則
3.1 分類原則の基本的な説明
・分類は分割であり、分割の基礎は分類基準です。この基準は、通常、ある種類の物事の間の類似性を指します。 、何かの何らかの属性。
・分類の基本原則には、「科学性」、「体系性」、「拡張性」、「互換性」、「総合的実用性」の5つの性質がある
3.2 分類原則の具体的な説明
・情報の内容を表す列の位置は、客観的な原則に従って接続されている必要があります。
・情報保証の原則、つまり、リストされた各列 (カテゴリ) には一定量の情報が含まれている必要があります。 2 つ目は、安定性の原則です。一度決定された列は比較的安定しており、簡単には変更できないため、設定時に元の列を変更することはできません。新しい列の場合、列の汎用性と成熟度を考慮する必要があり、列の追加は容易ではありません。 🎜> ・階層型分類モデルを採用します。同じファミリーのレベル概念には、下位レベルの概念が含まれます。下位レベルのカテゴリを特定の上位レベルのカテゴリで割った範囲の合計は、上位レベルのカテゴリと等しくなければなりません。
例: Commerce (1)。 . ) F
・ビジネスニュース (11)
・市場調査 (12)
・ビジネスディレクトリ (13)
・製品ショールーム (14)
・ビジネスチャンス (15)
・需給情報 (151)
・入札情報 (152)
・協力情報 (153)
・業務マニュアル (16)
・政策・規制 (161) Y (211)
・ビジネスナレッジ (162)
・ビジネス戦略 (17)
・特別レポート (18)
・同じカテゴリ間の重複や重複を避け、以下にのみ対応する一つ上のカテゴリ。
・異なるカテゴリ間に概念が含まれる場合、概念の拡張が大きいカテゴリに従って分類されます。例えば、先ほどの「ビジネス・貿易」カテゴリの政策・規制カテゴリの後にYマークがございますが、これが参考記号です。 「商務」と並行して「政治法」というカテゴリがある場合、「商務」カテゴリの下にある「政策と規制」は、「政治法」の下の「商務」カテゴリ、つまり「商務」の下に分類される必要があります。 「」カテゴリ 「政策と規制」列は、「政治と法律」の「ビジネスと商業」カテゴリに直接リンクする必要があります。そうでない場合、「政治と法律」の「ビジネスと商業」カテゴリが、「政策と規制」のカテゴリに置き換わります。 (D) 「ビジネスおよび商業」カテゴリ。同様に、ゲームのダウンロードは「ソフトウェア ダウンロード」カテゴリに分類する必要があります。
政治と法律 (2)
・政策と規制 (21)
・ビジネス (211) (D) (161) ...
・列を分類するときは、次から分類するようにしてください。 「人口」と「地域」 「属性」の視点から考え、今後のコラム展開やWebサイト開発の基礎を築きます。
・異なるレベルの選択により、異なるレベルのカテゴリ間に次の関係が現れる場合があります:「並列関係」、「従属関係」、「因果関係」、「影響関係」、「適用と適用される関係」。情報を分類する際に、因果関係であれば「並列関係」と「従属関係」で分類しますが、影響関係であれば、その結果の主体性に応じて分類します。影響を受けるサブジェクトの性質 アプリケーションおよび適用される場合、関係は適用されるサブジェクトの性質によって分類されます。
4 説明
4.1 現在の分類システムによれば、ホットである可能性のある列は第 1 レベルの列に反映されません。解決策は、ホームページのナビゲーションに推奨列のナビゲーション バーを追加することです。
4.2 すべてのレベルのナビゲーションの列の位置は固定される必要があります。すべてのレベルのナビゲーションも階層的である必要があります。例えば上から下の順など、色の区別などもあります。
スポーツ-ゲーム-金融-ビジネス-文化-テクノロジー-...
ニュース-ホットスポット追跡-ダウンロードガイド-プレイヤーゾーン-...

関連ラベル:
ソース:php.cn
このウェブサイトの声明
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。
最新の問題
人気のチュートリアル
詳細>
最新のダウンロード
詳細>
ウェブエフェクト
公式サイト
サイト素材
フロントエンドテンプレート