#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 Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

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

Pages