ah. didn't realize you were using an old version of radiant. if you ever 
upgrade you'll need to replace <r:url/> with <r:path/>

On Tuesday, March 13, 2012 9:46:18 AM UTC-5, Bentley78 wrote:
>
> Actually <r:y=url> works.  So data-href=http://www.example.com<r:url / 
> > seems to work great.   I trolled through the mailing lists and found 
> it. 
>
> On Mar 13, 10:13 am, john <[email protected]> wrote: 
> > thanks jim. i was thinking of <r:path/>. 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > On Tuesday, March 13, 2012 5:50:07 AM UTC-5, Jim Gay wrote: 
> > 
> > > I think you mean <r:path /> 
> > > A <r:link would include the <a href=... 
> > 
> > > -- 
> > > Write intention revealing code #=>http://www.clean-ruby.com 
> > 
> > > Jim Gay 
> > > Saturn Flyer LLC 
> > > 571 403 0338 
> > 
> > > On Mar 12, 2012, at 9:57 PM, john <[email protected]> wrote: 
> > 
> > > what abouthttp://example.com<r:link/>? <r:link/> should return 
> something 
> > > like /path/to/page/ or /2012/03/12/slug/ if you're using the archive 
> > > extension. 
> > 
> > > On Monday, March 12, 2012 8:32:28 PM UTC-5, Bentley78 wrote: 
> > 
> > >> I'm trying to add facebook comments to my site and when I get teh 
> code 
> > >> I"m presented with the following: 
> > >>  `<div id="fb-root"></div> 
> > >>       <script>(function(d, s, id) { 
> > >>       var js, fjs = d.getElementsByTagName(s)[0]; 
> > >>       if (d.getElementById(id)) return; 
> > >>       js = d.createElement(s); js.id = id; 
> > >>       js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; 
> > >>       fjs.parentNode.insertBefore(js, fjs); 
> > >>       }(document, 'script', 'facebook-jssdk'));</script>` 
> > 
> > >>      `<div class="fb-comments" data-href="http://example.com"; 
> > >> data-num-posts="2" data- 
> > >> width="470"></div>` 
> > 
> > >> What I'd like to do is where the "data-href" resides I'd like to 
> > >> create 
> > >> a permalink to my page/pot dynamically.  is there a radiant tag or 
> > >> something similar to do this?  I can't seem to find one.

Reply via email to