Open source blogging system

Christos Ricudis ricudis at komodino.itc.auth.gr
Thu Feb 3 16:30:16 EET 2005


Nikos Dimitrakopoulos wrote:

> Costas Barakitis wrote:
>
>> Paides, kana kalo blog system pou na vasizetai se open source 
>> kserete? Thanks.
>>
> an den kanw lathos ta blogs einai ta rss feeds swsta???? an nai tote 
> firefox/thunderbird sou kanoun mia xara (isws me kapoia extensions)

Oxi, blog einai kati poy ftiaxnetai kapws etsi :


#!/bin/bash
if [ "$#" -lt "2" ] ; then echo "Usage : $0 subject body" ; else if [ -f 
~/public_html/blog/header.html ] ; then cp 
~/public_html/blog/header.html ~/public_html/blog/index.html ; else echo 
"<html><head><title>My blog</title></head><body><p>This is my little 
cute blog<br><br></p>" > ~/public_html/blog/header.html ; cp 
~/public_html/blog/header.html ~/public_html/blog/index.html ; fi ; echo 
"<hl><br><h2>Date : `date`<br>Subject : $1</h2><br><p>$2</p><br><br>" >> 
~/public_html/blog/blog.html ; cat ~/public_html/blog/blog.html >> 
~/public_html/blog/index.html ; if [ -f ~/public_html/blog/footer.html ] 
; then cat ~/public_html/blog/footer.html >> 
~/public_html/blog/index.html ; else echo "<br><br>That's all 
folks!</body></html>" > ~/public_html/blog/footer.html ; cat 
~/public_html/blog/footer.html >> ~/public_html/blog/index.html ; fi ; fi


8elw 20eu gia na to bgalw se GPL.

-- 
Christos Ricudis				ricudis at itc.auth.gr
Systems Administrator				+30-2310-998305
IT Support Center
Aristotles University of Thessaloniki, GREECE




More information about the Linux-greek-users mailing list