9
Sep

Various structured data types to create your own criteria of your comparison

No Comments Posted by : Vanina Category : Tutorials

SocialCompare handles structured data, that means that we try to differentiate simple text from more specific text such as date, currency…etc.

We believe that it is more interesting to compare structured data, to be able to filter them according to the type or use specific tool dedicated to this type such as currency converter or date picker, or even show movie from a video link.

Here are the current list of existing data types that SocialCompare manages:

First, there is a default criteria type that is created and used for any comparison, that is to say :

  • Last update date
    This type is not editable and is automaticaly updated. It shows the last update time of content.


Second, the more commun or generic criteria that could be used to handle almost everything is:

  • Text
    This type allows to set text information.

Then the more classical criteria that we uses in comparison matrix are boolean values, that means yes or no choices. The advantage to use this criteria compared to the previous one “Text”, is that it will automatically translates the values to other languages. Indeed, when you answer “yes” or “no”, it will be exactly the same anwser in any other language. SocialCompare will just needs to translate once “yes/no” terms in other languages. So this criteria is multilingual naturally.

  • Yes/No
    This type allow to set either ‘Yes’ or ‘No’.

Finally, here are all other criteria that we already implemented:

  • Numeric
    This type allows to restrict to numeric values.
  • Date
    This type allows to restrict values to a date.
  • Date and time
    This type allows to restrict values to a date with time.
  • List
    This type allows to restrict values to a list of choice.
  • Web link
    This type allows to restrict values to an internet address (http, https, ftp).
  • Image
    This type allows to restrict values to an image address on internet (http).
  • Video link
    This type allows to store video links. When you click on a video thumbnail, the video plays directly on SocialCompare.
  • Sound link
    This type allows to store sound links.
  • Currency
    This type allows to store amounts with a specified currency. You can type currency shortcuts such as EUR, USD…etc. The list of currencies codes is available on wikipedia.
  • Vote
    This type allows viewers to vote for the contents they would like to promote. The promotion of a content is not exclusive, a user can promote several contents.
  • Rating
    This type allows viewers to rate the content on a defined criteria.
  • Criteria category
    This type does not have any associated value. It lets you organize criteria by category for a more readable comparison table.
  • Table header
    This type is not editable and is automaticaly updated. It shows the items names.
  • Unit
    This type allows to store numeric value with an associated unit, such as cm, m, g…

We did not finish to handle all the different data types that we plan to do.

For example, in a future release, we would like to handle “google maps” criteria, to be able to add some geo tags and maps in your comparison…

If you are thinking about another data type that you would love to have, please feel free to suggest us!

Tags : ,

Leave a Reply