Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
Current version:
0.01
About It:
Get it:
Rate it:
  • Helpful?
  • 2 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!

mg_setheader

This plugin allows one to set the Content-Type header for any Txp page. This allows you to (for example) serve up a valid RSS feed from a standard page template.

Information page: http://www.dev.michaelgravel.com/text/plugin-mg_setheader

Credit where it’s due:

The code for this was gleaned from a post Sencer contributed to in the Txp forum. So, just for clarity: I did some minor tweaks to his code and made it available. Enjoy.

Article Request Count:
Initially released:
July 20, 2007
Posted here:
10 Aug 2007

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

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

Commented (2)

Pat64:

Tks lot, Mike!
Seems to be a good solution for this tutorial : custom rss feeds

Cheers.

Thanks for this, I’ve created a useful georss feed based on your plugin (before I found the link to Isaac Bowen’s page!).

I am not passing the full article body or excerpt with the feed but using the same Custom fields to produce a snippet of text and image in the overlay markers that are used either in Google Maps or others. Also, I’ve limited the feed to those posts containing geo-info only.

A very useful plugin and clear information page you have – Cheers :)

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