I noticed there are a lot of PHP based dynamic text replacement examples out there such as: http://artypapers.com/csshelppile/pcdtr/ Is there anything like this for Ruby / Rails? I know there''s always SiFR but that method is often frustrating because I''ve noticed significant slow down in page load time even on pages that use it sparingly. ---------------------------------------- Jim Jeffers "A trustworthy individual." www.DontTrustThisGuy.com (480) 235-5201 _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
> Is there anything like this for Ruby / Rails?I have something similar in my PHP framework. It''s the perfect approach IMHO. So who''s the first to claim RoR image replacement? If I get around it on time I''ll give it a shot. - Fabien
Can someone explain why I would want to do this? After looking at the example, I just don''t see the usefullness of this feature. On Thu, 15 Dec 2005, Fabien Franzen wrote:>> Is there anything like this for Ruby / Rails? > > I have something similar in my PHP framework. It''s the perfect approach IMHO. > > So who''s the first to claim RoR image replacement? If I get around it on time > I''ll give it a shot. > > - Fabien > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Mainly, its there so you can put your headers in fonts that the user may not have on his PC. On 12/15/05, Ken Bowley <rails-DESCn+CieYk@public.gmane.org> wrote:> > Can someone explain why I would want to do this? After looking at the > example, I just don''t see the usefullness of this feature. > > On Thu, 15 Dec 2005, Fabien Franzen wrote: > > >> Is there anything like this for Ruby / Rails? > > > > I have something similar in my PHP framework. It''s the perfect approach > IMHO. > > > > So who''s the first to claim RoR image replacement? If I get around it on > time > > I''ll give it a shot. > > > > - Fabien > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Got it.. go through a lot of extra work to have someone view a graphic instead of plain text. On Tue, 20 Dec 2005, Andrew Semprebon wrote:> Mainly, its there so you can put your headers in fonts that the user may not > have on his PC. > > On 12/15/05, Ken Bowley <rails-DESCn+CieYk@public.gmane.org> wrote: >> >> Can someone explain why I would want to do this? After looking at the >> example, I just don''t see the usefullness of this feature. >> >> On Thu, 15 Dec 2005, Fabien Franzen wrote: >> >>>> Is there anything like this for Ruby / Rails? >>> >>> I have something similar in my PHP framework. It''s the perfect approach >> IMHO. >>> >>> So who''s the first to claim RoR image replacement? If I get around it on >> time >>> I''ll give it a shot. >>> >>> - Fabien >>> >>> _______________________________________________ >>> Rails mailing list >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> >> >
Right, althogh ideally, once you put the framework in place, it would minimize (or even eliminate) the "a lot of extra work" part, at least on your part (obviously the server still has to slave away serving the images). On 12/20/05, Ken Bowley <rails-DESCn+CieYk@public.gmane.org> wrote:> > Got it.. go through a lot of extra work to have someone view a graphic > instead of plain text. > > On Tue, 20 Dec 2005, Andrew Semprebon wrote: > > > Mainly, its there so you can put your headers in fonts that the user may > not > > have on his PC. > > > > On 12/15/05, Ken Bowley <rails-DESCn+CieYk@public.gmane.org> wrote: > >> > >> Can someone explain why I would want to do this? After looking at the > >> example, I just don''t see the usefullness of this feature. > >> > >> On Thu, 15 Dec 2005, Fabien Franzen wrote: > >> > >>>> Is there anything like this for Ruby / Rails? > >>> > >>> I have something similar in my PHP framework. It''s the perfect > approach > >> IMHO. > >>> > >>> So who''s the first to claim RoR image replacement? If I get around it > on > >> time > >>> I''ll give it a shot. > >>> > >>> - Fabien > >>> > >>> _______________________________________________ > >>> Rails mailing list > >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >>> http://lists.rubyonrails.org/mailman/listinfo/rails > >>> > >> > >> _______________________________________________ > >> Rails mailing list > >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >> http://lists.rubyonrails.org/mailman/listinfo/rails > >> > >> > >> > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Hi, I''ve just implemented the exact thing you are after on our new blog, http://www.vivabit.com/bollocks using RMagick. I''d like to release the code soon but I''ve not got it up to library standard yet (configuration is not as easy as it would need to be for general use). Its a little more complex than the PHP ones posted because we wanted the replaced text to wrap in liquid layouts and we didn''t use the native text rendering because it was a bit nasty and my design collegue is really picky (see this post: http://www.vivabit.com/bollocks/2005/12/19/magick-images-image-replacement-in-liquid-layouts-and-really-really-really-long-headings ) If you can wait untill after xmas I''ll release it as a plugin...when it''s out I''d love some feedback. Cheers, Dan On 12/22/05, Andrew Semprebon <semprebon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Right, althogh ideally, once you put the framework in place, it would > minimize (or even eliminate) the "a lot of extra work" part, at least on > your part (obviously the server still has to slave away serving the images). > > > On 12/20/05, Ken Bowley <rails-DESCn+CieYk@public.gmane.org> wrote: > > Got it.. go through a lot of extra work to have someone view a graphic > > instead of plain text. > > > > On Tue, 20 Dec 2005, Andrew Semprebon wrote: > > > > > Mainly, its there so you can put your headers in fonts that the user may > not > > > have on his PC. > > > > > > On 12/15/05, Ken Bowley <rails-DESCn+CieYk@public.gmane.org> wrote: > > >> > > >> Can someone explain why I would want to do this? After looking at the > > >> example, I just don''t see the usefullness of this feature. > > >> > > >> On Thu, 15 Dec 2005, Fabien Franzen wrote: > > >> > > >>>> Is there anything like this for Ruby / Rails? > > >>> > > >>> I have something similar in my PHP framework. It''s the perfect > approach > > >> IMHO. > > >>> > > >>> So who''s the first to claim RoR image replacement? If I get around it > on > > >> time > > >>> I''ll give it a shot. > > >>> > > >>> - Fabien > > >>> > > >>> _______________________________________________ > > >>> Rails mailing list > > >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > >>> http://lists.rubyonrails.org/mailman/listinfo/rails > > >>> > > >> > > >> _______________________________________________ > > >> Rails mailing list > > >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > >> http://lists.rubyonrails.org/mailman/listinfo/rails > > >> > > >> > > >> > > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- Dan Webb http://www.danwebb.net