Home Recent
Request an Invitation Sign in
Feature Page

With Wagn's inclusions, you can construct web addresses that are context-sensitive, drawing on all or part of the name of the card the address is on, and/or other card contents.



Page


Page

Given that this card exists:

www.google.com/search?q=


...and that this card is named contextual generation of web addresses+example — which means that _right will be interpreted as "example",

 

This:
[[http://{{Google base URI|raw}}{{_right|name}}]]

generates a web address for a Google search on "example":

http://www.google.com/search?q=example



Page
  • By combining this with iframes and the HTML Cardtype, you can show the actual results of dynamic queries to any REST-compatible web service.
  • You might think the double brackets are unnecessary - Wagn does try to recognize URIs automatically, but because it does so before it renders inclusions, we have to put double brackets around this so that it renders the inclusion first.


Tickets relevant to contextual generation of web addresses:


Add +discussion