SSIX - Social Sentiment Indices powered by X-Scores

In these days, SSIX is integrating a new type of sources into the platform, that will capture information from generic news feeds (or web feeds). This will allow to perform data ingestion from external websites exposing public feeds, like the ones provided by Google News, Yahoo Finance and other news aggregators or publishers, which give access to the latest published news or articles.

Two main types of news feeds are available to the community: RSS and Atom. Let’s understand together which are the main differences between these two standards.

First of all, a feed is a document, often XML-based, whose discrete content items include web links to the source of the content (https://en.wikipedia.org/wiki/Web_feed).

The most famous and used format has always been RSS and the latest know version is 2.0. RSS has been released in 2002 under copyright by the Harvard University and the last update has been made in 2009 (http://www.rssboard.org/rss-specification). On the other side, the Atom protocol has been presented to IETF in 2005 (https://tools.ietf.org/html/rfc4287).

One of the major innovations introduced by Atom is the possibility to indicate the abstract of the entry in a separated tag. Atom also introduced the type attribute, used to specify the type of data contained in a tag.

We can state that, even if less used than RSS, Atom offers greater precision for defining structures and – more importantly – has been recognized as an IETF standard.

The following table shows the main RSS elements and their equivalents in Atom:

RSS 2.0

Atom 1.0

author author
category category
channel feed
copyright rights
description subtitle
description summary and/or content
generator generator
guid id
image logo
item entry
lastBuildDate (in channel) updated
link link
managingEditor author or contributor
pubDate published (subelement of entry)
title title
ttl

Following, an example of RSS feed:

<rss version="2.0">
<channel>
<title>Example Channel</title>
<link>http://example.com/</link>
<description>an example feed</description>
<language>en</language>
<item>
<title>1 < 2</title>
<link>http://example.com/1_less_than_2.html</link>
<description>1 < 2, 3 < 4. In HTML, <b> starts a bold phrase and you start a link with <a href=</description>
</item>
</channel>
</rss>

Here is an example of Atom feed:

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Feed di esempio</title>
<subtitle>Testo del sotto-titolo qui</subtitle>
<link href="http://example.org/"/>
<updated>2003-12-13T18:30:02Z</updated>
<author>
<name>jonny doe</name>
<email>jonny@mail.com</email>
</author>
<id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id>

<entry>
<title>I robots Atom usano Amok</title>
<link href="http://example.org/2003/12/13/atom03"/>
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
<updated>2003-12-13T18:30:02Z</updated>
<summary>Testo del sommario.</summary>
</entry>
</feed>

This blog post was written by SSIX partner Angelo Cavallini at 3rdPLACE.
For the latest update, like us on
Facebook, follow us on Twitter and join us on LinkedIn.

Tweet about this on TwitterShare on Facebook0Share on Google+0Share on LinkedIn0
Author :
Print

Leave a Reply