Skip to content

Instantly share code, notes, and snippets.

View michaelkpate's full-sized avatar

Michael K Pate michaelkpate

View GitHub Profile
@michaelkpate
michaelkpate / rss_suparchive.php
Last active September 11, 2015 14:52 — forked from readingtype/rss_suparchive.php
Modify Textpattern plugin, http://www.wilshireone.com/textpattern-plugins/rss-suparchive. Format the excerpt with Textile if appropriate
// rss_suparchive article listing plugin
// by Rob Sable
// http://www.wilshireone.com
// Version 0.1 - 11/02/2004
// Full revision history at http://www.wilshireone.com/textpattern-plugins/rss-suparchive
// Version 0.16.1 - 01/09/2006 - Fix broken file downloads. Fix inadvertent date filtering on article pages.
// Version 0.17 - 08/08/06 - Change categories to display title instead of name.
// Version 0.18 - 08/09/06 - Add showcommentscount, showzerocount, countprefix, countsuffix to suparchive and suparchive_bycat. Change to use strftime for date formatting to allow for localization. Add wildcard and exclude format for section attribute on all 3 tags. (thanks Andrew).
// 20120301 BW Add ability to decode Textile markup in excerpts. * if other markup is used this probably won't work, but if USE_TEXTILE is false it will return the raw text. See rss_format() below *