×
Namespaces

Variants
Actions
Revision as of 07:25, 29 June 2012 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Archived:Feed formats in WidSets

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.

Article Metadata
Article
Created: User:Mirsilla (28 May 2008)
Last edited: hamishwillee (29 Jun 2012)
FNWID.gif

Supported feed formats

This section describes what Web feed formats the syndication widget of the WidSets service supports and what pieces of information are extracted from the supported Web feeds.

The syndication widget of the WidSets service supports the following Web feed formats:

  • RDF aka RSS versions 0.90, 1.0
  • RSS versions 0.91, 0.92, 0.94, 2.0
  • ATOM versions 0.3, 1.0

WidSets recommends the following feed formats:

  • RSS version 2.0
  • ATOM version 1.0

Tip:
A good way to check the syntax of a Web feed is to use one of the following online Web feed validators:

If the feed passes the validator checks, then it is very likely that also WidSets services can parse the feed.

For each Web feed item/entry, the following pieces of information are extracted:

Target field Source field Description
link link Link to the full article represented by the item.
title title The title of the article.
author author (RSS/ATOM)
dc:creator (RDF)
The name(s) or email(s) of the author(s).
created pubDate (RSS)
dc:date (RDF)
modified (ATOM)
The date and time the item was created or modified, or the date and time the content was fetched if the source field does not exist.
description description (RSS/RDF)
content:encoded (RDF)
content (ATOM)
summary (ATOM)
The content of the item. If there are several different source fields available, the longest content is selected. All HTML/XHTML tagging is removed. If images are selected to be shown, the image links (
<img>
) are replaced with special tagging.
guid guid (RSS)
id (ATOM)
link (RSS/RDF/ATOM)
If available, used internally to identify items/entries.

Image support

Image URLs are extracted from the following sources:

  • Embedded HTML image links. Keep in mind that if the content is not encapsulated within a CDATA-wrapper, tags and special characters need to be entity-encoded.
    <img src="http://foo/bar.jpg" height="66" width="99"/>
    

    Note: It is recommended that the embedded HTML image links contain 'height' and 'width' attributes.

  • Source fields of the feeds:
    description (RSS/RDF)  
    content:encoded (RDF)  
    content (ATOM)
    summary (ATOM)
    
  • Image enclosure elements (RSS 2.0) such as the following:
    <enclosure url="http://foo/bar.jpg" length="123" type="image/jpeg"/>
    

    For more information, see http://en.wikipedia.org/wiki/RSS_(file_format).

See also

This page was last modified on 29 June 2012, at 07:25.
28 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×