Author: as Date: Wed Dec 12 10:53:34 2007 New Revision: 6971 Log: - Added Content-Type information in the tutorial.
Modified: trunk/Feed/docs/tutorial.txt Modified: trunk/Feed/docs/tutorial.txt ============================================================================== --- trunk/Feed/docs/tutorial.txt [iso-8859-1] (original) +++ trunk/Feed/docs/tutorial.txt [iso-8859-1] Wed Dec 12 10:53:34 2007 @@ -255,7 +255,8 @@ Media type `````````` -All ATOM feeds must be identified with the application/atom+xml media type. +All ATOM feeds must be identified with the *application/atom+xml* media type. +Use the getContentType() method of ezcFeed to get this string. Self link @@ -263,6 +264,28 @@ All ATOM feeds should have a *link* feed element with *rel="self"* which points back to the feed itself (with the *href* attribute). + + +RSS1 +---- + +Media type +`````````` + +All RSS1 feeds should be identified with the *application/rss+xml* media type +(although it is not a standard yet). Use the getContentType() method of +ezcFeed to get this string. + + +RSS2 +---- + +Media type +`````````` + +All RSS2 feeds should be identified with the *application/rss+xml* media type +(although it is not a standard yet). Use the getContentType() method of +ezcFeed to get this string. Specifications and RFCs -- svn-components mailing list svn-components@lists.ez.no http://lists.ez.no/mailman/listinfo/svn-components