logo       

A New App, and A Question: msg#00004

lang.ruby.camping.general

Subject: A New App, and A Question

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise