Archived:Feed formats in WidSets
The article is believed to be still valid for the original topic scope.
Article Metadata
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> |
| 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).



(no comments yet)