Re: [Radiant] Re: Create Permalink Dynamically
Oh. oops. Definitely keep that in mind when you upgrade. On Tue, Mar 13, 2012 at 10:54 AM, john wrote: > ah. didn't realize you were using an old version of radiant. if you ever > upgrade you'll need to replace with > > > On Tuesday, March 13, 2012 9:46:18 AM UTC-5, Bentley78 wrote: >> >> Actually works. So data-href=http://www.example.com> > seems to work great. I trolled through the mailing lists and found >> it. >> >> On Mar 13, 10:13 am, john wrote: >> > thanks jim. i was thinking of . >> > >> > >> > >> > >> > >> > >> > >> > On Tuesday, March 13, 2012 5:50:07 AM UTC-5, Jim Gay wrote: >> > >> > > I think you mean >> > > A > > >> > > -- >> > > 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 wrote: >> > >> > > what abouthttp://example.com? 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: >> > >> ` >> > >> (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'));` >> > >> > >> `http://example.com"; >> > >> data-num-posts="2" data- >> > >> width="470">` >> > >> > >> 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. -- Write intention revealing code #=> http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Re: Create Permalink Dynamically
Use The output of will include the domain in the future when we support multiple sites On Tue, Mar 13, 2012 at 10:46 AM, Bentley78 wrote: > Actually works. So data-href=http://www.example.com> seems to work great. I trolled through the mailing lists and found > it. > > On Mar 13, 10:13 am, john wrote: >> thanks jim. i was thinking of . >> >> >> >> >> >> >> >> On Tuesday, March 13, 2012 5:50:07 AM UTC-5, Jim Gay wrote: >> >> > I think you mean >> > A > >> > -- >> > 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 wrote: >> >> > what abouthttp://example.com? 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: >> >> ` >> >> (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'));` >> >> >> `http://example.com"; >> >> data-num-posts="2" data- >> >> width="470">` >> >> >> 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. -- Write intention revealing code #=> http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Re: Create Permalink Dynamically
thanks jim. i was thinking of . On Tuesday, March 13, 2012 5:50:07 AM UTC-5, Jim Gay wrote: > > I think you mean > A > -- > 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 wrote: > > what about http://example.com? 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: >> ` >> (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'));` >> >> >> `http://example.com"; >> data-num-posts="2" data- >> width="470">` >> >> 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. >> >
Re: [Radiant] Re: Create Permalink Dynamically
I think you mean A http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571 403 0338 On Mar 12, 2012, at 9:57 PM, john wrote: > what about http://example.com? 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: > ` > (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'));` > > > `http://example.com"; > data-num-posts="2" data- > width="470">` > > 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.