次の方法で共有


IXFeedsManager::Normalize Method

Transforms the XML of the feed into the standard format.

Syntax

HRESULT Normalize(
    IStream *pStreamIn,
    IStream **ppStreamOut
);

Parameters

  • pStreamIn
    [in] Pointer to a variable of type IStream that specifies the XML to be normalized.
  • ppStreamOut
    [in] Address of a pointer to a variable of type IStream that receives the resulting XML.

Return Value

Returns one of the following values.

S_OK Success.
FEC_E_INVALIDMSXMLPROPERTY Unable to set Microsoft XML (MSXML) second-level property.

Remarks

If this method fails with FEC_E_INVALIDMSXMLPROPERTY, ensure that a current release of the MSXML component is installed.

When a feed is downloaded, it is transformed into the Windows RSS Platform native format before processing. This format includes platform-specific extensions and is essentially a superset of all supported formats.

IFeedsManager::Normalize recognizes the following formats:

  • Atom Syndication Format 0.3, 1.0
  • Rich Site Summary (RSS) 0.91, 0.92
  • RDF Site Summary (RSS) 1.0
  • Really Simple Syndication (RSS) 2.0

See Also

IXFeed::Merge