#15 new
James Adam

Dynasnips should be able to take arguments from the url

Reported by James Adam | June 4th, 2008 @ 01:58 AM | in 0.6

Wirhin the body of a dynasnip, I should be able to call something like

def handle(name=nil)
  name = arg(:name)
  # ...
end

And have the value in 'name' be set either via snips parameters:

{dyna my-name}

Or have the value come from the URL:

http://site/dyna?name=my-name

An example this would be useful for is paginating the 'kind' dyna for going back into blog history.

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A sort of meta-wiki thing

People watching this ticket