PSG 1.9.0
Yes, I know it's hard to believe, but there's a new release of Project Steve Guttenberg! This is the end product of nearly a year of developments and improvements, and includes some cool new features:
- A 'trigger' option that runs a command on the server when an article is created, edited or deleted,
- support for referer tracking,
- support for a custom HTML header and footer for articles in the RSS feed, so you can create RSS-only CSS,
- a "view search results in rss" system for searches,
- support for file uploads and enclosures which allows for podcasting,
- support for Google's rel="nofollow" attribute to avoid comment spam.
Download PSG 1.9.0 from the downloads page.
No more comments can be posted to this article.
| << Previous: 80x15 Button | Next: Mailing Lists >> |
Comments:
Posted by simo on Monday, April 25, 2005
function formatArticle($article) {
// convert legacy journal_* classnames to new psg-* classnames:
$article = preg_replace('/<a class="journal_/i', '<a class="psg-', $article);
// array of available symbols/images
$smileys = array(';-)' => 'wink.png',
':-)' => 'smile.png',
':-(' => 'sad.png',
':-p' => 'tongue.png');
// replace text with image
foreach ($smileys as $smiley_text => $smiley_image) {
$article = str_replace($smiley_text, "<img src='smileys/$smiley_image' border=0 alt='$smiley_text'>", $article);
}
return $article;
}