What you can try now, is to make it pass the validator:
http://tinyurl.com/page-validator [validator.w3.org]
Sry, wrong URL
http://tinyurl.com/page-validator2
On Sun, Apr 04, 2010 at 04:08:03AM -0300, Axel Bayerl wrote:
> What you can try now, is to make it pass the validator:
>
> http://tinyurl.com/page-validator [validator.w3.org]
I want to comment on this:
page validation is an illusion, because there are no "web standards"
except for what the bro
Hi,
First, thanks for the feedback :) Let's comment some of your points
> This code is horrible
Thanks to mails like yours I'll try to improve it. Take into account
that it is the very first version.
> # grep thinks the second argument is a file
> > BL="^index.md$ ^images$" # Black list
> BL
I don't like URLs with "sw.cgi" in them or the .md suffix.
Why CGI? I prefer the compiler type approach of ikiwiki.info
The first bit of code with the window.location= can surely be done
better with an Apache CGI catchall redirect thing. Same does for the
next block which I assume is some sort of
>> # grep thinks the second argument is a file
>> > BL="^index.md$ ^images$" # Black list
>> BL="^index.md$\|^images$" # Black list
>
> Wrong, take a look at this line:
> BL=`echo ${BL} | sed -e "s/\( \+\|^\)/ -e /g"`
Yes, -e allows you to do this. However, in the original code you had
> BL="^i
On Sat, Apr 3, 2010 at 11:51 PM, Nibble wrote:
> Hi,
>
> I'm writing a little (68 LOC) "web-framework" is sh. I think that the
> most remarkable features are:
> * Markdown support
> * Only depends on some standard commands: 'echo', 'grep', 'ls' and
> 'sed'.
> * Easy configuration
> * Create a web
On Sun, 4 Apr 2010 15:40:44 -0400
Andrew Antle wrote:
> Hi nibble -
>
> I really like sw. I've wanted to run werc on my server, but I can't
> run 9base; plus I understand sh a bit more than rc (must be rectified
> :). One thing I've noticed is that files with dashes in the name cause
> sw to go
I just want to say thanks for reminding me how absolutely hideous sh
scripts are and to stay away from them.
I honestly can't see why anyone would willfully write anything in sh
anymore (of course, plain sh is better than using bash, ksh or any
other horrible extensions of an already awful thing).
On 05/04/10 00:02, Uriel wrote:
I just want to say thanks for reminding me how absolutely hideous sh
scripts are and to stay away from them.
I honestly can't see why anyone would willfully write anything in sh
anymore (of course, plain sh is better than using bash, ksh or any
other horrible
Ugh, HTML-Mail
I'm so not going to read this. Please change your mail client to something sane.
On Mon, Apr 05, 2010 at 12:32:58AM +0200, Paul Malherbe wrote:
>
>
>
>
>
>
> On 05/04/10 00:02, Uriel wrote:
> cite="mid:g2m5d375e921004041502xe31f4cby6cfae45b67e18...@mail.gmail.com"
> type=
On Mon, Apr 05, 2010 at 01:50:29AM +0200, c...@wzff.de wrote:
> [...]
> Ugh, HTML-Mail
> [...]
And not only that, but also a full top quote. Actually, that was about
the worst mail I ever had the displeasure to read.
pgpzNDFp4KwZp.pgp
Description: PGP signature
On Sun, 4 Apr 2010 04:10:31 -0300
Axel Bayerl wrote:
> Sry, wrong URL
>
> http://tinyurl.com/page-validator2
>
Fixed, although I found some validation errors with blocks like
..., which are related to md2html (coded by
yiyus). Maybe he could fix it, but I don't know if it really deserves
the e
Awesome i will give it a go.
On Sun, Apr 04, 2010 at 05:51:52AM +0200, Nibble wrote:
> Hi,
>
> I'm writing a little (68 LOC) "web-framework" is sh. I think that the
> most remarkable features are:
> * Markdown support
> * Only depends on some standard commands: 'echo', 'grep', 'ls' and
> 'sed'.
Hi,
On Sun, 4 Apr 2010 17:49:18 +0100
Kai Hendry wrote:
> I don't like URLs with "sw.cgi" in them or the .md suffix.
You can use the name that you want, just rename sw.cgi and edit the
variable "BIN="/sw.cgi". Then configure your http server for treating
that file or the files under the directo
Hey all,
Mostly for fun, here's a simple replacement for xprop. It's 64 LOC,
compared to xprop's god-knows-how-many. It needs to be linked with
Xlib. Something like:
$ cc -o sprop sprop.c -lX11
It doesn't have the same arguments as xprop, but it can replace xprop
in surf's config.h like so:
12,1
On 5 April 2010 02:08, Connor Lane Smith wrote:
> Mostly for fun, here's a simple replacement for xprop.
A slightly improved version. (Sorry for the spam, I'm a perfectionist.)
cls
sprop.c
Description: Binary data
17 matches
Mail list logo