RSS <language>Element


RSS 参考手册Complete RSS Reference Manual

Definition and Usage

The <language> element is used to specify the language used when writing the RSS document.


Tips and Notes

Tip:The <language> element allows aggregators to group sites by language.

Tip: See the standard language codes.


Examples

<?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0"> <channel> <title>Example Tutorial Homepage</title> <link>http://www.example.com</link> <description>Free Programming Tutorials</description> <language>zh-cn</language> <item> <title>RSS Tutorial</title> <link>http://www.example.com/rss</link> <description>Example RSS Tutorial</description> </item> </channel> </rss>

Try it Yourself »

RSS 参考手册Complete RSS Reference Manual Other Extensions