And one way to make a feed discoverable is to link it up in the of your site. It doesn’t help to have a feed if no one knows about it. Like most things on the web, there are things we can do to optimize our work to get the most out of it. Let’s look at some best practices for making feeds. Unless your application has a specific use case that requires a specific format (like podcasts), it doesn’t hurt to provide multiple formats, but RSS and Atom have the most support. You might think that the size of the file could be a possible difference, but compression reduces them all to just a few kilobytes apiece. Other than these things, there are only minor differences between them. RSS uses the tag (or the content extension) which either contains XML-escaped HTML or the HTML unescaped in a tag. Atom uses the content tag with type=html containing XML escaped HTML. JSON uses the content_html key containing JSON escaped HTML.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |