MSN HTML guidelines and tag restrictions
This page outlines MSN HTML formatting guidelines and restrictions for feed content submitted in MSN Partner Hub. Follow these standards to ensure successful ingestion and optimal display on MSN.
In this article
Where HTML is allowed
HTML is permitted in the following fields:
-
The body of articles
-
The description field of slideshow slides
HTML is not supported in other feed fields, including metadata elements such as titles, author names, or category labels.
Allowed HTML tags
Use only the supported tags below to ensure your content renders correctly.
Text Formatting
-
<b>, <i>, <em>, <strong>, <sub>, <sup>, <small>
Headings
-
<h1> through <h5>
Links
-
<a> (with href; must begin with https://, http://, or mailto:)
Images
-
<img> (must use absolute URLs)
Tables
-
<table>, <thead>, <tbody>, <tfoot>, <tr>, <td>, <th>, <col>, <caption>, <colgroup>
Lists
-
<ul>, <ol>, <li>
Layout
-
<p>, <div>, <span>, <br>
Embeds (Limited)
-
<blockquote>, <iframe> (only for supported video and social platforms — see below)
Disallowed HTML tags
The following tags will be stripped automatically during ingestion and may prevent successful publishing:
-
<style>, <script>, <object>, <embed>, <param>, <applet>
-
Any <media> tags not properly formed (e.g., missing required attributes)
-
Promotional wrappers added by third-party services (e.g., Giphy wrappers)
Best practices
-
Avoid deeply nested structures (keep HTML hierarchy below 10 levels).
-
Do not use multiple <br> tags in a row for spacing.
-
Refrain from including inline style or JavaScript.
Supported embeds
You may use <iframe> or platform-specific embed code only for these services:
-
YouTube
-
Twitter
-
Facebook
-
Instagram
-
Pinterest
-
Spotify
-
Infogram
-
Google Maps
-
Giphy
-
Flourish
-
Reddit
-
TikTok
All embeds must use https:// URLs. Embed code from unsupported services will be removed during processing.
Media RSS and feed markup examples
Media RSS can be used in both RSS and ATOM feeds to display media content like images and video on MSN.
The <media:content> tag is used for embedding images and videos in articles. This tag cannot be combined with HTML elements, so it must be specified at the item’s root level. Media RSS tags must be specified as immediate children of <item> in RSS or <entry> in ATOM feeds, or they will be ignored.
<media:content url="https://contoso.com/image-source.jpg" type="image/jpeg" medium="image"> <media:title>Image title</media:title> <media:text>Image1 alt-text</media:text> <media:credit>Joe Gargery/Fabrikam Images</media:credit></media:content>
<media:content url="https://contoso.com/video.mp4" duration="91" type="video/mp4" medium="video"> <media:title>Video title</media:title> <media:description>Video abstract/description</media:description> <media:credit>Joe Gargery/Fabrikam Videos</media:credit></media:content>
Galleries can be embedded in articles using the <media:group> tag. This acts as a container for slides tagged as <media:content>.
<media:group> <media:title>Slideshow title</media:title> <media:credit role="author">Slideshow author</media:credit> <media:content url="https://contoso.com/image1.jpg" type="image/jpeg" medium="image"> <media:title>Slide 1 title</media:title> <media:text>Slide 1 alt-text</media:text> <media:description>Slide 1 description</media:description> </media:content> <media:content url="https://contoso.com/image2.jpg" type="image/jpeg" medium="image"> <media:title>Slide 2 title</media:title> <media:text>Slide 2 alt-text</media:text> <media:description>Slide 2 description</media:description> </media:content></media:group
ATOM and RSS code examples
Use the code snippets below to help you manage your feeds. Remember to use MSN Partner Hub to preview your content and spot any rendering issues.
Please note that ATOM only supports Articles at the <entry> level. Slideshows and Videos may be embedded inline within an article.
<?xml version="1.0" encoding="utf-8" ?> <!-- The root element must include declaration of used namespaces. --> <feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xmlns:mi="http://schemas.ingestion.microsoft.com/common/" xmlns:dcterms="http://purl.org/dc/terms/" xml:lang="en-us"> <id>https://v3spec.msn.com/myfeed.xml</id> <title><![CDATA[Feed title]]></title> <subtitle><![CDATA[Feed subtitle]]></subtitle> <updated>2017-10-02T13:00:00.52Z</updated> <author> <name>Feed author</name> <email>author@contoso.com</email> </author> <!-- each individual article is provided in a single <entry> --> <entry> <!-- REQUIRED: You need to specify an <id> which will be used to uniquely identify the feed item across all other content items coming in your feeds. The value can be a unique URL --> <id>https://v3spec.msn.com/article123.htm</id> <!-- REQUIRED: title must be provided inside the <title> element --> <title><![CDATA[High-definition video encoding and streaming]]></title> <!-- REQUIRED: <published> is used to keep track of when the item is published. In case no "modified/updated date" is provided, published date is also used to keep track of updates. Dates must be expressed using RFC 3339 or RFC 822 date formats. examples: 2017-10-02T13:00:00Z 2017-10-02T13:00:00.03Z --> <published>2017-01-10T10:00:00+0100</published> <!-- Use the <updated> element to indicate when was the last time this item was updated. If this field is not provided, published will be used for both Published and Updated dates. --> <updated>2017-10-02T13:00:00.52Z</updated> <!-- REQUIRED: Links or Web URLs point to the document on publisher's site. --> <link rel="self" href="https://v3spec.msn.com/article123.htm" /> <!-- RECOMMENDED: provide author name in the author/name element --> <author> <name><![CDATA[Joe Gargery]]></name> </author> <!-- RECOMMENDED: Subtitle can be specified in <dcterms:alternative> --> <dcterms:alternative>Article subtitle</dcterms:alternative> <!-- Use this element if you want to override the default 1-year expiration. Date formats should follow W3C-DTF https://www.w3.org/TR/NOTE-datetime Currently, we only support specifying "end" as the expiration date and "start" will be ignored. Note: If the "start" is specified, it will be taken as the published date time. And we are checking if the publish time is older than 1 year. You can use this element to takedown a piece of content, by specifying an "end" date in the past. See the takedown example at the end of this example. --> <dcterms:valid>start=2016-10-01T10:00:00+0100; end=2018-10-02T10:00:00+0100; scheme=W3C-DTF</dcterms:valid> <!-- Alternatively, you can use special element 'mi:expirationDate' to specify expiration date. You can use any of the formats supported in 'published'. --> <mi:expirationDate>2018-10-02T13:00:00.52Z</mi:expirationDate> <!-- The “short title” value, also known as a “Web Headline” is used when displaying content on compact settings. The value in this field should be 40 characters or less. --> <mi:shortTitle><![CDATA[Short Title]]></mi:shortTitle> <!-- RECOMMENDED: Provide keywords associated with this document --> <media:keywords>keyword1,keyword2,keyword3</media:keywords> <!-- RECOMMENDED: Use <category> element at the item level to tag the document with the category it belongs to. Multiple tags are allowed, each under a separate <category>. --> <category term="News" /> <category term="Sports" /> <!-- RECOMMENDED: <summary> is used to specify article's abstract. You can only provide plain text in this element. --> <summary> <![CDATA[ Article abstract/description should be plain text, no HTML is allowed ]]> </summary> <!-- REQUIRED: Article body must be HTML formatted. It is highly recommended you use the CDATA structure to provide article content under <content>, otherwise HTML tags must be escaped. You can either use CDATA or escaped HTML, but not both, otherwise the content will not be unescaped. --> <content type="html"> <!-- An example of a body that contains references to an inline image and video within the HTML. --> <![CDATA[ <img src="https://v3spec.msn.com/_files/assets/azure1.jpg" alt="Image title here." title="Image title" data-portal-copyright="Joe Gargery/Fabrikam Images" data-has-syndication-rights="1" data-license-id="698526" data-licensor-name="Licensor name" data-focal-region="x1:246,y1:140,x2:246,y2:140" /> <p> Media Services enables you to encode your media files into formats that can be played on a wide variety of browsers and devices. For example, you might want to stream your content in Apple's HLS or MPEG DASH formats. Before streaming, you should encode your high-quality digital media file. For encoding guidance, see <a href="encoding-concept" data-linktype="relative-path">Encoding concept</a>. This tutorial uploads a local video file and encodes the uploaded file. You can also encode content that you make accessible via a HTTPS URL. For more information, see <a href="job-input-from-http-how-to" data-linktype="relative-path">Create a job input from an HTTP(s) URL</a>. </p> <p> Here is an example of an embedded 1PP video using the 'video' tag</p> <video id="8172818" title="an inline video" poster="https://contoso.com/videothumbnail.jpg" data-description="this is a sample inline video" data-portal-copyright="Joe Gargery/Fabrikam Videos"> <source src="https://contoso.com/video.mp4" type="video/mp4"></source> </video> <p> And here is an example of an embedded 3PP YouTube video using 'iframe' </p> <iframe width="100%" height="100%" frameborder="0" allowfullscreen="true" src="https://www.youtube.com/embed/XnZ_J3l_0z4?rel=0" > </iframe> <p> You can also embed an inline slideshow using html as below.</p> <div class="slideshow"> <cite>Slideshow author</cite> <title>Slideshow title</title> <figure> <img src="https://v3spec.msn.com/image1.jpg" title="slide 1 title" /> <figcaption>slide 1 caption <span class="copyright">slide 1 copyrights</span> </figcaption> </figure> <figure> <img src="https://v3spec.msn.com/image2.jpg" title="slide 2 title" /> <figcaption>slide 2 caption <span class="copyright">Joe Gargery/Fabrikam Images</span> </figcaption> </figure> </div> ]]> </content> <!-- Here is another example how to add images to content using the media:content tag. --> <!-- REQUIRED: URL must be provided for media elements. It is also used to uniquely identify the video. NOTE: you need to specify the medium and set to "image" or "video" depending on the content type OR the 'type' attribute must indicate a valid video or image content type. --> <media:content url="https://v3spec.msn.com/image1.jpg" type="image/jpeg" medium="image"> <!-- RECOMMENDED: Provide image attribution in media:credit. Recommended format is: Photographer name/Agency name. If not provided, will fallback to "Provided by [PUBLISHER NAME]" --> <media:credit>Joe Gargery/Fabrikam Images</media:credit> <!-- RECOMMENDED: Image title --> <media:title>Image title</media:title> <!-- RECOMMENDED: Use the media:text tag to specify alt-text --> <media:text>Image alt-text</media:text> <!-- RECOMMENDED: You may use Microsoft Ingestion namespace to provide focal region information --> <mi:focalRegion> <mi:x1>120</mi:x1> <mi:y1>120</mi:y1> <mi:x2>400</mi:x2> <mi:y2>400</mi:y2> </mi:focalRegion> <!-- Following 3 fields are used to specify image rights. --> <!-- Image Syndication Rights are required for auto publish. If you have Syndication Rights for your images, this field will default to True. If you do not have Syndication Rights for images there are two options: Case 1: Do not send the images unless you can provide the required information in Case 2 Case 2: You’ve licensed the image from one of the image providers listed in Appendix I. --> <mi:hasSyndicationRights>1</mi:hasSyndicationRights> <mi:licenseId>698525</mi:licenseId> <mi:licensorName>Licensor name</mi:licensorName> </media:content> <!-- you can also use the media:content tag to add videos to content --> <!-- REQUIRED: URL must be provided for media elements. It is also used to uniquely identify the video. NOTE: you need to specify the medium and set to "image" or "video" depending on the content type OR the 'type' attribute must indicate a valid video or image content type. --> <media:content url="https://v3spec.msn.com/video.mp4" duration="91" type="video/mp4" medium="video"> <!-- REQUIRED: a unique video identifier is required if this is a 3PP video (other than YouTube and Daily Motion) --> <guid>218736</guid> <!-- REQUIRED: video image thumbnail is required if the video is 3PP (except YouTube) and recommended for 1PP videos --> <media:thumbnail url="https://v3spec.msn.com/image.jpg"/> <!-- REQUIRED: video title must be supplied. --> <media:title>Video title</media:title> <!-- REQUIRED: provides a description/abstract to the video --> <media:description>Video description</media:description> <!-- RECOMMENDED: attribution/copyrights for the video content --> <media:credit>Joe Gargery/Fabrikam Videos</media:credit> </media:content> <!-- An article might also contain an inline slideshow, use <media:group> for this purpose --> <!-- Note that in the case of embedded slideshow, the slideshow title and description will be the same as the parent article's unless you explicitly provide them. --> <media:group> <!-- Inline slideshow title. If you do not specify a title for inline slideshow, the slideshow will be ingested with the same title of the parent article. --> <media:title>Slideshow title</media:title> <!-- Inline slideshow author. Similar to title, if you do not specify an author, the slideshow will be ingested with the same author of the parent article. --> <media:credit role="author">Slideshow author</media:credit> <!-- Each slide is provided as a separate <media:content> element --> <media:content url="https://v3spec.msn.com/image1.jpg" type="image/jpeg" medium="image"> <!-- slide image attribution / copyrights --> <media:credit>Joe Gargery/Fabrikam Images</media:credit> <!-- REQUIRED: slide title must be provided in the following element --> <media:title>Slide 1 title</media:title> <!-- RECOMMENDED: alt text for slide image--> <media:text>Slide 1 alt-text</media:text> <!-- RECOMMENDED: slide caption should be added in the description element. HTML is allowed in this field when you wrap content within a CDATA structure. --> <media:description> <![CDATA[ <p>Slide 1 description</p> ]]> </media:description> <!-- RECOMMENDED: additional slide image metadata --> <mi:focalRegion> <mi:x1>245</mi:x1> <mi:y1>145</mi:y1> <mi:x2>520</mi:x2> <mi:y2>320</mi:y2> </mi:focalRegion> <mi:hasSyndicationRights>1</mi:hasSyndicationRights> <mi:licenseId>698525</mi:licenseId> <mi:licensorName>Licensor name</mi:licensorName> </media:content> <!-- a second slide --> <media:content url="https://v3spec.msn.com/image2.jpg" type="image/jpeg" medium="image"> <media:credit>Joe Gargery/Fabrikam Images</media:credit> <media:title>Slide 2 title</media:title> <media:text>Slide 2 alt-text</media:text> <media:description>Slide 2 description</media:description> </media:content> </media:group> <!--To specify "related links" you must declare the atom namespace and use the Atom's Link element--> <!-- Links MUST have valid "href" and "title" attribute values.--> <link rel="related" type="text/html" href="https://v3spec.msn.com/news/prop_irs_1.html" title="New IRS proposal"> <!-- REQUIRED: you must provide a thumbnail image with the link --> <media:thumbnail url="https://v3spec.msn.com/related_link_thumbnail1.jpg" /> </link> <link rel="related" type="text/html" href="https://v3spec.msn.com/news/prop_irs_2.html" title="New IRS proposal"> <media:thumbnail url="https://v3spec.msn.com/related_link_thumbnail2.jpg" /> </link> <link rel="related" type="text/html" href="https://v3spec.msn.com/news/prop_irs_3.html" title="New IRS proposal"> <media:thumbnail url="https://v3spec.msn.com/related_link_thumbnail3.jpg" /> </link> </entry> <!-- Example of a Takedown request. You must provide an <id> of an existing item, an updated datetime and an expiration date in the past --> <entry> <!-- REQUIRED: You must provide the Unique Identifier of the piece of content you want to take down through the feed. The id must belong to an already ingested document --> <id>https://v3spec.msn.com/article123.htm</id> <!-- REQUIRED: Use the <updated> element to indicate there is a new update for this content --> <updated>2017-10-02T13:00:00.52Z</updated> <!-- REQUIRED: You can use this element to takedown a piece of content, by specifying an "end" date in the past. "start" needs to be less than a year in the past --> <dcterms:valid>start=2019-10-01T10:00:00+0100; end=2018-10-02T10:00:00+0100; scheme=W3C-DTF</dcterms:valid> </entry> </feed>
<?xml version="1.0" encoding="utf-8" ?> <!-- Default character encoding for feed documents is UTF-8 --> <!-- The root RSS element must include declaration of used namespaces. --> <rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xmlns:mi="http://schemas.ingestion.microsoft.com/common/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dcterms="http://purl.org/dc/terms/" version="2.0"> <channel> <title>Lifestyle</title> <description>channel description</description> <language>en-us</language> <link>https://v3spec.msn.com/lifestyle</link> <!-- each individual article is enclosed in a single <item> --> <item> <!-- REQUIRED: You need to specify a <guid> which will be used to uniquely identify the feed item across all other content items coming in your feeds. --> <guid isPermaLink="false">477648</guid> <!-- REQUIRED: title must be provided inside the <title> element --> <title><![CDATA[High-definition video encoding and streaming]]></title> <!-- REQUIRED: <pubDate> is used to keep track of when the item is published. In case no "modified/updated date" is provided, pubDate is also used to keep track of updates. Dates must be expressed using RFC 3339 or RFC 822 date formats. examples: Wed, 04 Oct 2017 15:00:00 +0200 2017-10-04T08:00:00-05:00 --> <pubDate>2017-10-04T08:00:00-05:00</pubDate> <!-- Use the <dcterms:modified> element to indicate when was the last time this item was updated. If this field is not provided, pubDate will be used for both Published and Updated dates --> <dcterms:modified>2017-10-10T10:00:00+0100</dcterms:modified> <!-- REQUIRED: Web URL points to the document on publisher's site. --> <link>https://v3spec.msn.com/articleid=2836489202/</link> <!-- RECOMMENDED: Use <dc:creator> in RSS to specify author name. --> <dc:creator>Joe Gargery</dc:creator> <!-- RECOMMENDED: Subtitle can be specified in <dcterms:alternative> --> <dcterms:alternative>Article subtitle</dcterms:alternative> <!-- Use this element if you want to override the default 1-year expiration. Date formats should follow W3C-DTF https://www.w3.org/TR/NOTE-datetime Currently, we only support specifying "end" as the expiration date and "start" will be ignored. Note: If the "start" is specified, it will be taken as the published date time. And we are checking if the publish time is older than 1 year. You can use this element to takedown a piece of content, by specifying an "end" date in the past. See the takedown example at the end of this example. --> <dcterms:valid>start=2016-10-01T10:00:00+0100; end=2018-10-02T10:00:00+0100; scheme=W3C-DTF</dcterms:valid> <!-- Alternatively, you may use special element 'mi:expirationDate' to specify expiration date. You can use any of the formats supported in 'pubDate'. --> <mi:expirationDate>2018-10-02T13:00:00.52Z</mi:expirationDate> <!-- The “short title” value, also known as a “Web Headline” is used when displaying content on compact settings. The value in this field should be 40 characters or less. --> <mi:shortTitle>Short Title</mi:shortTitle> <!-- RECOMMENDED: Provide keywords associated with this document --> <media:keywords>keyword1,keyword2,keyword3</media:keywords> <!-- RECOMMENDED: Use <category> element at the item level to tag the document with the category it belongs to. Multiple tags are allowed, each under a separate <category>. --> <category>News</category> <category>Sports</category> <!-- RECOMMENDED: <description> is used to specify article abstract. You can only provide plain text in this element. --> <description> <![CDATA[ Article description should be plain text, no HTML is allowed ]]> </description> <!-- REQUIRED: Article body must be HTML formatted. It is highly recommended you use the CDATA structure to provide article content under <content:encoded>, otherwise HTML tags must be escaped. NOTE: You can either use CDATA or escaped HTML, but not both, otherwise the content will not be unescaped. --> <content:encoded> <!-- An example of a body that contains references to an inline image and video within the HTML. --> <![CDATA[ <img src="https://v3spec.msn.com/_files/assets/azure1.jpg" alt="Image title here." title="Image title" data-portal-copyright="Joe Gargery/Fabrikam Images" data-has-syndication-rights="1" data-license-id="698526" data-licensor-name="Licensor name" data-focal-region="x1:246,y1:140,x2:246,y2:140" /> <p> Media Services enables you to encode your media files into formats that can be played on a wide variety of browsers and devices. For example, you might want to stream your content in Apple's HLS or MPEG DASH formats. Before streaming, you should encode your high-quality digital media file. For encoding guidance, see <a href="encoding-concept" data-linktype="relative-path">Encoding concept</a>. This tutorial uploads a local video file and encodes the uploaded file. You can also encode content that you make accessible via a HTTPS URL. For more information, see <a href="job-input-from-http-how-to" data-linktype="relative-path">Create a job input from an HTTP(s) URL</a>. </p> <p> Here is an example of an embedded 1PP video using the 'video' tag</p> <video id="8172818" title="an inline video" poster="https://v3spec.msn.com/videothumbnail.jpg" data-description="this is a sample inline video" data-portal-copyright="Joe Gargery/Fabrikam Videos"> <source src="https://v3spec.msn.com/video.mp4" type="video/mp4"></source> </video> <p> And here is an example of an embedded 3PP YouTube video using 'iframe' </p> <iframe width="100%" height="100%" frameborder="0" allowfullscreen="true" src="https://www.youtube.com/embed/XnZ_J3l_0z4?rel=0" > </iframe> <p> You can also embed an inline slideshow using html as below.</p> <div class="slideshow"> <cite>Slideshow author</cite> <title>Slideshow title</title> <figure> <img src="https://v3spec.msn.com/image1.jpg" title="slide 1 title" /> <figcaption>slide 1 caption <span class="copyright">slide 1 copyrights</span> </figcaption> </figure> <figure> <img src="https://v3spec.msn.com/image2.jpg" title="slide 2 title" /> <figcaption>slide 2 caption <span class="copyright">Joe Gargery/Fabrikam Images</span> </figcaption> </figure> </div> ]]> </content:encoded> <!-- Here is another example how to add images to content using the media:content tag. --> <!-- REQUIRED: URL must be provided for media elements. It is also used to uniquely identify the video. NOTE: you need to specify the medium and set to "image" or "video" depending on the content type OR the 'type' attribute must indicate a valid video or image content type. --> <media:content url="https://v3spec.msn.com/image1.jpg" type="image/jpeg" medium="image"> <!-- RECOMMENDED: Provide image attribution in media:credit. Recommended format is: Photographer name/Agency name. If not provided, will fallback to "Provided by [PUBLISHER NAME]" --> <media:credit>Joe Gargery/Fabrikam Images</media:credit> <!-- RECOMMENDED: image title --> <media:title>Image title</media:title> <!-- RECOMMENDED: Use the media:text tag to specify alt-text --> <media:text>Image alt-text</media:text> <!-- RECOMMENDED: You may use Microsoft Ingestion namespace to provide focal region information --> <mi:focalRegion> <mi:x1>120</mi:x1> <mi:y1>120</mi:y1> <mi:x2>400</mi:x2> <mi:y2>400</mi:y2> </mi:focalRegion> <!-- Following 3 fields are used to specify image rights. --> <!-- Image Syndication Rights are required for auto publish. If you have Syndication Rights for your images, this field will default to True. If you do not have Syndication Rights for images there are two options: Case 1: Do not send the images unless you can provide the required information in Case 2 Case 2: You’ve licensed the image from one of the image providers listed in Appendix I. --> <mi:hasSyndicationRights>1</mi:hasSyndicationRights> <mi:licenseId>698525</mi:licenseId> <mi:licensorName>Licensor name</mi:licensorName> </media:content> <!-- you can also use the media:content tag to add videos to content --> <!-- REQUIRED: URL must be provided for media elements. It is also used to uniquely identify the video. NOTE: you need to specify the medium and set to "image" or "video" depending on the content type OR the 'type' attribute must indicate a valid video or image content type. --> <media:content url="https://v3spec.msn.com/video.mp4" duration="91" type="video/mp4" medium="video"> <!-- REQUIRED: a unique video identifier is required if this is a 3PP video (other than YouTube and Daily Motion) --> <guid>218736</guid> <!-- REQUIRED: video image thumbnail is required if the video is 3PP (except YouTube) --> <media:thumbnail url="https://v3spec.msn.com/image.jpg"/> <!-- REQUIRED: video title must be supplied. --> <media:title>Video title</media:title> <!-- RECOMMENDED: provides a description/abstract to the video --> <media:description>Video description</media:description> <!-- RECOMMENDED: attribution/copyrights for the video content --> <media:credit>Joe Gargery/Fabrikam Videos</media:credit> <!-- Closed Captions might be required by law in the target markets. --> <!-- You may use the `<media:subtitle>` element to provide an external Timed Text format file based on W3C Timed Text format. Only [TTML 1](https://www.w3.org/TR/ttml1) is currently supported. --> <media:subTitle type="application/ttml" lang="en" href="https://www.contols.org/closedcaptions.ttml" /> </media:content> </media:content> <!-- An article might also contain an inline slideshow, use <media:group> for this purpose --> <!-- Note that in the case of embedded slideshow, the slideshow title and description will be the same as the parent article's unless you explicitly provide them. --> <media:group> <!-- Inline slideshow title. If you do not specify a title for inline slideshow, the slideshow will be ingested with the same title of the parent article. --> <media:title>Slideshow title</media:title> <!-- Inline slideshow author. Similar to title, if you do not specify an author, the slideshow will be ingested with the same author of the parent article. --> <media:credit role="author">Slideshow author</media:credit> <!-- Each slide is provided as a separate <media:content> element --> <media:content url="https://v3spec.msn.com/image1.jpg" type="image/jpeg" medium="image"> <!-- RECOMMENDED: slide image attribution / copyrights --> <media:credit>Joe Gargery/Fabrikam Images</media:credit> <!-- REQUIRED: slide title must be provided in the following element --> <media:title>Slide 1 title</media:title> <!-- RECOMMENDED: alt text for slide image--> <media:text>Slide 1 alt-text</media:text> <!-- RECOMMENDED: slide description should be added in the description element. HTML is allowed in this field when you wrap content within a CDATA structure. --> <media:description> <![CDATA[ <p>Slide 1 description</p> ]]> </media:description> <!-- RECOMMENDED: additional slide image metadata --> <mi:focalRegion> <mi:x1>245</mi:x1> <mi:y1>145</mi:y1> <mi:x2>520</mi:x2> <mi:y2>320</mi:y2> </mi:focalRegion> <mi:hasSyndicationRights>1</mi:hasSyndicationRights> <mi:licenseId>698525</mi:licenseId> <mi:licensorName>Licensor name</mi:licensorName> </media:content> <!-- a second slide --> <media:content url="https://v3spec.msn.com/image2.jpg" type="image/jpeg" medium="image"> <media:credit>Joe Gargery/Fabrikam Images</media:credit> <media:title>Slide 2 title</media:title> <media:text>Slide 2 alt-text</media:text> <media:description>Slide 2 description</media:description> </media:content> </media:group> <!--To specify "related links" you must declare the atom namespace and use the Atom's Link element--> <!-- Links MUST have valid "href" and "title" attribute values.--> <atom:link rel="related" type="text/html" href="https://v3spec.msn.com/news/prop_irs_1.html" title="New IRS proposal"> <!-- REQUIRED: you must provide a thumbnail image with the link --> <media:thumbnail url="https://v3spec.msn.com/related_link_thumbnail1.jpg" /> </atom:link> <atom:link rel="related" type="text/html" href="https://v3spec.msn.com/news/prop_irs_2.html" title="New IRS proposal"> <media:thumbnail url="https://v3spec.msn.com/related_link_thumbnail2.jpg" /> </atom:link> <atom:link rel="related" type="text/html" href="https://v3spec.msn.com/news/prop_irs_3.html" title="New IRS proposal"> <media:thumbnail url="https://v3spec.msn.com/related_link_thumbnail3.jpg" /> </atom:link> </item> </channel> </rss>
<?xml version="1.0" encoding="UTF-8"?> <!-- The root RSS elements must include declaration of used namespaces. --> <rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xmlns:mi="http://schemas.ingestion.microsoft.com/common/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" version="2.0"> <channel> <title>Slideshow Group Title</title> <link>https://www.contoso.com/Slideshow-Group-Link/</link> <description>This is a group of slideshows.</description> <lastBuildDate>01 Oct 2017 13:00:00 GMT</lastBuildDate> <!-- each individual slideshow is provided in a single <item> --> <item> <!-- REQUIRED: You need to specify a <guid> which will be used to uniquely identify the feed item across all other content items coming in your feeds. --> <guid isPermaLink="false">207073</guid> <!-- REQUIRED: slideshow title must be provided --> <title>Get the facts. Your Vision. Your Cloud</title> <!-- REQUIRED: <pubDate> is used to keep track of when the item is published. In case no "modified/updated date" is provided, pubDate is also used to keep track of updates. Dates must be expressed using RFC 3339 or RFC 822 date formats. examples: Wed, 04 Oct 2017 15:00:00 +0200 2017-10-04T08:00:00-05:00 --> <pubDate>01 Oct 2017 13:00:00 GMT</pubDate> <!-- Use the <dcterms:modified> element to indicate when was the last time this item was updated. If this field is not provided, pubDate will be assumed to be updated with every new version--> <dcterms:modified>2017-10-10T10:00:00+0100</dcterms:modified> <!-- RECOMMENDED: Use dc:creator in RSS to specify author name. --> <dc:creator>Joe Gargery</dc:creator> <!-- RECOMMENDED: Subtitle can be specified in <dcterms:alternative> --> <dcterms:alternative>Article subtitle</dcterms:alternative> <!-- Use this element if you want to override the default 1-year expiration. Date formats should follow W3C-DTF https://www.w3.org/TR/NOTE-datetime Currently, we only support specifying "end" as the expiration date and "start" will be ignored. Note: If the "start" is specified, it will be taken as the published date time. And we are checking if the publish time is older than 1 year. You can use this element to takedown a piece of content, by specifying an "end" date in the past. See the takedown example at the end of this example. --> <dcterms:valid>start=2016-10-01T10:00:00+0100; end=2018-10-02T10:00:00+0100; scheme=W3C-DTF</dcterms:valid> <!-- Alternatively, you may use special element 'mi:expirationDate' to specify expiration date. You can use any of the formats supported in 'pubDate'. --> <mi:expirationDate>2018-10-02T13:00:00.52Z</mi:expirationDate> <!-- The “short title” value, also known as a “Web Headline” is used when displaying content on compact settings. The value in this field should be 40 characters or less.' --> <mi:shortTitle>Short Title</mi:shortTitle> <!-- RECOMMENDED: Provide keywords associated with this document --> <media:keywords>keyword1,keyword2,keyword3</media:keywords> <!-- RECOMMENDED: Use <category> element at the item level to tag the document with the category it belongs to. Multiple tags are allowed, each under a separate <category>. --> <category>News</category> <category>Sports</category> <!-- Slideshow description/abstract is specified in the description tag. The description will be shown in the Promo Cards --> <description><![CDATA[ Slideshow description ]]></description> <!-- each slide is expressed using a <media:content> element --> <!-- REQUIRED: slide image url must be specified in media content element url --> <media:content url="https://v3spec.msn.com/image1.jpg" type="image/jpeg" medium="image"> <!-- RECOMMENDED: Provide image attribution in media:credit. Recommended format is: Photographer name/Agency name. If not provided, will fallback to "Provided by [PUBLISHER NAME]" --> <media:credit>Joe Gargery/Fabrikam Images</media:credit> <!-- REQUIRED: slide title must be provided in the following element --> <media:title>Choose from more than 100 services</media:title> <!-- RECOMMENDED: alt text for slide image--> <media:text>Azure has over 100 services to choose from.</media:text> <!-- RECOMMENDED: slide caption should be added in the description element. HTML is allowed in this field when you wrap content within a CDATA structure. --> <media:description> <![CDATA[ <p> Engage users in richer ways by building native mobile apps, responsive web apps, or next-generation experiences like bots and mixed reality. Quickly solve the toughest challenges and get your app up and running with minimal effort through seamless integration with the Visual Studio family of tools and more than 100 turn-key Azure services. </p> ]]> </media:description> <!-- RECOMMENDED: additional slide image metadata --> <mi:focalRegion> <mi:x1>120</mi:x1> <mi:y1>120</mi:y1> <mi:x2>400</mi:x2> <mi:y2>400</mi:y2> </mi:focalRegion> <mi:hasSyndicationRights>1</mi:hasSyndicationRights> <mi:licenseId>698525</mi:licenseId> <mi:licensorName>Licensor name</mi:licensorName> </media:content> <!-- a second slide --> <media:content url="https://v3spec.msn.com/image2.jpg" type="image/jpeg" medium="image"> <media:credit>Joe Gargery/Fabrikam Images</media:credit> <media:title>Slide 2 title</media:title> <media:text>Slide 2 alt-text</media:text> </media:content> <!--To specify "related links" you must declare the atom namespace and use the Atom's Link element--> <!-- Links MUST have valid "href" and "title" attribute values.--> <atom:link rel="related" type="text/html" href="https://v3spec.msn.com/news/prop_irs_1.html" title="New IRS proposal"> <!-- REQUIRED: you must provide a thumbnail image with the link --> <media:thumbnail url="https://v3spec.msn.com/image2.jpg" /> </atom:link> <atom:link rel="related" type="text/html" href="https://v3spec.msn.com/news/prop_irs_2.html" title="New IRS proposal"> <media:thumbnail url="https://v3spec.msn.com/image2.jpg" /> </atom:link> <atom:link rel="related" type="text/html" href="https://v3spec.msn.com/news/prop_irs_3.html" title="New IRS proposal"> <media:thumbnail url="https://v3spec.msn.com/image3.jpg" /> </atom:link> </item>
<?xml version="1.0" encoding="UTF-8"?> <!-- The root RSS element must include declaration of used namespaces. --> <rss version="2.0" xmlns:media="https://search.yahoo.com/mrss/" xmlns:mi="https://schemas.ingestion.microsoft.com/common/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:dcterms="https://purl.org/dc/terms/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"> <channel> <title>Feed title</title> <link>https://www.contoso.com/sports</link> <description>Feed description</description> <lastBuildDate>01 Oct 2017 13:00:00 GMT</lastBuildDate> <!-- you can either use Media RSS or iTunes namespace to set audio properties --> <!-- Example 1: using Media RSS --> <item> <!-- REQUIRED: You need to specify a <guid> which will be used to uniquely identify the feed item across all other content items coming in your feeds. --> <guid isPermaLink="false">723435</guid> <!-- REQUIRED: audio title must be provided --> <title>Example audio using Media RSS</title> <!-- REQUIRED: <pubDate> is used to keep track of when the item is published. In case no "modified/updated date" is provided, pubDate is also used to keep track of updates. Dates must be expressed using RFC 3339 or RFC 822 date formats. examples: Wed, 04 Oct 2018 15:00:00 +0200 2018-10-04T08:00:00-05:00 --> <pubDate>01 Oct 2018 13:00:00 GMT</pubDate> <!-- Use the <dcterms:modified> element to indicate when was the last time this item was updated. If this field is not provided, pubDate will be assumed to be updated with every new version --> <dcterms:modified>2018-10-10T10:00:00+0100</dcterms:modified> <!-- REQUIRED: Web URL points to the page hosting the video on the publisher's site. --> <link>https://v3spec.msn.com/audioid=2836489202/</link> <!-- Use this element if you want to override the default 1-year expiration. Date formats should follow W3C-DTF https://www.w3.org/TR/NOTE-datetime Currently, we only support specifying "end" as the expiration date and "start" will be ignored. Note: If the "start" is specified, it will be taken as the published date time. And we are checking if the publish time is older than 1 year. You can use this element to takedown a piece of content, by specifying an "end" date in the past. See the takedown example at the end of this example. --> <dcterms:valid>start=2016-10-01T10:00:00+0100; end=2018-10-02T10:00:00+0100; scheme=W3C-DTF</dcterms:valid> <!-- RECOMMENDED: audio abstract/description. If not specified here, it should be specified at <media:description> of the audio --> <description>Audio description</description> <!-- use <media:content> element to supply the Audio metadata. --> <!-- REQUIRED: audio URL must be specified in the url attribute --> <media:content url="https://contoso.com/audio/sample.mp3" duration="512" type="audio/mpeg" medium="audio"> <!-- RECOMMENDED: audio thumbnail image --> <media:thumbnail url="https://v3spec.msn.com/image.jpg" height="480" width="853" /> <!-- this element will override the title specified on the item level --> <media:title>Example audio using Media RSS</media:title> <!-- If specified, this element will override the description specified on the item level. --> <media:description>Audio description</media:description> <!-- RECOMMENDED: audio attribution / copyright --> <media:credit>Joe Gargery/Fabrikam Videos</media:credit> </media:content> </item> <!-- Example 2: using iTunes namespace --> <item> <!-- REQUIRED audio stream id--> <guid isPermaLink="false">723435</guid> <!-- REQUIRED: audio stream title --> <title>Example audio using iTunes namespace</title> <!-- REQUIRED: publication date --> <pubDate>01 Oct 2018 13:00:00 GMT</pubDate> <link>https://v3spec.msn.com/audioid=2836489202/</link> <dcterms:modified>2018-10-10T10:00:00+0100</dcterms:modified> <dcterms:valid>start=2016-10-01T10:00:00+0100; end=2018-10-02T10:00:00+0100; scheme=W3C-DTF</dcterms:valid> <description>Audio description</description> <itunes:title>Audio stream title</itunes:title> <itunes:author>Provider name</itunes:author> <itunes:subtitle>Audio stream subtitle</itunes:subtitle> <itunes:summary> <![CDATA[audio stream description]]> </itunes:summary> <itunes:duration>110</itunes:duration> <!-- REQUIRED: audio URL specified within the <enclosure> element --> <enclosure url="https://contoso.com/audio/sample.mp3" type="audio/mpeg" /> </item> </channel> </rss>
<?xml version="1.0" encoding="UTF-8"?> <!-- The root RSS element must include declaration of used namespaces. --> <rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xmlns:mi="http://schemas.ingestion.microsoft.com/common/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" version="2.0"> <channel> <title>Feed title</title> <link>https://www.contoso.com/sports</link> <description>Feed description</description> <lastBuildDate>01 Oct 2017 13:00:00 GMT</lastBuildDate> <!-- each individual video is provided in a single <item> --> <item> <!-- REQUIRED: You need to specify a <guid> which will be used to uniquely identify the feed item across all other content items coming in your feeds. --> <guid isPermaLink="false">723435</guid> <!-- REQUIRED: video title must be provided --> <title>Video title</title> <!-- REQUIRED: <pubDate> is used to keep track of when the item is published. In case no "modified/updated date" is provided, pubDate is also used to keep track of updates. Dates must be expressed using RFC 3339 or RFC 822 date formats. examples: Wed, 04 Oct 2017 15:00:00 +0200 2017-10-04T08:00:00-05:00 --> <pubDate>01 Oct 2017 13:00:00 GMT</pubDate> <!-- Use the <dcterms:modified> element to indicate when was the last time this item was updated. If this field is not provided, pubDate will be assumed to be updated with every new version--> <dcterms:modified>2017-10-10T10:00:00+0100</dcterms:modified> <!-- REQUIRED: Web URL points to the page hosting the video on the publisher's site. --> <link>https://v3spec.msn.com/articleid=2836489202/</link> <!-- RECOMMENDED: Use dc:creator in RSS to specify author name. --> <dc:creator>Video author</dc:creator> <!-- RECOMMENDED: Subtitle can be specified in <dcterms:alternative> --> <dcterms:alternative>Article subtitle</dcterms:alternative> <!-- Use this element if you want to override the default 1-year expiration. Date formats should follow W3C-DTF https://www.w3.org/TR/NOTE-datetime Currently, we only support specifying "end" as the expiration date and "start" will be ignored. Note: If the "start" is specified, it will be taken as the published date time. And we are checking if the publish time is older than 1 year. You can use this element to takedown a piece of content, by specifying an "end" date in the past. See the takedown example at the end of this example. --> <dcterms:valid>start=2016-10-01T10:00:00+0100; end=2018-10-02T10:00:00+0100; scheme=W3C-DTF</dcterms:valid> <!-- Alternatively, you may use special element 'mi:expirationDate' to specify expiration date. You can use any of the formats supported in 'pubDate'. --> <mi:expirationDate>2018-10-02T13:00:00.52Z</mi:expirationDate> <!-- RECOMMENDED: video abstract/description. If not specified here, it should be specified at <media:description> of the video --> <description>Video description</description> <!-- RECOMMENDED: Provide keywords associated with this document --> <media:keywords>keyword1,keyword2,keyword3</media:keywords> <!-- RECOMMENDED: Use <category> element at the item level to tag the document with the category it belongs to. Multiple tags are allowed, each under a separate <category>. --> <category>News</category> <category>Sports</category> <!-- use <media:content> element to supply the video metadata. --> <!-- REQUIRED: video URL must be specified with file extension this way --> <media:content duration="512" type="video/mp4" medium="video" url="https://v3spec.msn.com/video.mp4"> <!-- REQUIRED: video thumbnail is required for 3PP videos and recommended for 1PP--> <media:thumbnail url="https://v3spec.msn.com/image.jpg" height="480" width="853" /> <!-- this element will override the title specified on the item level --> <media:title>Video title</media:title> <!-- If specified, this element will override the description specified on the item level. --> <media:description>Video description</media:description> <!-- RECOMMENDED: video attribution / copyright --> <media:credit>Joe Gargery/Fabrikam Videos</media:credit> <!-- Closed Captions might be required by law in the target markets. --> <!-- You may use the `<media:subtitle>` element to provide an external Timed Text format file based on W3C Timed Text format. Only [TTML 1](https://www.w3.org/TR/ttml1) is currently supported. --> <media:subTitle type="application/ttml" lang="en" href="https://www.contols.org/closedcaptions.ttml" /> </media:content> </item> </channel> </rss>
<!-- Example of a Takedown request. You must provide a <guid> of an existing item, a modified date and an expiration date in the past --> <item> <!-- REQUIRED: You must provide the Unique Identifier of the piece of content you want to take down through the feed. The id must belong to an already ingested document --> <guid isPermaLink="false">477649</guid> <!-- REQUIRED: Use the <dcterms:modified> element to indicate there is a new update for this content --> <dcterms:modified>2017-10-10T10:00:00+0100</dcterms:modified> <!-- REQUIRED: You can use this element to takedown a piece of content, by specifying an "end" date in the past. --> <dcterms:valid>end=1990-10-02T10:00:00+0100; scheme=W3C-DTF</dcterms:valid> </item>