Return the url of a node. |
|
| see link, path, zena 1.0 | |
This helper displays the full url of the current node. It can be used in html attributes:
<a href='#{url}'>this is a link</a> ===> <a href='http://test.host/oo/page22.html'>this is a link</a>
Or anywhere else (javascript is an idea):
<script type='text/javascript'> digg_url = '<r:url/>'; </script>
You can also specify the node to use:
<r:eval>url(parent)</r:eval>
But this last example might be more readable with:
<r:parent do='url'/>