Skip to content

Latest commit

 

History

History
60 lines (52 loc) · 1.99 KB

elementy_aug-2024.md

File metadata and controls

60 lines (52 loc) · 1.99 KB

Elementy Science POTD

<rss version="2.0">
    <channel>
        <title>"Элементы": картинки дня</title>
        <link>https://elementy.ru/</link>
        <description/>
        <lastBuildDate>06 Aug 2024 11:01:00 +0300</lastBuildDate>
        <image>
            <title>"Элементы": картинки дня</title>
            <url>http://elementy.ru/images/eltdesign/title.gif</url>
            <link>https://elementy.ru/</link>
        </image>
        <item>
            <enclosure type="image/jpeg" url="https://elementy.ru/images/kartinka_dnya/potd_diodon_1_703.jpeg"/>
            <category>Ихтиология</category>
            <description/>
            <link>https://elementy.ru/kartinka_dnya/1921/Kolyuchiy_shar</link>
            <pubDate>05 Aug 2024 05:33:29 +0300</pubDate>
            <title>Колючий шар</title>
        </item>
        <item>
        ...

Channel Item

<item>
    <enclosure 
        type="image/jpeg" 
        url="https://elementy.ru/images/kartinka_dnya/potd_diodon_1_703.jpeg"/>
    <category>Ихтиология</category>
    <description/>
    <link>https://elementy.ru/kartinka_dnya/1921/Kolyuchiy_shar</link>
    <pubDate>05 Aug 2024 05:33:29 +0300</pubDate>
    <title>Колючий шар</title>
</item>
  • title - is a name of picture.
  • category - category of science.
  • enclosure
    • type - attached media type.
    • url - url to image preview.
  • link - article link.
  • pubDate - the date-time of image publication.

Url of the original image contain in eclosure::url attribute. Just remove image resolution marker _703 coming before a file extension. See next example:

item : enclosure : url
https://elementy.ru/images/kartinka_dnya/potd_diodon_1_703.jpeg
https://elementy.ru/images/kartinka_dnya/potd_diodon_1.jpeg

⚠ Sometimes there is no full size image, so the image file has wrong size about 1x1 px.