<?php

// simple demo config for rss feed..

if  (realpath ($_SERVER['SCRIPT_FILENAME']) == realpath (__FILE__))  {
     
/* prevent direct access */  die ( 'to err is human, human!' ); }

// screw yer RFCs! technically, this should be okay..
include 'mail-mash.php';

/*
prefs..    */

$corzblog['host'] = $_SERVER['HTTP_HOST'];
$corzblog['mysite'] = 'corzblog';
$corzblog['blog_url'] = 'http://'.$corzblog['host'].'/devblog/';
$corzblog['host'] = $_SERVER['HTTP_HOST'];
$corzblog['description'] = 'text data in the style of a blog';
$today date('Y-m-d\TH:m:s',time()) . '+00:00' // (mine is GMT +/-00)
$corzblog['blogger'] = 'cor';
$corzblog['mail_addy'] = 'webmaster@'.$corzblog['host'];
$corzblog['blog_file'] = $_SERVER['DOCUMENT_ROOT'].'/devblog/blogz.blog';
$corzblog['version'] = 'rss-demo';

/*
  make a valid xhtml strict "id"
  knicked from corzblog
                              */
function do_valid_id($title) {
    
$title str_replace(' ''-'strip_tags($title));
    
$id_title preg_replace("/[^a-z0-9-]*/i"''$title);
    while (
is_numeric((substr($id_title01))) or substr($id_title01) == '-') {
        
$id_title substr($id_title1);
    }
    return 
trim(str_replace('--''-',$id_title));
}

?>
back to the source menu
test

Welcome to corz.org!

I'm always messing around with the back-end.. See a bug? Wait a minute and try again. Still see a bug? Mail Me!