CN102760159A - Magazine-type article full text mixed composition method for mobile terminal screen - Google Patents
Magazine-type article full text mixed composition method for mobile terminal screen Download PDFInfo
- Publication number
- CN102760159A CN102760159A CN2012101858862A CN201210185886A CN102760159A CN 102760159 A CN102760159 A CN 102760159A CN 2012101858862 A CN2012101858862 A CN 2012101858862A CN 201210185886 A CN201210185886 A CN 201210185886A CN 102760159 A CN102760159 A CN 102760159A
- Authority
- CN
- China
- Prior art keywords
- article
- full text
- full
- mobile terminal
- page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Document Processing Apparatus (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a magazine-type article full text mixed composition method for a mobile terminal screen. The magazine-type article full text mixed composition method comprises the steps as follows: an article data structure is built at first, and then a template page is built; the template page contains a Javascript composition algorithm module; and whether a WEB control can be used is judged finally, and layout settings of the template page of an article full text can be performed further through a client side program according to a judgment result, or the layout settings of the template page of the article full text can be performed through the Javascript composition algorithm module. By adopting the magazine-type article full text mixed composition method, the article full text can be shown on the mobile terminal screen in the form of graphics-words mixed composition, and the human-computer interactive experience and the reading effect can be further improved greatly; in addition, the article data structure is built before the layout settings of the article full text are performed, so that article full text data does not need to be obtained again, and the process can be simplified further. The magazine-type article full text mixed composition method is used as a magazine-type article full text mixed composition manner for the mobile terminal screen, and can be widely applied to the field of mobile communication.
Description
Technical field
The present invention relates to data processing technique, relate in particular to a kind of magazine formula article full text mixing method that is used for mobile terminal screen.
Background technology
The article that is used for mobile terminal screen now is composition method in full, and its major part is to adopt mode and then the realization of the drop-down WEB page.Yet adopt the drop-down WEB page and then realize that the article of mobile terminal screen sets type in full, this mode is comparatively rigid, and causes article composing in full single and the user experience sense is low.
Summary of the invention
In order to solve the problems of the technologies described above, the magazine formula article that is used for mobile terminal screen that the purpose of this invention is to provide a kind of attractive in appearance and hommization is the mixing method in full.
The technical scheme that the present invention adopted is: a kind of magazine formula article full text mixing method that is used for mobile terminal screen, and this method step comprises:
A, set up the article data structure;
B, set up the template page, said page template bread contains Javascript composing algoritic module;
C, judge whether the WEB control is available, article is carried out the layout setting of the template page in full, perhaps article is carried out in full the layout setting of the template page through Javascript composing algoritic module according to judged result and then through client-side program.
Further, said step C comprises:
C1, judge whether the WEB control is available;
C2, if judged result be that the WEB control is unavailable, then article is carried out in full the layout setting of the template page through client-side program; If judged result can be used for the WEB control, then utilize the WEB control article to be carried out in full the layout setting of the template page through Javascript composing algorithm template.
Further, said step C2, it is specially,
If judged result is that the WEB control is unavailable, then through client-side program according to the screen specification of portable terminal and preset template configuration information, and then definite article template page in full the set type required number of pages and the mode of each page image mixed character typeset;
If judged result can be used for the WEB control; Then utilize the WEB control through Javascript composing algoritic module according to the screen specification of portable terminal and preset template configuration information, and then definite article template page in full the set type required number of pages and the mode of each page image mixed character typeset.
Further, be horizontal layout between each page among the said step C2.
Further, in the said steps A, said article data structure comprises version header, numbering, title, author, source, text and the accompanying drawing of article.
Further, said accompanying drawing is a structure of arrays.
Further, the template page is provided with an edition head among the said step B.
The invention has the beneficial effects as follows: because the present invention carries out the layout setting through client-side program or employing Javascript composing algoritic module to article in full; Therefore through adopting the present invention that article is presented on the mobile terminal screen with the image mixed character typeset mode in full; And then can improve man-machine interaction experience and reading effect greatly; And, therefore need not to obtain the article full-text data once more, and then process is simplified because article is carried out having set up the article data structure before layout is provided with in full.
Description of drawings
Be described further below in conjunction with the accompanying drawing specific embodiments of the invention:
Fig. 1 is a kind of magazine formula article that is used for mobile terminal screen of the present invention method step figure of an embodiment of mixing method in full;
Fig. 2 is a kind of magazine formula article that is used for mobile terminal screen of the present invention method step figure of another embodiment of mixing method in full;
Fig. 3 adopts a kind of magazine formula article full text mixing method of mobile terminal screen and then first template page synoptic diagram of generation of being used for of the present invention;
Fig. 4 adopts a kind of magazine formula article full text mixing method of mobile terminal screen and then second template page synoptic diagram of generation of being used for of the present invention;
Fig. 5 adopts a kind of magazine formula article full text mixing method of mobile terminal screen and then the 3rd template page synoptic diagram of generation of being used for of the present invention;
Fig. 6 adopts a kind of magazine formula article full text mixing method of mobile terminal screen and then the 4th template page synoptic diagram of generation of being used for of the present invention.
Embodiment
By illustrated in figures 1 and 2, a kind of magazine formula article full text mixing method that is used for mobile terminal screen, this method step comprises:
A, set up the article data structure;
B, set up the template page, said page template bread contains Javascript composing algoritic module, and said Javascript composing algoritic module is a kind of live more programming language composing algoritic module of active and composing diversification of Webpage that lets;
C, judge whether the WEB control is available, article is carried out the layout setting of the template page in full, perhaps article is carried out in full the layout setting of the template page through Javascript composing algoritic module according to judged result and then through client-side program.
From the above; The present invention is through client-side program or adopt Javascript composing algoritic module article to be carried out in full the layout setting of the template page; Therefore through adopting the present invention that article is presented on the mobile terminal screen with the image mixed character typeset mode in full; And then can improve man-machine interaction experience and reading effect greatly; And because article is carried out having set up the article data structure before the template page layout is provided with in full; Therefore need not to obtain the article full-text data once more, and then shorten article greatly and be presented on the time of this process on the mobile terminal screen with the image mixed character typeset mode in full and this process is simplified, article content in full can farthest be presented on the screen of portable terminal simultaneously.
Further as preferred embodiment, said step C comprises:
C1, judge whether the WEB control is available;
C2, if judged result be that the WEB control is unavailable, then article is carried out in full the layout setting of the template page through client-side program; If judged result can be used for the WEB control, then utilize the WEB control article to be carried out in full the layout setting of the template page through Javascript composing algorithm template.
Further as preferred embodiment, said step C2, it is specially,
If judged result is that the WEB control is unavailable, then through client-side program according to the screen specification of portable terminal and preset template configuration information, and then definite article template page in full the set type required number of pages and the mode of each page image mixed character typeset;
If judged result can be used for the WEB control; Then utilize the WEB control through Javascript composing algoritic module according to the screen specification of portable terminal and preset template configuration information, and then definite article template page in full the set type required number of pages and the mode of each page image mixed character typeset.
As preferred embodiment, being horizontal layout between each page among the said step C2 further, promptly according to the screen specification of portable terminal and then make the article template page in full be divided into a plurality of pages, and is horizontal layout between each page.Described horizontal layout promptly is a Lateral Navigation, and owing to adopt Lateral Navigation between each page, therefore this page-turning effect more shows hommization just as thumbing through magazines the page.
Further as preferred embodiment, in the said steps A, said article data structure comprises version header, numbering, title, author, source, text and the accompanying drawing of article.Open sheet if article is simple one or one group in full, then article is regarded as text in full and is empty article.Said version header is title or the sign that is used to identify the affiliated catalogue of article.
Further as preferred embodiment, said accompanying drawing is a structure of arrays, comprising one or more pictures.
Further as preferred embodiment, the template page is provided with an edition head among the said step B.
Extremely shown in Figure 6 by Fig. 3; All to be the application of the invention carry out the effect synoptic diagram after the mixing to article version head, title, text and this four macroplate of picture in full for it; Can find out that thus the application of the invention can make article composing diversification in full; And then improve the experience sense that the user reads greatly, and composing has more individual character.
More than be that preferable enforcement of the present invention is specified; But the invention is not limited to said embodiment; Those of ordinary skill in the art make all equivalent variations or replacement under the prerequisite of spirit of the present invention, also can doing, and distortion that these are equal to or replacement all are included in the application's claim institute restricted portion.
Claims (7)
1. a magazine formula article that is used for mobile terminal screen mixing method in full, it is characterized in that: this method step comprises:
A, set up the article data structure;
B, set up the template page, said page template bread contains Javascript composing algoritic module;
C, judge whether the WEB control is available, article is carried out the layout setting of the template page in full, perhaps article is carried out in full the layout setting of the template page through Javascript composing algoritic module according to judged result and then through client-side program.
2. according to the said a kind of magazine formula article full text mixing method that is used for mobile terminal screen of claim 1, it is characterized in that: said step C comprises:
C1, judge whether the WEB control is available;
C2, if judged result be that the WEB control is unavailable, then article is carried out in full the layout setting of the template page through client-side program; If judged result can be used for the WEB control, then utilize the WEB control article to be carried out in full the layout setting of the template page through Javascript composing algorithm template.
3. according to the said a kind of magazine formula article full text mixing method that is used for mobile terminal screen of claim 2, it is characterized in that: said step C2, it is specially,
If judged result is that the WEB control is unavailable, then through client-side program according to the screen specification of portable terminal and preset template configuration information, and then definite article template page in full the set type required number of pages and the mode of each page image mixed character typeset;
If judged result can be used for the WEB control; Then utilize the WEB control through Javascript composing algoritic module according to the screen specification of portable terminal and preset template configuration information, and then definite article template page in full the set type required number of pages and the mode of each page image mixed character typeset.
4. according to the said a kind of magazine formula article full text mixing method that is used for mobile terminal screen of claim 3, it is characterized in that: be horizontal layout between each page among the said step C2.
5. according to the said a kind of magazine formula article full text mixing method that is used for mobile terminal screen of claim 1; It is characterized in that: in the said steps A, said article data structure comprises version header, numbering, title, author, source, text and the accompanying drawing of article.
6. according to the said a kind of magazine formula article full text mixing method that is used for mobile terminal screen of claim 5, it is characterized in that: said accompanying drawing is a structure of arrays.
7. according to the said a kind of magazine formula article full text mixing method that is used for mobile terminal screen of claim 5, it is characterized in that: the template page is provided with an edition head among the said step B.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210185886.2A CN102760159B (en) | 2012-06-06 | 2012-06-06 | Magazine-type article full text mixed composition method for mobile terminal screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210185886.2A CN102760159B (en) | 2012-06-06 | 2012-06-06 | Magazine-type article full text mixed composition method for mobile terminal screen |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102760159A true CN102760159A (en) | 2012-10-31 |
CN102760159B CN102760159B (en) | 2015-04-15 |
Family
ID=47054616
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210185886.2A Active CN102760159B (en) | 2012-06-06 | 2012-06-06 | Magazine-type article full text mixed composition method for mobile terminal screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102760159B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104252444A (en) * | 2013-06-27 | 2014-12-31 | 腾讯科技(北京)有限公司 | Typesetting method, module and system for magazine application |
CN108021599A (en) * | 2016-10-31 | 2018-05-11 | 阿里巴巴集团控股有限公司 | The method and device of page version head is provided |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101645084A (en) * | 2009-04-23 | 2010-02-10 | 中国科学院声学研究所 | Processing method of dynamic data of embedded browser |
CN101673256A (en) * | 2008-09-11 | 2010-03-17 | 北大方正集团有限公司 | Method and system for automatically extracting article metadata information based on word flow |
CN101977233A (en) * | 2010-11-01 | 2011-02-16 | 优视科技有限公司 | Method and system for leading mobile terminal to browse webpage in reading mode |
CN102043861A (en) * | 2010-12-29 | 2011-05-04 | 重庆新媒农信科技有限公司 | Web page data structured display method based on mobile terminal |
-
2012
- 2012-06-06 CN CN201210185886.2A patent/CN102760159B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101673256A (en) * | 2008-09-11 | 2010-03-17 | 北大方正集团有限公司 | Method and system for automatically extracting article metadata information based on word flow |
CN101645084A (en) * | 2009-04-23 | 2010-02-10 | 中国科学院声学研究所 | Processing method of dynamic data of embedded browser |
CN101977233A (en) * | 2010-11-01 | 2011-02-16 | 优视科技有限公司 | Method and system for leading mobile terminal to browse webpage in reading mode |
CN102043861A (en) * | 2010-12-29 | 2011-05-04 | 重庆新媒农信科技有限公司 | Web page data structured display method based on mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104252444A (en) * | 2013-06-27 | 2014-12-31 | 腾讯科技(北京)有限公司 | Typesetting method, module and system for magazine application |
CN108021599A (en) * | 2016-10-31 | 2018-05-11 | 阿里巴巴集团控股有限公司 | The method and device of page version head is provided |
Also Published As
Publication number | Publication date |
---|---|
CN102760159B (en) | 2015-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104298725B (en) | The method that online courseware development system disposably edits input multi version output | |
CN102207870B (en) | Adaptive method and system for multi-language version interface | |
CN1870732A (en) | Method for setting interface of electronic card | |
CN102662595A (en) | Magazine graphic and context mixed composing method for mobile terminal screen | |
CN104182224A (en) | Wireless PPT (power point) control system and control method implemented by same | |
CN105392065A (en) | Method and system for arranging page content of intelligent television | |
CN108156502A (en) | A kind of method for improving paintbrush and word net cast synchronism | |
CN104199911A (en) | Storage method and device for PPT | |
CN104298721B (en) | A kind of arbitrarily a object split screen layout edit methods of the online courseware development based on Web | |
CN104516867A (en) | Table reordering method and table reordering system | |
CN103218195A (en) | Method and device for display adjustment of application program | |
CN109640154B (en) | Webpage barrage display methods, device, equipment and storage medium | |
CN102752655A (en) | Display method of electronic program guide | |
CN102521516A (en) | Method and system for automatically creating error homework textbooks | |
CN105069060A (en) | Page typesetting method of HTML (Hypertext Markup Language) documents | |
CN102419742A (en) | Subtitle processing method and device applied to electronic equipment | |
CN106610826A (en) | Making method and device for online scenario application | |
WO2015070812A1 (en) | Content typesetting method and mobile terminal | |
CN104851333A (en) | Copybook generating device and copybook imitating device equipped with same | |
CN107133206A (en) | A kind of digital content makes and demonstration tool and its application | |
CN102760159B (en) | Magazine-type article full text mixed composition method for mobile terminal screen | |
CN103186507B (en) | Dot matrix word library processing method | |
CN103136186B (en) | Phonetic composition method and device | |
CN105183708A (en) | Method and system for making book based on microblog content | |
CN112084763A (en) | Wrong question management method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |