📜 ⬆️ ⬇️

HTML tags in RSS, and about RSS in general

  1. Making syndication of the RSS-feed for Habr for his site faced such a problem, all the HTML in <description>, as one would expect, turned into & lt; br / & gt; etc. and now I don’t know how to greet my RSS in a human form.
    Why not just protect <description> with CDATA? What would the proto parser bypass the characters.
  2. And why not to turn on my avatar by the flow pattern, as it was done on LJ?
    <image>
    <url> http://www.habrahabr.ru/avatars/00/00/01/06/01/avatar_1180366720.jpg </ url>
    <title> Nicholass </ title>
    <link> http://Nicholass.habahabr.ru </ link>
    <width> 100 </ width>
    <height> 100 </ height>
    </ image>

')

Source: https://habr.com/ru/post/9484/


All Articles