Latest and most important news
Applicable sites
Websites that publish fresh content covering current events. Keep in mind that one event may only be relevant today (e.g., sports match results), while another may be relevant for a month or longer (e.g., a scientific discovery).
How to set it up
To help the Yandex indexing bot quickly learn about new documents, the site owner can provide information in an RSS feed via Yandex Webmaster. The better the publications meet the recommendations below, the faster they will appear in search results.
Access to information
We recommend adhering to the following criteria:
-
Publications should be freely available on the Internet. If registration is required to read them, it is considered a restriction of free access.
-
Each publication’s URL should lead to a separate page with the full text, with the title and beginning of the text visible on the first screen at a resolution of:
- 1024 x 768 on a desktop computer.
- 360 x 640 on a mobile device.
-
The URL is a unique identifier for each publication. The link should not lead to a list of articles or the site’s home page.
-
Access to the site with publications should be fast and stable.
-
The site with publications should have a mobile version.
-
The site’s content should be updated at a frequency stated in the information about the resource.
Content quality recommendations
-
Comply with current legislation. In particular, publications exported to Yandex should not contain calls for violence, expressions of hate or hostility, insults and threats, or other statements that demean honor and dignity or violate civil rights on any grounds.
-
Do not use obscene language, including replacing parts of words with other symbols, in any part of the exported texts.
-
Exported publications should be informational, analytical, or provide an overview. They should not contain the following: blog and forum posts, advertisements, poems, jokes, satirical articles, horoscopes, works of fiction, digest messages (“Main news of the day”, “Weekly results,” “Olympics: main figures of the day,” “What happened last night”) and the like.
-
New publications should appear in the feed at least once a week.
-
Exported texts in the feed should not contain advertisements.
Note
The ban on advertisements does not apply to the pages of the resource itself or their Turbo pages.
-
The titles and texts of exported publications should not mislead readers, including regarding the content and authorship of texts, the source of information, etc.
-
Exported texts should not contain spelling and syntax mistakes.
-
The site should have a separate page providing the resource’s publication details and contact information.
-
If you export translated articles, the translation should not be machine-generated.
Title quality recommendations
Look over the title quality criteria.
Good title |
Bad title |
Grammatically correct, neutral, describes the event accurately and thoroughly. |
Contains grammatical, syntactical, or lexical errors. |
Indicates the source of information. |
Contains statements and descriptions of actions by unspecified persons or organizations. |
Does not contain distorted data, phrases, and turns of speech that aim at grabbing the reader’s attention or baiting them. |
Allows distortion of meaning to attract the reader’s attention (clickbait). |
Conforms to lexical, stylistic, and literary norms. |
Contains metaphors, clichés, gibberish, jargon, obscene language. |
Feed requirements
The feed should provide Yandex with information about new publications on your site in XML-based RSS 2.0 format. Specify the encoding in the feed.
The feed size should not exceed 10 MB.
Warning
The feed should be accessible via HTTP or HTTPS.
Example of a feed
<?xml version="1.0" encoding="windows-1251"?>
<rss
xmlns:yandex="http://news.yandex.ru"
xmlns:media="http://search.yahoo.com/mrss/"
version="2.0">
<channel>
<title>Journal of the Russian Geographical Society</title>
<link>http://example.com/</link>
<description>Clear skies expected over most of European Russia for a rare celestial event</description>
<item>
<title>The Moon will cover 70% of the Sun: learn where and at what time the solar eclipse can be seen on October 25, 2022</title>
<link>http://example.com/2023/03/25/yandex.html</link>
<pdalink>http://www.m.example.com/2023/03/25/yandex.html</pdalink>
<description>Clear skies expected over most of European Russia for a rare celestial event</description>
<author>Jane Doe</author>
<category>Events</category>
<media:group>
<media:content
url="http://example.com/video_example.mp4"
type="video/mp4"/>
<media:thumbnail
url="http://example.com/thumbnail.png"/>
</media:group>
<pubDate>Sun, 29 Sep 2023 19:59:01 +0300</pubDate>
<yandex:genre>message</yandex:genre>
<yandex:full-text>According to astronomers' data, people in Western Siberia and throughout European Russia will be able to see how the Moon covers the Sun.</yandex:full-text>
</item>
</channel>
</rss>
Characters and encodings
In the feed, specify the encoding used by your server. The most commonly used encodings are: UTF-8, Windows-1251, KOI8-R.
Encode the following characters in all channel
and item
elements:
Character |
Name |
Replacement code |
& |
Ampersand |
& |
Right pointed bracket |
> |
|
< |
Left angle bracket |
< |
" |
Inverted commas |
" |
' |
Apostrophe |
' |
For example, http://example.com/?id=1&page=10
should be converted to http://example.com/?id=1&page=10
.
If the feed is submitted in the KOI8-R encoding, Windows-1251 characters in the text should be replaced with their KOI8-R equivalents:
Character |
Name |
Replacement code |
... |
Ellipsis |
133 |
— |
En-dash |
150 |
— |
Em-dash |
151 |
' ' |
Single apostophes |
145 and 146 |
" " |
Double apostrophes (quotation marks) |
147 and 148 |
«» |
Angle quotes |
171 and 187 |
No. |
Number |
185 |
RSS 2.0 elements description
The root element of the feed is rss
. The value of the version
attribute must be 2.0
.
<rss
xmlns:yandex="http://news.yandex.ru"
xmlns:media="http://search.yahoo.com/mrss/"
version="2.0">
...
</rss>
Inside the rss
element, there is a channel
element, which includes information about the source and its contents.
The elements that make up the feed are described below.
Information about the source site
Element |
Description |
Required |
The data is sent in the |
||
|
The RSS feed title. If you export the contents of the entire site, specify the site name.
If you export a section of the site, specify the site and section names separated by a colon.
Note The RSS feed title isn't displayed on ya.ru. |
No |
|
Domain of the site from which the data is passed.
Requirements:
|
No |
|
Channel description in one sentence. Don't use HTML markup.
|
No |
|
The article language according to the ISO 639-1 standard.
|
No |
|
Information about the page and its contents. Each To pass the message, specify the following required elements in
Elements within
|
Yes |
Information about the page and its contents
Element |
Description |
Required |
The data is submitted in an |
||
|
Message title.
The The maximum title length is 200 characters. The following is prohibited:
|
Yes |
|
Source page URL.
Requirements:
|
Yes |
|
Time of posting the message on the source site. Sent in the RFC-822 format.
The time specified in the feed must match the actual posting time on the site. Messages from the last 8 days are considered relevant. The rest won't be indexed. |
Yes |
|
Message author.
|
No |
|
Publication text. The
It is prohibited to send the following in the
|
Yes |
|
Can replace
|
No |
|
Link to the mobile-friendly version of the message. Use the
|
No |
|
Brief description of the message (annotation, lead).
|
No |
|
Message genre. Indicated in Latin letters:
|
No |
|
Section (category). Indicate the original name (the same as in the publication) of the section that the message was posted in. Only one section can correspond to one message.
|
No |
|
Group of related media objects. You can specify any number of The
Alert The
|
No |
|
Indicator of a message related to a topic on the partner’s site. As a value, a random event identifier should be specified, duplicated in the JSON file with topics.
|
No |
How to send a feed
-
Place the RSS feed on the site (in the root or another directory). You can also place the feed on a subdomain of the main site.
The files do not appear in the search results, but they will be indexed by the bot, so make sure that the directory isn’t closed to Yandex bots. -
Log in to Yandex. Add the site to Yandex Webmaster and verify your management rights, or get access for your account from the site owner.
-
Go to Yandex Webmaster and select the website for which you want to add the feed.
-
Go to Display in the search → Latest and most important news.
-
Click the Upload feed button and provide the link to the feed.
Yandex Webmaster will check the feed for compliance with the requirements and recommendations described above. You can track the status of the check on the Display in search → Latest and most important news page.
Learn more about the statuses
- “Checking” — the check takes several days;
- “Errors found” — errors were found in the feed. Review and correct them;
- “Uploaded” — the feed is uploaded to Yandex Webmaster and processed. Content may appear in search results.
If there are no errors, feed updates will be enabled automatically, and the submitted content will be included in search results. Yandex does not guarantee that the data will be displayed.
If there are errors:
- Check the error description (View errors button).
- Make changes to the feed.
- In the Feed errors window, click the Recheck button. The feed will be checked within a few days.
How to remove a publication or disable the feed completely
Remove a publication from search
- There are a few standard methods to remove previously indexed content from search.
Stop updating publications
-
To stop passing new publications to search results, disable feed updates:
- Go to Display in the search → Latest and most important news.
- Next to the feed, disable Update.
The submitted publications will still appear in search results, but new ones will no longer be submitted.
Remove the feed from Yandex Webmaster
-
Go to Display in the search → Latest and most important news in Yandex Webmaster and click the
icon next to the feed.
Previously sent content will continue to participate in the search, but new content will no longer be sent.
Updating publications
If you have corrected a typo, changed a title, or added text to a publication on your site, update this publication in the Yandex feed without changing the article’s URL. The bot will reindex the received data, and the current version will appear in the search.
Recommendations for updating publications:
- Update the feed simultaneously with your site or within 5 minutes after updating the site.
- For the Yandex bot to see the changed version of the text on your site, clear the site page cache when updating the feed.
- The sent text and title of the message must match the text and title of the publication on the site page.
- If you have to change the article title, make changes to the
title
element of the feed. - To update the text, make edits to the
yandex:full-text
element of the feed.
Terms
The site is responsible for the accuracy of the data and for the dissemination of illegal information. In the event the terms are violated, Yandex has the right not to use the site data for changing the display in the search results. See the detailed conditions.
Page updated: July 12, 2024.
Change history
- Removed the experiment icon from the page.