CN102760159B - 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 PDF

Info

Publication number
CN102760159B
CN102760159B CN201210185886.2A CN201210185886A CN102760159B CN 102760159 B CN102760159 B CN 102760159B CN 201210185886 A CN201210185886 A CN 201210185886A CN 102760159 B CN102760159 B CN 102760159B
Authority
CN
China
Prior art keywords
article
full
mobile terminal
full text
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.)
Active
Application number
CN201210185886.2A
Other languages
Chinese (zh)
Other versions
CN102760159A (en
Inventor
李森和
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GUANGZHOU JIANHE NETWORK TECHNOLOGY CO LTD
Original Assignee
GUANGZHOU JIANHE NETWORK TECHNOLOGY CO LTD
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by GUANGZHOU JIANHE NETWORK TECHNOLOGY CO LTD filed Critical GUANGZHOU JIANHE NETWORK TECHNOLOGY CO LTD
Priority to CN201210185886.2A priority Critical patent/CN102760159B/en
Publication of CN102760159A publication Critical patent/CN102760159A/en
Application granted granted Critical
Publication of CN102760159B publication Critical patent/CN102760159B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Processing Or Creating Images (AREA)
  • Information Transfer Between Computers (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

A kind of magazine formula article for mobile terminal screen is mixing method in full
Technical field
The present invention relates to data processing technique, particularly relate to a kind of magazine formula article for mobile terminal screen mixing method in full.
Background technology
Now for the article in full composition method of mobile terminal screen, its major part adopts the mode of drop-down WEB page and then realization.But adopt drop-down WEB page and then realize the article in full typesetting of mobile terminal screen, this mode is comparatively rigid, and causes that article typesetting is in full single and Consumer's Experience sense is low.
Summary of the invention
In order to solve the problems of the technologies described above, the object of this invention is to provide a kind of mixing method in full of the magazine formula article for mobile terminal screen of attractive in appearance and hommization.
The technical solution adopted in the present invention is: a kind of magazine formula article for mobile terminal screen is mixing method in full, and the method step comprises:
A, set up article data structure;
B, set up template page, described template page comprises Javascript typesetting algoritic module;
C, judge whether WEB control can be used, according to judged result and then the layout setting by client-side program, article being carried out in full to template page, or by Javascript typesetting algoritic module, article is carried out in full to the layout setting of template page.
Further, described step C comprises:
C1, judge whether WEB control can be used;
If C2 judged result is that WEB control is unavailable, then by client-side program, article is carried out in full to the layout setting of template page; Can use if judged result is WEB control, then utilize WEB control by Javascript typesetting algorithm template, article to be carried out in full to the layout setting of template page.
Further, described step C2, it is specially,
If judged result is that WEB control is unavailable, then by client-side program according to the screen specification of mobile terminal and default template configuration information, and then determine the article number of pages needed for template page typesetting in full and the mode of each page image mixed character typeset;
Can use if judged result is WEB control, then utilize WEB control by Javascript typesetting algoritic module according to the screen specification of mobile terminal and default template configuration information, and then determine the article number of pages needed for template page typesetting in full and the mode of each page image mixed character typeset.
Further, be horizontal layout between each page in described step C2.
Further, in described steps A, described article data structure comprises the version header of article, numbering, title, author, source, text and accompanying drawing.
Further, described accompanying drawing is a structure of arrays.
Further, in described step B, template page is provided with an edition head.
The invention has the beneficial effects as follows: because the present invention carries out layout setting by client-side program or employing Javascript typesetting algoritic module in full to article, therefore by adopting the present invention that article can be made to be presented on mobile terminal screen in image mixed character typeset mode in full, and then can greatly improve man-machine interaction experience and reading effect, and article data structure is established before in full layout setting is carried out to article, therefore without the need to again obtaining article full-text data, and then process simplification is made.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described further:
Fig. 1 is the method step figure of an embodiment of a kind of full text of the magazine formula article for mobile terminal screen of the present invention mixing method;
Fig. 2 is the method step figure of another embodiment of a kind of full text of the magazine formula article for mobile terminal screen of the present invention mixing method;
Fig. 3 is the first template page schematic diagram adopting a kind of full text mixing method of the magazine formula article for mobile terminal screen of the present invention and then generation;
Fig. 4 is the second template page schematic diagram adopting a kind of full text mixing method of the magazine formula article for mobile terminal screen of the present invention and then generation;
Fig. 5 is the 3rd template page schematic diagram adopting a kind of full text mixing method of the magazine formula article for mobile terminal screen of the present invention and then generation;
Fig. 6 is the 4th template page schematic diagram adopting a kind of full text mixing method of the magazine formula article for mobile terminal screen of the present invention and then generation.
Embodiment
Shown in Fig. 1 and Fig. 2, a kind of magazine formula article for mobile terminal screen is mixing method in full, and the method step comprises:
A, set up article data structure;
B, set up template page, described template page comprises Javascript typesetting algoritic module, and described Javascript typesetting algoritic module is that a kind of Webpage that allows is lived programming language typesetting algoritic module that is active and typesetting diversification more;
C, judge whether WEB control can be used, according to judged result and then the layout setting by client-side program, article being carried out in full to template page, or by Javascript typesetting algoritic module, article is carried out in full to the layout setting of template page.
From the above, the present invention is by client-side program or adopt Javascript typesetting algoritic module to carry out the layout setting of template page to article full text, therefore by adopting the present invention that article can be made to be presented on mobile terminal screen in image mixed character typeset mode in full, and then can greatly improve man-machine interaction experience and reading effect, and article data structure is established before in full template page layout setting is carried out to article, therefore without the need to again obtaining article full-text data, and then shortening article is presented on the time of this process on mobile terminal screen in image mixed character typeset mode in full and makes this process simplification greatly, article content in full can farthest present on the screen of the mobile terminal simultaneously.
Be further used as preferred embodiment, described step C comprises:
C1, judge whether WEB control can be used;
If C2 judged result is that WEB control is unavailable, then by client-side program, article is carried out in full to the layout setting of template page; Can use if judged result is WEB control, then utilize WEB control by Javascript typesetting algorithm template, article to be carried out in full to the layout setting of template page.
Be further used as preferred embodiment, described step C2, it is specially,
If judged result is that WEB control is unavailable, then by client-side program according to the screen specification of mobile terminal and default template configuration information, and then determine the article number of pages needed for template page typesetting in full and the mode of each page image mixed character typeset;
Can use if judged result is WEB control, then utilize WEB control by Javascript typesetting algoritic module according to the screen specification of mobile terminal and default template configuration information, and then determine the article number of pages needed for template page typesetting in full and the mode of each page image mixed character typeset.
Being further used as preferred embodiment, is horizontal layout between each page in described step C2, namely according to the screen specification of mobile terminal and then make article template page in full be divided into multiple page, and is horizontal layout between each page.Namely described horizontal layout is Lateral Navigation, and owing to adopting Lateral Navigation between each page, this page-turning effect just as thumbed through magazines the page, therefore more aobvious hommization.
Be further used as preferred embodiment, in described steps A, described article data structure comprises the version header of article, numbering, title, author, source, text and accompanying drawing.If in full just simple one or one group of article opens sheet, then article is considered as text is in full empty article.Described version header is title for identifying catalogue belonging to article or mark.
Be further used as preferred embodiment, described accompanying drawing is a structure of arrays, comprising one or more picture.
Be further used as preferred embodiment, in described step B, template page is provided with an edition head.
By shown in Fig. 3 to Fig. 6, it is all that the application of the invention carries out the effect schematic diagram after mixing to article version head in full, title, text and this four macroplate of picture, can find out that the application of the invention can make article typesetting diversification in full thus, and then greatly improve the experience sense of user's reading, and typesetting has more individual character.
More than that better enforcement of the present invention is illustrated, but the invention is not limited to described embodiment, those of ordinary skill in the art also can make all equivalent variations or replacement under the prerequisite without prejudice to spirit of the present invention, and these equivalent distortion or replacement are all included in the application's claim limited range.

Claims (4)

1., for a magazine formula article mixing method in full for mobile terminal screen, it is characterized in that: the method step comprises:
A, set up article data structure;
B, set up template page, described template page comprises Javascript typesetting algoritic module;
C, judge whether WEB control can be used, according to judged result and then the layout setting by client-side program, article being carried out in full to template page, or by Javascript typesetting algoritic module, article is carried out in full to the layout setting of template page;
Described step C comprises:
C1, judge whether WEB control can be used;
If C2 judged result is that WEB control is unavailable, then by client-side program, article is carried out in full to the layout setting of template page; Can use if judged result is WEB control, then utilize WEB control by Javascript typesetting algorithm template, article to be carried out in full to the layout setting of template page;
Described step C2, it is specially,
If judged result is that WEB control is unavailable, then by client-side program according to the screen specification of mobile terminal and default template configuration information, and then determine the article number of pages needed for template page typesetting in full and the mode of each page image mixed character typeset;
Can use if judged result is WEB control, then utilize WEB control by Javascript typesetting algoritic module according to the screen specification of mobile terminal and default template configuration information, and then determine the article number of pages needed for template page typesetting in full and the mode of each page image mixed character typeset;
Horizontal layout between each page in described step C2.
2. a kind of magazine formula article for mobile terminal screen mixing method in full according to claim 1, it is characterized in that: in described steps A, described article data structure comprises the version header of article, numbering, title, author, source, text and accompanying drawing.
3. a kind of magazine formula article for mobile terminal screen mixing method in full according to claim 2, is characterized in that: described accompanying drawing is a structure of arrays.
4. a kind of magazine formula article for mobile terminal screen mixing method in full according to claim 2, is characterized in that: in described step B, template page is provided with an edition head.
CN201210185886.2A 2012-06-06 2012-06-06 Magazine-type article full text mixed composition method for mobile terminal screen Active CN102760159B (en)

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 CN102760159A (en) 2012-10-31
CN102760159B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252444B (en) * 2013-06-27 2019-02-22 腾讯科技(北京)有限公司 A kind of composition method, module and the system of magazine application
CN108021599B (en) * 2016-10-31 2022-05-27 阿里巴巴集团控股有限公司 Method and device for providing page version header

Citations (4)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN102760159A (en) 2012-10-31

Similar Documents

Publication Publication Date Title
CN104298725B (en) The method that online courseware development system disposably edits input multi version output
US10380235B2 (en) Method and system for annotation and connection of electronic documents
CN104239305B (en) Generate and show the method and device of electronic document
CN104298721B (en) A kind of arbitrarily a object split screen layout edit methods of the online courseware development based on Web
CN1870732A (en) Method for setting interface of electronic card
CN102609401A (en) Webpage annotation method
CN104808903B (en) Text selection method and device
CN102662595A (en) Magazine graphic and context mixed composing method for mobile terminal screen
CN105069060A (en) Page typesetting method of HTML (Hypertext Markup Language) documents
CN104915186B (en) A kind of method and apparatus making the page
CN106610826A (en) Making method and device for online scenario application
CN103902722A (en) B/S (browser/server) based webpage display method and terminal
CN103020237A (en) Webpage updating method and device
CN104851333A (en) Copybook generating device and copybook imitating device equipped with same
CN104035676B (en) A kind of switching method and device of the page
CN107133206A (en) A kind of digital content makes and demonstration tool and its application
CN109446506A (en) A kind of method and apparatus that electronic spreadsheet table reproduces automatically
CN102760159B (en) Magazine-type article full text mixed composition method for mobile terminal screen
CN104516919B (en) One kind quotes annotation process method and system
US9256592B1 (en) System for detecting and correcting broken words
CN104572593A (en) Method, system and electronic device for processing letters
CN106780302A (en) A kind of digital picture automatic keyline layout method and device
CN102214177B (en) Method and device for vertically typesetting characters in label
CN103136186B (en) Phonetic composition method and device
CN104317600B (en) A kind of configurable curve drawing generating 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