News for hackers. Stuff that matters.
Re:Ask YC: Review my app (Panoye) by puzz on Saturday September 27, 2008 @10:46AM (#316920)
Thanks for your observations. I'll make a panorama author link more visible.

Permalinks are a problem, I agree. I would, for example, like to have links like panoye.com/country/city/panorama-name.html but the problem is with google maps. When you signup for your gmap key - you have ONE key for ONE directory on the web server (for example country/city/). It means that I should have (and use) houndreds of gmap API keys :(

Thank you again for your comment!

Re:Ask YC: Review my app (Panoye) by seano on Saturday September 27, 2008 @11:36AM (#316947)
You can just get the API key for your domain name, http://panoye.com/, and it will work for all directories in that domain.
Re:Ask YC: Review my app (Panoye) by puzz on Sunday September 28, 2008 @12:58PM (#317666)
I tried it once when starting with gmaps API. But, I probably did something wrong then.

Thank you (both) for pointing out that I was wrong. I'll look at the javascript API again and see what can be done.

Re:Ask YC: Review my app (Panoye) by bmelton on Saturday September 27, 2008 @11:13AM (#316934)
That really only applies to the file/script accessing the map. If you're using .hosts files and mod_rewrite, you can just interpret /country/city/panorama-name as parameters and call the maps API from a central script located in the root.