Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
About It:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

Clean feed URLs

This modification exists as a single file. It should be downloaded and renamed to ‘atom’ or ‘rss’, and reside in your desired directory with all of your other extensionless files. No modifications are needed to the file.

There are only a two small weaknesses that I can think of with this current version. First, it makes 1-2 additional database queries than the rss.php and atom.php if you’re requesting a section and a category. Second, it’ll become confused if you’re using categories and sections of the same name (something you really should avoid anyways).

So here are several example URLs:

  • http://domain.foo/rss/
  • http://domain.foo/rss/999/ (limit of 999 articles)
  • http://domain.foo/atom/link/5/ (limit of 5 links)
  • http://domain.foo/atom/photo/50/ (section ‘photo’ limit of 50)

Read the rest at the Information URL below.

Article Request Count:
Initially released:
27 November 2004
Posted here:
17 Dec 2004
Article modified:
17 Mar 2005

If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern