Playing with phosxom
Cool! There is PHP version of blosxom named phosxom. I'll have to try it out. Boy, that was easy. I did have to make a few changes:
1) The $blog_id.id stuff appears to be phosxom specific. I changed it to match blosxom, thus:
if (substr($fname,strrpos($fname,'.')+1) == "txt") {
2) The template format is different than blosxom's (actually, phosxom's is considerably more powerful). For now, I simply converted the formats on the fly with the following
ereg_replace("(\\$[[:alnum:]]+)", "<?=\\1?>", fread($fd,filesize($fname)));
3) Blosxom uses $ti for the post time, phosxom uses $time. Again, I like phosxom's better, but for now I switch this to conform to blosxom.
Sweet!
In this case, I prefer the blosxom approach. See share.. where it says "Sharing a single Blosxom install amongst multiple webloggers is as simple as creating a folder for each person.".
Posted by Sam Ruby at
Phosxom come from blosxom, so it support all it's features.
phosxom 0+1i work in the same way like blosxom. From 0+2i I started diretory hiearchy.
You can still have sublogs just with creating a directory. You can put different head.html, foot.html and story.html in the sublog. So /computers can be with different look from /personal. What I7m trying now is some option to create or now combined blog from subdirectories.
Posted by Stoyan Zhekov at
Hi Sam,
sorry for disturb again. I tried to figure what is the difference between blosxom and phosxom directory handling. From you post:
Sam> I prefer blosxom approach
For me - blosxom 0+5i and phosxom deal with dirs in the same way - for given dir they display all entries in the current dir AND IN THE SUBDURS. Is you post about share...
blosxom 0+4i related? Is the file.id the only difference?
Regards,
Posted by Stoyan Zhekov at
Phosxom 0+4i
The new phosxom version - 0+4i is up and running ;) What's new and changed: Name of some outputs changed. Now RSS 0.92 - /rss, RSS 3.0 - /rss30. That's why the URL for the default RSS feed is already:...Excerpt from Stoyan Zhekov's Weblog : computers : programming : phosxom at
$blog_id.id is my trying to support several blogs in one directory hierarhy. Just get some id for each blog:
$blog_id='mylog1';
and put mylog1.id file in each directory which you want to belong to this blog.
Still working on this - maybe passing blog_id like a GET parameter.
Posted by Stoyan Zhekov at