• View
  • Changes
  • Options
  • Related
  • Edit
  • Table of Contents
    1. Examples
    2. How To
    3. Tips

    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.

     

    Examples

    Given that this card exists:

     

    ...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|naked}}{{_right|name}}]]

     

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

     

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

     

     


     

     

    You could put [[/card/edit/_self+*tform|edit the {{_self|name}} form]] on the form for Cardtypes and it will generate a link to edit that Cardtype's form.

     

    How To

    --
     

    Tips

    • By combining this with iframes and the HTML Cardtype, you can show the results at that moment of any web service that can be accessed via regular web addresses — e.g. Twitter & RSS feeds
    • You might think the double brackets are unnecessary. Wagn does try to recognize web addresses 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.
    • Also see web address for everything and contextual card names.
     
  • View
  • Changes
  • Options
  • Related
  • Edit
  • discussion goes here


    This doesn't actually work. The example doesn't work.

      --Patrick Gibbs.....Mon Mar 08 17:59:18 -0800 2010


    Tickets relevant to contextual generation of web addresses

     

  • View
  • Changes
  • Options
  • Related
  • Edit
  • Documentation

    Support | Community

    Hosting and Consulting


    Download

     

    Request an account on Wagn.org

     

  • View
  • Changes
  • Options
  • Related
  • Edit
  • Wagn 1.0 Released!

     

    Wheeled by Wagn v. 1.3.0.