You are not logged in.

#1 2010-05-30 17:20:14

AddiKT1ve
Member
From: France
Registered: 2008-08-22
Posts: 47
Website

shblog - where there is a shell, there is a blog

Hey guys.

Just thought about releasing shblog to the Arch people. Btw, I don't know if I should propose a git-PKGBUILD on the AUR... Please help me to figure it out.

shblog is not litteraly speaking a blog engine, but more likely a blog generator. As does nanoblogger, shblog generates HTML files from your data/ directory: index, singles and sidebar ATM. I plan to add "static pages" (haha) but I'm currently thinking about a smart way to generate them without a total copy/paste of the current posts generation process.

The installation process is quite simple:

0°/ git clone git://github.com/addikt1ve/shblog.git ;
1°/ Edit $HOME/shblog/shblog and modify BASEDIR, plus edit conf/shblog.conf following your needs ;
2°/ ln -s /srv/http/shblog $HOME/shblog/static ;
3°/ ...
4°/ PROFIT!

Some basic commands you should know:

shblog post <post-title> # lets you write a new post, then generates its HTML file and regenerates your blog's index
shblog gen index # regenerates index
shblog gen single <post-ID> # regenerates post n°<post-ID>
shblog update # if you modified something under your data/ directory (i.e any .shpost), shblog will regenerate it
shblog clean # deletes data/*, static/* (excepted themes), rss.xml and the timestamps database [might be improved, along with other things of course]

I suggest you to export PATH=$HOME/shblog:$PATH so you'll be able to use the shblog command.

*Please* send me feedbacks, bug reports or any suggestion that would make shblog better smile.


##hippie irc.freenode.net

Offline

#2 2010-05-31 02:04:51

steve___
Member
Registered: 2008-02-24
Posts: 452

Re: shblog - where there is a shell, there is a blog

Hello,

You might find this[1] thread of interest.

[1] http://lists.suckless.org/dev/1004/3700.html

Offline

#3 2010-05-31 06:11:08

AddiKT1ve
Member
From: France
Registered: 2008-08-22
Posts: 47
Website

Re: shblog - where there is a shell, there is a blog

I didn't know sw yet, while werc seemed too heavy to me. I'll take a look. Thanks steve__ !


##hippie irc.freenode.net

Offline

#4 2010-05-31 11:06:43

Hiato
Member
Registered: 2009-01-21
Posts: 76

Re: shblog - where there is a shell, there is a blog

Heh, and there I was making one of these guys not a week ago. Mine's literally a four scripts that: Add entries and refresh the index; create a comments page; check an email address for comments; markdown comments and add to the correct page.

I'll check out your code later, but this only goes to prove that if an idea's worth having once... wink

EDIT: I'll be happy to share mine upon request

Last edited by Hiato (2010-05-31 11:33:43)

Offline

#5 2010-05-31 13:41:39

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: shblog - where there is a shell, there is a blog

nice.. another bloatless blogging solution. Wonder how it compares to http://blaze.blackened.cz/


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#6 2010-06-03 10:48:24

Hiato
Member
Registered: 2009-01-21
Posts: 76

Re: shblog - where there is a shell, there is a blog

Just tested it now, and wow, nicely done - puts mine to shame. Impressive [:

Offline

#7 2010-06-03 15:16:55

aznblur
Member
Registered: 2010-02-09
Posts: 20

Re: shblog - where there is a shell, there is a blog

I gotta say, this is pretty neat.

Although, for some reason, the timestamp shows up correctly on the main page, but when I click the post permalink, the date reverts to 28th May, 2010.

Offline

#8 2010-06-03 15:32:31

AddiKT1ve
Member
From: France
Registered: 2008-08-22
Posts: 47
Website

Re: shblog - where there is a shell, there is a blog

aznblur wrote:

I gotta say, this is pretty neat.

Although, for some reason, the timestamp shows up correctly on the main page, but when I click the post permalink, the date reverts to 28th May, 2010.

I think you generated the post packaged with shblog. It dates back to 27th May, though.

Thanks for your compliments smile. I'm bothering with archives, now (by date, by tag, by author...).

Last edited by AddiKT1ve (2010-06-03 15:34:11)


##hippie irc.freenode.net

Offline

#9 2010-06-25 11:15:23

AddiKT1ve
Member
From: France
Registered: 2008-08-22
Posts: 47
Website

Re: shblog - where there is a shell, there is a blog

shblog 0.5 has been released this morning.
It is a major release!

By the way, shblog is now available on the AUR (shblog-git package) and installed thanks to install.sh.


##hippie irc.freenode.net

Offline

#10 2010-07-08 17:25:43

dkorzhevin
Member
From: Kiev, Ukraine
Registered: 2010-04-23
Posts: 61

Re: shblog - where there is a shell, there is a blog

Good initiative, but unfortunately there are problems when creating new blog pages in Russian. Also, I never could figure out where the program generates html pages. Perhaps it would be better to join the development nanoblogger?

Offline

#11 2010-07-15 17:00:46

dkorzhevin
Member
From: Kiev, Ukraine
Registered: 2010-04-23
Posts: 61

Re: shblog - where there is a shell, there is a blog

Is there any news on shblog development?

Offline

#12 2010-08-01 09:38:27

AddiKT1ve
Member
From: France
Registered: 2008-08-22
Posts: 47
Website

Re: shblog - where there is a shell, there is a blog

Hi. I haven't been working on shblog for a while... May correct some bugs and/or add features during summer.

You should submit a bug report concerning the Russian language on github. Thanks wink.


##hippie irc.freenode.net

Offline

Board footer

Powered by FluxBB