CN112765522B - Digital newspaper content generation method, system and computer readable storage medium - Google Patents

Digital newspaper content generation method, system and computer readable storage medium Download PDF

Info

Publication number
CN112765522B
CN112765522B CN202110088924.1A CN202110088924A CN112765522B CN 112765522 B CN112765522 B CN 112765522B CN 202110088924 A CN202110088924 A CN 202110088924A CN 112765522 B CN112765522 B CN 112765522B
Authority
CN
China
Prior art keywords
content
template
digital newspaper
article
elements
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
CN202110088924.1A
Other languages
Chinese (zh)
Other versions
CN112765522A (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.)
Hangzhou Qianqian Information Technology Co ltd
Original Assignee
Hangzhou Qianqian Information 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 Hangzhou Qianqian Information Technology Co ltd filed Critical Hangzhou Qianqian Information Technology Co ltd
Priority to CN202110088924.1A priority Critical patent/CN112765522B/en
Publication of CN112765522A publication Critical patent/CN112765522A/en
Application granted granted Critical
Publication of CN112765522B publication Critical patent/CN112765522B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention discloses a method, a system and a computer readable storage medium for generating digital newspaper content, wherein the method comprises the following steps: acquiring content elements, wherein the content elements comprise circulating elements, entity elements and auxiliary optional elements; template resources are obtained, and structured digital newspaper templates of different types are respectively manufactured according to the content elements; setting the digital newspaper template to be of a media type for distribution of different media channels; loading a digital newspaper template according to the media type, embedding the content element into the digital newspaper template, wherein the content element is used for adding or replacing a corresponding field in the digital newspaper template to generate a digital newspaper layout with at least one digital newspaper template; and distributing different digital newspaper layouts to the media of the corresponding channels according to the media types. The invention separates the data and the program through the structured template language, and can realize the transformation and use of different newspaper template styles without modifying the program.

Description

Digital newspaper content generation method, system and computer readable storage medium
Technical Field
The present invention relates to the field of internet information technology, and in particular, to a method, a system, and a computer readable storage medium for generating digital newspaper content.
Background
With the popularization of the internet and the rapid development of information technology, digital newspapers and periodicals are becoming an important information distribution channel for media units such as newspaper houses and journal houses as an internet transmission medium, and how to rapidly generate high-quality digital newspaper contents and rapidly spread the digital newspaper contents on the internet is a very critical and important problem for the media units.
Digital newspapers and periodicals currently exist in various forms on the internet. One common form of content is a digital newspaper consisting of dynamic script web pages, which typically have file suffix names such as ASP, JSP, PHP, and essentially have background language scripts embedded in HTML format web pages, such as JSP format dynamic web pages embedded Java script, and ASP format dynamic web pages typically embedded c# script. The dynamic Web browser cannot be directly identified, a special website background application program is required to be analyzed and processed to generate a standard HTML Web page, the standard HTML Web page is then sent to a client through a Web server such as IIS, apache and the like, the client browser can interpret and display the standard HTML Web page, and readers can read the digital newspaper contents.
The digital newspaper in the dynamic webpage form is not required to be generated and cached in advance, so that the occupied server file space is small, and the method is suitable for the conditions that the user quantity of digital newspaper readers in media units is small and the digital newspaper style is not changed. But the main problems are: the newspaper content is generated in real time at the background of the website, a large amount of server resources such as CPU calculation are required to be consumed, the real-time content generation efficiency is low, the concurrent access speed is low, the user response is not timely, and the other problem is that the system maintenance is difficult and the maintenance cost is high. Because the background language script is mixed in the dynamic webpage content, on one hand, maintenance personnel are required to be familiar with the background script formed by Java, C# and other languages, the script writing method is complex, errors are very easy to occur, debugging and debugging are difficult, and difficult to grasp. Many news units have located digital newspapers as a fast-changing and fast-propagating internet medium, which is not suitable for the manner in which such digital newspapers are generated.
Disclosure of Invention
One of the objects of the present invention is to provide a method, a system and a computer readable storage medium for generating digital newspaper content, wherein the method and the system have a mechanism for generating the digital newspaper content in a pure static state at one time.
Another object of the present invention is to provide a method, a system, and a computer readable storage medium for generating digital newspaper content, where the method and the system digital newspaper template are independent of the system application program, and are completely separated from the system, and only the digital newspaper template is modified, and the system application program does not need any code modification, and only a new digital newspaper template type is added to add a new media channel, so that the maintenance and use of the digital newspaper are convenient, and the maintenance cost is low.
Another object of the present invention is to provide a method, a system, and a computer readable storage medium for generating digital newspaper content, which can freely control the generation process of the digital newspaper content through a template language, precisely control the output and generation of all the attributes of each content element of the digital newspaper, and completely meet the demands of news media units on diversification and free customization of the digital newspaper content.
Another object of the present invention is to provide a method, a system, and a computer readable storage medium for generating digital newspaper content, where multiple types of content elements are set on templates of the method and the system, and according to types of digital newspaper, the settings include, but are not limited to, physical elements, cyclic elements, and optional elements, and the elements are input in an embedded manner to generate a newspaper, so that efficiency of newspaper generation is considered on one hand, and diversity of newspaper boards and content is considered on the other hand.
Another object of the present invention is to provide a method, system, and computer-readable storage medium for generating digital newspaper contents, which automatically define and store types of digital newspaper after setting the content elements, so that no manual setting is required, and efficiency of deployment is improved on the whole layer of the newspaper.
Another object of the present invention is to provide a method, a system, and a computer readable storage medium for generating digital newspaper content, which generate digital newspaper template types adapted to different terminals through the above templates, and distribute digital newspaper content through corresponding channels without developing the system for different terminals, thereby reducing the cost of generating and maintaining digital newspaper.
In order to achieve at least one of the above objects, the present invention further provides a digital newspaper content generating method, comprising the steps of:
acquiring content elements, wherein the content elements comprise circulating elements, entity elements and auxiliary optional elements;
template resources are obtained, and structured digital newspaper templates of different types are respectively manufactured according to the content elements;
setting the digital newspaper template to be of a media type for distribution of different media channels;
loading a digital newspaper template according to the media type, embedding the content element into the digital newspaper template, wherein the content element is used for adding or replacing a corresponding field in the digital newspaper template to generate a digital newspaper layout with at least one digital newspaper template;
and distributing different digital newspaper layouts to the media of the corresponding channels according to the media types.
According to another preferred embodiment of the invention, the template resources comprise CSS style templates and picture resources, the template resources are in UTF-8 coding format, and after the construction of the digital newspaper layout is completed, the template resources output pure static HTML webpages.
According to another preferred embodiment of the present invention, the entity element includes an entity element name, and the entity element name format is: and the entity element names # are divided into layout classes, article classes and title navigation classes.
According to another preferred embodiment of the present invention, the cyclic elements are embedded into the corresponding digital newspaper templates according to the contents circularly output by the digital newspaper layout, wherein the format of the cyclic elements is as follows: < npm > cyclic element name > </npm > cyclic element name >, the cyclic element comprises a layout list, an article list and an article drawing list.
According to another preferred embodiment of the present invention, it is determined whether the digital newspaper layout has a conditional optional output content, and if the conditional optional output content exists, an auxiliary optional element is embedded in a template of the corresponding digital newspaper layout, where the format of the auxiliary optional element is as follows: "< option: auxiliary selectable element name > </option: auxiliary selectable element name >", the auxiliary selectable element including an article illustration, an article video.
According to another preferred embodiment of the present invention, according to the content elements required by the digital newspaper layout, the corresponding content elements are embedded into a template to generate at least one template page including a top page template page, a layout template page, an article template page and an insert template page, the template page is stored as a template of the digital newspaper, and the digital newspaper model of the stored at least one template page is provided with a media type, and distribution channels are distributed according to the media type.
According to another preferred embodiment of the present invention, the method for generating a digital newspaper layout further includes the following steps:
s01: judging the type of the digital newspaper and loading a corresponding digital newspaper template according to the type of the digital newspaper;
s02: loading at least one of a first page template page, a layout template page, an article template page and an insert template page according to the digital newspaper template;
s03: acquiring circulating element data content and auxiliary selectable element content in a content element;
s04: sequentially embedding the circulating elements and auxiliary optional elements in the selected content elements into the fields corresponding to the template pages;
s05: embedding and replacing corresponding element contents according to the fields;
s06: judging whether the unloaded template page exists or not, and if not, outputting the replaced pure static HTML webpage.
According to another preferred embodiment of the present invention, the method for generating a digital newspaper layout further includes a method for circularly sleeving content elements, including the following steps:
s011: acquiring a circulation element and an auxiliary optional element which need to be embedded and replaced in the content element;
s012: judging positions of the circulating elements and the auxiliary optional elements, wherein the positions are sequentially from inside to outside: article content, article drawings, article list, article category;
s013: and embedding and replacing the circulation elements in sequence, wherein the circulation elements are corresponding to the replaced circulation elements in the article content, the article drawing, the article list and the article category.
S014: if the article content, the article drawing, the article list and the article category respectively have conditional optional output content; embedding the auxiliary selectable elements into and replacing corresponding content elements in the article content, the article drawing, the article list and the article category in sequence;
and S015, storing and distributing the content elements in the article content, the article drawing, the article list and the article category to corresponding media after completing replacement.
According to another preferred embodiment of the present invention, if it is determined that a plurality of digital newspaper pages exist on the template page, the steps S03-S05 are repeatedly executed until all the digital newspaper pages corresponding to the template page are output.
According to another preferred embodiment of the present invention, if it is determined that the template page has an unloaded page, the steps S03-S06 are repeatedly performed until all the template pages are processed.
In order to achieve at least one of the above objects, the present invention further provides a digital newspaper content generating system, which adopts the above method for generating digital newspaper content.
In order to achieve at least one of the above objects, the present invention further provides a computer-readable storage medium employing a digital newspaper content generating system as described above.
Drawings
FIG. 1 is a flow chart of a method for generating digital newspaper content according to the present invention;
FIG. 2 is a schematic diagram showing a technical process of template making in a method for digital newspaper content according to the present invention;
FIG. 3 is a schematic diagram showing a technical flow of newspaper template setting in a method of digital newspaper content according to the present invention;
fig. 4 is a schematic diagram of a technical flow for automatically generating digital newspaper content in a method of the present invention.
Detailed Description
The following description is presented to enable one of ordinary skill in the art to make and use the invention. The preferred embodiments in the following description are by way of example only and other obvious variations will occur to those skilled in the art. The basic principles of the invention defined in the following description may be applied to other embodiments, variations, modifications, equivalents, and other technical solutions without departing from the spirit and scope of the invention.
It will be appreciated by those skilled in the art that in the present disclosure, the terms "longitudinal," "transverse," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," etc. refer to an orientation or positional relationship based on that shown in the drawings, which is merely for convenience of description and to simplify the description, and do not indicate or imply that the apparatus or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore the above terms should not be construed as limiting the present invention.
It will be understood that the terms "a" and "an" should be interpreted as referring to "at least one" or "one or more," i.e., in one embodiment, the number of elements may be one, while in another embodiment, the number of elements may be plural, and the term "a" should not be interpreted as limiting the number.
Referring to fig. 1-4, the present invention discloses a method, a system and a computer readable storage medium for generating digital newspaper content, wherein the method for generating digital newspaper content uses a pure static HTML web page as a basis for the processing of the present invention, and by pre-manufacturing various digital newspaper template pages, the distribution of digital newspaper can be performed only by replacing the related content in the template pages, so that the manufacturing efficiency of digital newspaper can be greatly improved.
Specifically, when the digital newspaper template page is manufactured, a template resource file needs to be obtained, wherein the template resource file comprises a digital newspaper style file, the style file comprises a first page, a layout page, an article page and other style files used for forming digital newspaper contents, the style file can output webpage contents in a pure static HTML format, the template resource file is preferably a file coded in UTF-8 format, and the template resource file also comprises, but is not limited to, complete all files such as CSS style, picture resource and the like.
Further, the digital newspaper content generating method obtains different content elements according to the user requirements, wherein the content elements comprise entity elements, circulation elements and auxiliary optional elements, and the entity elements, the circulation elements and the auxiliary optional elements replace corresponding content in the digital newspaper in an embedded mode.
The entity element is a text or picture which is not easy to change in the digital newspaper, such as newspaper name in the digital newspaper, title navigation of the digital newspaper, layout description of the digital newspaper, article marking description and other common fixed entity contents, and the entity element is a content which is necessary to exist in specific content or layout of the corresponding newspaper, and the specific format of the entity element in a program is as follows: entity element name #. For example: the name of the entity element is newspaper name, and the corresponding code format data is: the name word in the newspaper name can be replaced according to the actual newspaper name content, such as Xinhua society, people daily newspaper and the like, and when different newspapers exist, the entity elements are replaced by embedding the format data in the corresponding templates.
The circulation element is newspaper content which needs to be circulated and output, such as a layout list, an article drawing list and the like, and the embedded data of the auxiliary circulation element has the following format: < npm > the name of the circulation element (npm) the name of the circulation element, for example, if the circulation element is an article list, the corresponding data code format is < npm > the article list (npm) the article list, the circulation element of the newspaper template page can be replaced by embedding the circulation element into the data format, and the circulation modification output of the layout list, the article list and the article drawing list can be completed.
The auxiliary selectable element is a conditional outputtable content existing according to newspaper texts, wherein the conditional outputtable content newspaper is not limited to the content such as additional pictures, additional images, additional videos, additional audios, additional links and the like in the templates, that is, the multimedia content such as the additional pictures, the additional images, the additional videos, the additional audios, the additional links and the like is selectively added according to the user requirements under the original text content in the templates, and when the user clicks to enter the corresponding template, the multimedia content is automatically displayed, and the code format of the embedded data of the auxiliary selectable element is as follows: < option: optional element name > </option: optional element name >, for example: when the auxiliary optional element is an article illustration, the corresponding data format is: < option: video > </option: video >. The auxiliary selectable elements corresponding to the template page of the newspaper can be replaced through the embedded data format of the auxiliary selectable elements, so that the modification output of the multimedia contents such as the additional pictures, the additional images, the additional videos, the additional audio, the additional links and the like is completed.
It should be noted that, the output of the circulation element, the auxiliary optional element and the entity element is a pure static HTML webpage, the entity element, the auxiliary optional element and the circulation element are embedded into a template file to form template pages including but not limited to a front page template page, a layout template page, an article template page, an insert template page, and the like, the various template pages are made into digital newspaper templates according to the types and the number of the template pages required by the digital newspaper, the made digital newspaper templates are stored, and media types are set for the digital newspaper templates, wherein the media types can be divided into a mobile phone template, a PC template, and the like, and after the media types of the digital newspaper templates are determined, the digital newspaper templates are distributed to corresponding media channels after the content is made.
It should be noted that after the template of the digital newspaper is manufactured, the digital newspaper content is further automatically generated, and the method for automatically generating the digital newspaper comprises the following steps:
s01, firstly determining a media type, and loading a corresponding digital newspaper template according to the media type;
s02, loading template pages of the digital newspaper, wherein the template pages comprise a first page template page, a layout template page, an article template page and an insert template page;
s03, sequentially embedding the circulating elements and auxiliary optional elements in the selected content elements into fields corresponding to the template pages;
s05: embedding and replacing corresponding element contents according to the fields;
s06: judging whether the unloaded template page exists or not, and if not, outputting the replaced pure static HTML webpage.
And after outputting the generated pure static HTML webpage, distributing corresponding channels according to the digital newspaper media types in the pure static HTML webpage.
If the application of a plurality of newspapers exists in the template detected through the program, the step S03-S05 can be executed circularly until all the newspapers are processed; if the template page is judged to have the unloaded page, repeating the steps S03-S06 until all the template pages are processed.
In the step S03, the content which is not easy to change, such as newspaper name, title navigation of digital newspaper, layout description of digital newspaper, article labeling description, etc., may be embedded and replaced by the corresponding entity element according to the content which is determined in the template page, for example, in a fixed template, the newspaper name of the same template may not be changed, if the newspaper names in another digital newspaper template are different, the conversion from one newspaper template to another newspaper template is required, and if the replaced field or content does not exist in the template data, the conversion of the newspaper template may be performed by the embedding and replacing of the entity element.
In the step S03, the circulating element is generally content that needs to be cyclically changed, such as a layout list, an article list, and an article drawing list, and when the content of the digital newspaper needs to be added, modified, replaced, or the like, the corresponding layout list, article list, and article drawing list are also changed, so that the circulating element is required to cyclically replace the changed layout list, article list, and article drawing list, and it is required to be described that the circulating element may include the above entity element, for example, when the circulating element is an article list, the article list may have corresponding entity content, where the entity content includes entity content such as an article title, an article author, and an icon in the article list, and after the entity replacement inside the article is completed, the replacement of the circulating element is further performed.
After the embedding replacement of the circulation element is completed, the embedding replacement of the auxiliary selectable element is executed, the content of the auxiliary selectable element which needs to be prepared for replacement is first selected, the content which needs to be replaced in the digital newspaper is searched, the auxiliary selectable element replaces the content which needs to be replaced in the embedding replacement mode, wherein the content which needs to be replaced comprises entity elements and circulation elements, generally, the auxiliary selectable element is information such as an article illustration, an article video and the like, and if the article of the attached video or the article of the attached video needs to be output according to the requirement of a user or the condition of the article output, the corresponding field or the attached video in the article is replaced in the embedding replacement mode through the selected auxiliary selectable element, so that the newspaper outputs the article of the attached video. In another preferred embodiment of the present invention, because the auxiliary selectable element may have entity information such as a title, a name, a link, etc., the selected entity element or the circulation element is adopted to replace the entity element in the auxiliary selectable element, so that the drawing article meeting the requirements is finally output.
It should be noted that the entity element may exist alone, such as a newspaper name, and the layout name may be directly replaced by the selected entity element, or the entity element may be set in a circulation element or an auxiliary optional element according to a requirement or an output condition, so that the whole replacing process may better meet the requirement of a user.
In one preferred embodiment of the invention, the method can be replaced according to the typesetting of the newspaper in a nested circulation mode, wherein the nested circulation is executed from the inside to the outside of the digital newspaper, and the method comprises the following steps of:
s011: acquiring a circulation element and an auxiliary optional element which need to be embedded and replaced in the content element;
s012: judging positions of the circulating elements and the auxiliary optional elements, wherein the positions are sequentially from inside to outside: article content, article drawings, article list, article category;
s013: and embedding and replacing the circulation elements in sequence, wherein the circulation elements are corresponding to the replaced circulation elements in the article content, the article drawing, the article list and the article category.
S014: if the article content, the article drawing, the article list and the article category respectively have conditional optional output content; embedding the auxiliary selectable elements into and replacing corresponding content elements in the article content, the article drawing, the article list and the article category in sequence;
and S015, storing and distributing the content elements in the article content, the article drawing, the article list and the article category to corresponding media after completing replacement.
It should be noted that the above nesting cycle enables the digital newspaper to automatically and circularly execute the embedding replacement operation of the corresponding content elements from inside to outside, so that the digital newspaper can adapt to the reading requirement of complex user newspapers and periodicals, and the satisfaction degree of users is improved.
The above embodiment of the invention achieves the following technical effects: the digital newspaper generating system realized by the method and the mechanism can independently and freely design the format and the style of the digital newspaper, and the design of the newspaper template is realized without any change to the program code of the background generating system, so the design cost of the style of the digital newspaper is extremely low. After the system is online, the display style and user experience of the digital newspaper can be changed and improved at any time, the template can be directly replaced, the system can immediately take effect to automatically generate the digital newspaper content, and the maintenance cost of the system is extremely low.
The digital newspaper and the method realize the accurate output and accurate control of the digital newspaper content and data, and can accurately control the output of all content elements of the digital newspaper through the digital newspaper template and the template language, including all contents from newspaper period, stacking, layout, articles to pictures and the like, and each detail for controlling the content attribute output of the elements. For example, a user can control the output display mode of the article through a template language mechanism, and also can control the output and display of the title, the introduction, the subtopic, the author, the drawing and other attributes of each article. All of these controls and modifications have no effect on the program system and the template modifications will take effect immediately after storage.
The static output of the digital newspaper content is realized. The digital newspaper content has the advantages of extremely simple deployment of a content site, no need of a background application program, direct transmission of the content, quick system response, high concurrent access efficiency, easy content distribution and easy caching, and can be directly read through a browser due to the pure static webpage, thereby facilitating direct utilization of readers.
The automatic generation of the digital newspaper content and the efficient release of the newspaper content are realized, and the newspaper templates of different media types can be simultaneously arranged, so that one newspaper can be allowed to automatically generate the media content of different media release channels at one time, and the digital newspaper content of different media channels such as a mobile newspaper, a computer newspaper and the like can be automatically and efficiently generated at one time.
The invention further discloses a template element table defined by the digital newspaper template language:
Figure BDA0002911713040000091
/>
Figure BDA0002911713040000101
different entity elements, circulation elements and auxiliary optional elements can be embedded and replaced through the table, high-efficiency standardized automatic generation of the digital newspaper can be realized, and subsequent system maintenance is facilitated.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program comprising program code for performing the method shown in the flowcharts. In such embodiments, the computer program may be downloaded and installed from a network via a communication portion, and/or installed from a removable medium. The above-described functions defined in the method of the present application are performed when the computer program is executed by a Central Processing Unit (CPU). It should be noted that the computer readable storage medium described in the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wire segments, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It will be understood by those skilled in the art that the embodiments of the present invention described above and shown in the drawings are merely illustrative and not restrictive of the current invention, and that this invention has been shown and described with respect to the functional and structural principles thereof, without departing from such principles, and that any modifications or adaptations of the embodiments of the invention may be possible and practical.

Claims (10)

1. A method for generating digital newspaper content, the method comprising the steps of:
acquiring content elements, wherein the content elements comprise circulating elements, entity elements and auxiliary optional elements;
template resources are obtained, and structured digital newspaper templates of different types are respectively manufactured according to the content elements;
setting the digital newspaper template to be of a media type for distribution of different media channels;
loading a digital newspaper template according to the media type, embedding the content element into the digital newspaper template, wherein the content element is used for adding or replacing a corresponding field in the digital newspaper template to generate a digital newspaper layout with at least one digital newspaper template;
distributing different digital newspaper layouts to the media of the corresponding channels according to the media types;
embedding corresponding content elements into a template according to the content elements required by the digital newspaper layout to generate at least one template page including a first page template page, a layout template page, an article template page and an insert template page, storing the template page as a template of the digital newspaper, setting a media type of the stored digital newspaper model of the at least one template page, and distributing distribution channels according to the media type;
the template resources comprise CSS style templates and picture resources, the template resources are in UTF-8 coding format, and after the construction of the digital newspaper layout is completed, the template resources output a pure static HTML webpage.
2. The method for generating digital newspaper content as recited in claim 1 wherein the entity element comprises an entity element name, the entity element name being in a format of: and the entity element names # are divided into layout classes, article classes and title navigation classes.
3. The method for generating digital newspaper content according to claim 1 wherein the cyclic elements are embedded in the corresponding digital newspaper templates according to the content circularly output by the digital newspaper layout, wherein the format of the cyclic elements is as follows: < npm > cyclic element name > </npm > cyclic element name >, the cyclic element comprises a layout list, an article list and an article drawing list.
4. The method for generating digital newspaper content according to claim 1 wherein determining whether there is a conditional alternative output content in the digital newspaper layout, if there is a conditional alternative output content, embedding an auxiliary alternative element in a template of a corresponding digital newspaper layout, the format in which the auxiliary alternative element is embedded is: "< option: auxiliary selectable element name > </option: auxiliary selectable element name >", the auxiliary selectable element including an article illustration, an article video.
5. The method for generating digital newspaper content as recited in claim 1 wherein the method for generating the digital newspaper layout further comprises the steps of:
s01: judging the type of the digital newspaper and loading a corresponding digital newspaper template according to the type of the digital newspaper;
s02: loading at least one of a first page template page, a layout template page, an article template page and an insert template page according to the digital newspaper template;
s03: acquiring circulating element data content and auxiliary selectable element content in a content element;
s04: sequentially embedding the circulating elements and auxiliary optional elements in the selected content elements into the fields corresponding to the template pages;
s05: embedding and replacing corresponding element contents according to the fields;
s06: judging whether the unloaded template page exists or not, and if not, outputting the replaced pure static HTML webpage.
6. The method for generating digital newspaper content as recited in claim 5 wherein the method for generating digital newspaper layout further comprises a method for circular sleeving of content elements, comprising the steps of:
s011: acquiring a circulation element and an auxiliary optional element which need to be embedded and replaced in the content element;
s012: judging positions of the circulating elements and the auxiliary optional elements, wherein the positions are sequentially from inside to outside: article content, article drawings, article list, article category;
s013: embedding and replacing the circulation elements in sequence, wherein the circulation elements are replaced by the circulation elements which are replaced and correspond to the article contents, the article drawings, the article lists and the article categories;
s014: if the article content, the article drawing, the article list and the article category respectively have conditional optional output content; embedding the auxiliary selectable elements into and replacing corresponding content elements in the article content, the article drawing, the article list and the article category in sequence;
and S015, storing and distributing the content elements in the article content, the article drawing, the article list and the article category to corresponding media after completing replacement.
7. The method of claim 5, wherein if a plurality of digital newspaper pages exist on the template page, repeating the steps S03-S05 until all the digital newspaper pages corresponding to the template page are output.
8. The method according to claim 5, wherein if it is determined that the template page has an unloaded page, the steps S03-S06 are repeated until all the template pages are processed.
9. A digital newspaper content generating system, characterized in that the system employs a digital newspaper content generating method as claimed in any one of the preceding claims 1-8.
10. A computer readable storage medium, wherein the computer readable storage medium employs a digital newspaper content generating system as recited in claim 9.
CN202110088924.1A 2021-01-22 2021-01-22 Digital newspaper content generation method, system and computer readable storage medium Active CN112765522B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110088924.1A CN112765522B (en) 2021-01-22 2021-01-22 Digital newspaper content generation method, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110088924.1A CN112765522B (en) 2021-01-22 2021-01-22 Digital newspaper content generation method, system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112765522A CN112765522A (en) 2021-05-07
CN112765522B true CN112765522B (en) 2023-04-28

Family

ID=75706046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110088924.1A Active CN112765522B (en) 2021-01-22 2021-01-22 Digital newspaper content generation method, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112765522B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114841648B (en) * 2022-05-19 2023-05-09 北京百度网讯科技有限公司 Material distribution method, device, electronic equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002003238A1 (en) * 2000-07-04 2002-01-10 Oks Gmbh Automatic creation of publishing documents over the internet
CN106326306A (en) * 2015-07-03 2017-01-11 湖南科兴达信息科技有限公司 Technology of generating digital newspaper by automatically recognizing PDF file

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2007210092B2 (en) * 2006-01-27 2011-08-18 Unz.Org. Llc Presenting digitized content on a network
CN101304474B (en) * 2008-06-11 2010-06-02 天栢宽带网络科技(上海)有限公司 System on set-top box platform for generating television newspaper and magazine
CN101751379B (en) * 2008-12-02 2012-01-11 北大方正集团有限公司 Method and equipment for manufacturing electronic newspaper document
CN102110109B (en) * 2009-12-28 2014-04-09 北大方正集团有限公司 Digital report topic making method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002003238A1 (en) * 2000-07-04 2002-01-10 Oks Gmbh Automatic creation of publishing documents over the internet
CN106326306A (en) * 2015-07-03 2017-01-11 湖南科兴达信息科技有限公司 Technology of generating digital newspaper by automatically recognizing PDF file

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈凯 ; 王宇光 ; .数字报刊暨跨媒体出版系统解决方案.中国报业.2006,(04),全文. *

Also Published As

Publication number Publication date
CN112765522A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
KR101824222B1 (en) Fast rendering of websites containing dynamic content and stale content
CN108415702B (en) Dynamic rendering method and device for application interface of mobile terminal
TWI394051B (en) Web page rendering priority mechanism
US10678406B1 (en) Conversational user interface design
CA2817554A1 (en) Mobile content management system
CN103761277A (en) ePub electronic book loading method and system
US10740367B2 (en) Displaying an indication of changes made to content at a source
CN111294395A (en) Terminal page transmission method, device, medium and electronic equipment
Gottfried et al. Drawsocket: A browser based system for networked score display
CN112765522B (en) Digital newspaper content generation method, system and computer readable storage medium
JP2022518645A (en) Video distribution aging determination method and equipment
CN116954450A (en) Screenshot method and device for front-end webpage, storage medium and terminal
Whittaker Producing for Web 2.0: a student guide
CN111367514A (en) Page card development method and device, computing device and storage medium
CN113190316A (en) Interactive content generation method and device, storage medium and electronic equipment
CN110647327B (en) Method and device for dynamic control of user interface based on card
Roussel et al. Web-based cooperative document understanding
Moreto et al. Bootstrap 4–responsive web design
CN112947912A (en) Method and device for generating code, electronic equipment and storage medium
CN110855562A (en) Internet of things data distribution management method and system, storage medium and management terminal
CN111273903A (en) Webpage making method and device, computer equipment and computer storage medium
CN115756692A (en) Method for automatically combining and displaying pages based on style attributes and related equipment thereof
US10402482B2 (en) Content management system
US20200394152A1 (en) Digital design application plugin for content updates and delivery
CN111913703A (en) Object editing method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant