MOLTEN wrote in post #965662: > Could you make a really simple app in Rails at say the domain > netflixit.com that allows people to just type in like netflixit.com/ > fantasy/heroes and be instantly directed to the netflix version? So, I > guess it has to convert and change the URL, but I don't know how. The > website would be pretty much blank. The only thing it would be used > for is automatically redirecting to the netflix site. The idea is just > to give people an easier way to find something in a database type site > if they already know what they are looking for. > > This sounds like it would be very easy, but I'm still a beginner in > Rails. I don't even know the correct term for what this would be > called - might be easier to find information if I did :D > > So, does anyone know any tutorials that show how to do this, or at > least know the technical term for this so I can do my own searching?
There are already many sites that do exactly this bit.ly, j.mp, tinyurl.com, etc. Yes, these sites do this for the express purpose of shortening the URL, but what you're describing is really the same thing. Do a Google search for URL shortening scripts and see how they work. That should get you started. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.