Here's my first live Camping app, on the undergroun.d!

http://peep.d

I often need to come up with a color scheme that is made from an  
existing color. This little app takes a hex color and shows all the  
combinations of those colors.


An observation and a question:

At first it was including dispatch.fcgi into generated urls (http:// 
peep.d/dispatch.fcgi/colors). I renamed it to dispatch.rb and that  
helped.

However, Camping still adds extra copies of the mount point:

http://peep.d/colors/colors/colors/33/55/ff

It works, but looks a little odd.

I'm using lighttpd with the config from http:// 
code.whytheluckystiff.net/camping/wiki/TheCampingServerForLighttpd. I  
only have one route:

class Index < R '/', '/colors/(\w\w)/(\w\w)/(\w\w)'

The offending link is generated with a splatted array of three strings:

R(Index, *color)


Does anyone have ideas about what I'm doing wrong?

Geoff

_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to