Skip to main content

What data Tonos is using

Overview


Definition of terms

Data crawling - used for data extraction and refers to collecting data from either the world wide web, or in data crawling cases – any document, file, etc. Traditionally, it is done in large quantities, but not limited to small workloads. Therefore, usually done with a crawler agent.

Offer - composed of the Subscription Plan options that you want to present to the user. For example, you may offer users two Subscription Plan options, a 3-month membership or an annual membership which provides them access to the product(s) you have selected in the configuration of your Subscription Plans. Content itself is locked by the offer.

Page-Lock rules - conditions that you can set when creating the offer. These rules determine on which pages your offer will show according to the filters you set.

How and why?

In order for you to be able to select on which pages you want your offer to show, Tonos needs to crawl data from your application's pages.

This is possible through <meta> attributes in your pages. Tonos receives these key-value properties from your pages and saves them in our database.

After storing this information from your pages, you will be able to create Page-Lock rules when creating your offer, as these Page-Lock rules use the data received from the crawling process in order to filter your pages.

The meta attributes that Tonos receives from your page are:

  • Content ID: content_id - Your page's specific ID, which is used a second option for identifying your page, as the Tonos mobile app cannot access your page's URL directly.
  • Title: title, og:title, twitter:title
  • Description: description, og:description, twitter:description
  • Tag: tag
  • Article: tag
  • Keywords: keywords, news_keywords
  • Authors: article:author, author
  • Sections: article:section, section
  • PublishDate: article:published_time
HTML
<meta name="keywords" content="papirusi,mireseardhje,ideja" />
info

There is another meta tag which is used to notify Tonos when an article's content is changed or updated. This tag indicates the last time the article was changed or updated. If you want to use the article re-crawler, then this tag should be present in your meta tags.

<meta http-equiv="last-modified" content="5/20/2018 11:22:56 AM" />

With that in mind, make sure to include these tags in the <head> section of your page, otherwise you will not be able to display offers in your pages.