The DynamicRSS PHP Class 1.0
The DynamicRSS PHP Class supports method chaining.
The DynamicRSS PHP Class is possible to generate RSS feed in just two simple PHP statements.
- The first statement simply creates the DynamicRSS object.
- The second statement can be any of the statements presented in the features below.
Key Features of The DynamicRSS PHP Class:
-The db() method is used to setup a connection to the database.
-The query() method defines the query that will pull information from the database
-The channel() method defines information about the feed
-The image() method lets you associate an image with the feed
-The item() method defines information about the feed’s content
-The generate() method produces the feed
- Relative URLs will fire a warning in the feed validator. It is preferred to use absolute URLs in all of your articles for best compatibility with feed reading devices.
- The class currently uses htmlentities() to encode special characters. This function will not invalidate a feed, but it needs to be replaced with a similar xmlentities() function for optimal compatibility.
More popular Web service
- 7.1 KB
- 12/06/2008 22:03:30