Data Parsing to Generate ePaper

Categories : Article, Dot Net Development

What is data parsing?

Breaking files content into smaller unit by following a set of rules, so that it can be more easily translate and managed by system.

How does data parsing work?

Extract unstructured files from source files to destination files and make it structural format. Also, data parsing will provide function such as read XML files, find the specific file inside data source, convert one file into other format, set new schema for XML format.

What are the problems & challenges?

The existing system was supplied with inputs from different platforms and in different file formats. The requirement was to build an intelligent system which would read such inputs and collate them into a standard XML file format which would have more friendly tags and well-tagged information.


Challenges while creating data parsing solution:

  • Low-quality images in existing input sources.
  • Some articles attributes are overlapping during the parsing process so to identify exact attribute is quite difficult.
  • Some news article’s contour are overlapping on each other while getting the output of files.
  • Some Attributes of an article are missing when displaying out put of epaper.
  • To identify additional Ads and merge that ads in advertisement section of epaper.
  • Rearranging page sequence.


Existing system scenario:

There are four main input data sources which contain ‘n’ number of data and files. Input file sources Contain files and data which help to get the output of the epaper. Input sources contain a different type of data and files such as Zip file, InDesign file, SQL DB, and quark file.
Zip file contains image, pdf, and media files. All these input data sources having different type of a structure and schema. So to make data and files in a common structure format we have create data parsing adapter and use this customize data parsing adapter for data parsing.

Data parsing adapter creation and implementation:

We have created a parsing adapter to parse stored files and data. Created adapter fetched all sources file and data from file server which is a source define path to our file server.
Sources files are stored in unstructured format inside those folders. Created adapter helps to extract all those files, and also helps to read XMLfiles. After reading XML file adapter assist to find pdf file inside data source and convert that pdf file into image. After completion of image conversion adapter support to generate XML in a predefine schema format and split into multiple articles.

Steps of implemented solution:

  • Step 1: Copy and extract files from the file server to our server.
  • Step 2: Parsing adapter helps to read existing XML file to identify the pdf file, article details with their content ex. news, author, images, publisher etc. and position of articles. Also we are handled different type of attribute like Page, Product Name, Zone, Edition, Datetime, PreviousPage, NextPage, ImageUrl, PdfUrl, ArticleObject, Contour, ArticleType, ImageObjectName, ImageOwnerName, Source, Agency, Biline, Roof, Heading, Subheading, PhotoUniqueId, Version, SeePage, Location, Author, Agency and Content etc.
  • Step 3: Parsing adapter finds apdf file with the help of XML file and starts trimming of those pdf files. It also helps to generate high-resolution pdf and images.
  • Step 4: Also, it assists to generate standard XML for each article and advertisements with their content and images.
  • Step 5: Crop high-resolution images into a small unit which helps to view the article in a details format.
  • Step 6: We used Raster image for the clear and readable format of an article.

Output of Solution

  • Provided solution helps to convert PDF into high-quality readable image and raster.
  • Wrote standard schema to validate the unstructured XML and provide aninterface to correct articles.
  • Created interface to correct contour and content in theinput sources as well as change the page sequence.
  • The solution is provided for the page rendering and merging in interface.
[Total: 1    Average: 5/5]

Client Saying

Chad Gundry, the CEO of says that he has worked extensively with Brainvire team since last 6 to 7...
Mr. Chad Gundry
We have dealt with a lot of web development firms and other tech support companies, none come close to Brainvire....
Mr. Matthew
When the world was moving at a very speedy pace, Brainvire helped us stay connected. Thanks to their unique services...
Travis French
I am truly happy with Brainvire’s exceptional service. Whenever I had a question they answered it without delay. With extreme...
Mr. Richard Desilva
Daniel Coburn, the president of gives the honest opinion regarding his experience working with Brainvire for developing his social...
Mr. Daniel Coburn

Latest Happenings

  • 04 Oct 2016
    Brainvire Making great Strides with Symfony Development Services [ + ]
  • 29 Sep 2016
    Brainvire augments its List of Offerings with Magento Sears Integration Services [ + ]