The DynamicRSS PHP Class

Software Screenshot:
The DynamicRSS PHP Class
Software Details:
Version: 1.0
Upload Date: 21 Jul 15
Developer: Cory S.N. LaViska
Distribution Type: Freeware
Downloads: 29
Size: 3 Kb

Rating: nan/5 (Total Votes: 0)

The DynamicRSS PHP Class supports method chaining, so it's possible to generate RSS feeds in just two simple PHP statements.

The first statement creates the DynamicRSS object, while the second statement can be any of the statements presented in the features section.

The class can easily be added to any PHP-based product and will help developers produce RSS standards-compliant feeds.

Since the feeds adapt to the database's structure this also means developers can create feeds to whatever kind of content they want syndicated from their site, may it be comments, articles, pages, reviews, star ratings, categories, tags, etc..

Features:

  • 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

Limitations:

  • 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.

Other Software of Developer Cory S.N. LaViska

Comments to The DynamicRSS PHP Class

Comments not found
Add Comment
Turn on images!