Google Groups Home
Help | Sign in
Please limit API to site, not a directory
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  17 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Adrian Holovaty  
View profile
 More options Jun 30 2005, 2:29 am
From: "Adrian Holovaty" <chicagocr...@gmail.com>
Date: Wed, 29 Jun 2005 23:29:18 -0700
Local: Thurs, Jun 30 2005 2:29 am
Subject: Please limit API to site, not a directory
This has been brought this up in a previous thread, but I want to give
it more attention, because I see it as a serious issue.

The way the API limits use to a particular *directory*, instead of a
particular *site*, is too limiting.

For example, on chicagocrime.org, every crime reported in Chicago has
its own URL. It looks like this:

http://www.chicagocrime.org/2005/jun/14/12am/hl419247/

Each crime page has (had) a Google map on it. With the API, that's not
possible, because the API limits a key to a directory. I would have to
register a specific API key for each crime in the system.

About 1,000 crimes get added each day.

The problem is that this setup "punishes" clean, pretty URLs such as
the ones I'm using. If I used ugly abominations such as
http://www.chicagocrime.org/?crime=2005/jun/14/12am/hl419247/, it would
work as is. But that would be an ugly abomination.

Yes, I could use iframes, but those aren't ideal. That would require
separate server-side code that's unnecessarily complex.

I'm not sure what the goal of the directory limit is, but in this
particular case it doesn't make sense. Please let the API be used on a
per-*site* basis instead of a per-directory basis.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shaine  
View profile
 More options Jun 30 2005, 2:37 am
From: "Shaine" <sha...@gmail.com>
Date: Thu, 30 Jun 2005 06:37:58 -0000
Local: Thurs, Jun 30 2005 2:37 am
Subject: Re: Please limit API to site, not a directory
I know it's ugly, but you can still make the url almost the same as
original by doing it like this..
http://www.chicagocrime.org/?jun/14/12am/hl419247/

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adrian Holovaty  
View profile
 More options Jun 30 2005, 2:41 am
From: "Adrian Holovaty" <chicagocr...@gmail.com>
Date: Wed, 29 Jun 2005 23:41:22 -0700
Local: Thurs, Jun 30 2005 2:41 am
Subject: Re: Please limit API to site, not a directory
Nooooo!

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mookie  
View profile
 More options Jun 30 2005, 3:02 am
From: "mookie" <ben.coch...@gmail.com>
Date: Thu, 30 Jun 2005 00:02:47 -0700
Local: Thurs, Jun 30 2005 3:02 am
Subject: Re: Please limit API to site, not a directory
This is the same problem I'm running into. I'm unable to make my URLs
look nice. I hope they get the key system worked out quickly. I'd like
to take my site live sometime soon, but I want it to look spiffy also.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
james.kew@gmail.com  
View profile
 More options Jun 30 2005, 4:05 am
From: "james....@gmail.com" <james....@gmail.com>
Date: Thu, 30 Jun 2005 08:05:01 -0000
Local: Thurs, Jun 30 2005 4:05 am
Subject: Re: Please limit API to site, not a directory
FWIW, this would also open up some creative uses of GMaps on Blogger,
by allowing maps in blog entries. (Under Blogger, main and archive
pages appear at top-level; individual post pages in year/month
subdirectories; so one GMaps key won't cover a post for all URLS it
appears on.)

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony  
View profile
 More options Jun 30 2005, 7:15 am
From: "Tony" <anthonypet...@gmail.com>
Date: Thu, 30 Jun 2005 11:15:24 -0000
Local: Thurs, Jun 30 2005 7:15 am
Subject: Re: Please limit API to site, not a directory
Bret did mention in one of the previous posts that they are looking
into how they can better the API key system.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
twatson@gmail.com  
View profile
 More options Jun 30 2005, 4:00 pm
From: "twat...@gmail.com" <twat...@gmail.com>
Date: Thu, 30 Jun 2005 20:00:20 -0000
Local: Thurs, Jun 30 2005 4:00 pm
Subject: Re: Please limit API to site, not a directory
I've run into the problem that since I registered my api key without
the www in the domain name any time you use the www in the url it
rejects the user.  If google must limit it to a directory I just hope
they remove this limitation so both http://www.sitename.com/maps/ and
http://sitename.com/maps/ works.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan.MacCarthy@gmail.com  
View profile
 More options Jul 1 2005, 4:41 am
From: "Ryan.MacCar...@gmail.com" <Ryan.MacCar...@gmail.com>
Date: Fri, 01 Jul 2005 01:41:54 -0700
Local: Fri, Jul 1 2005 4:41 am
Subject: Re: Please limit API to site, not a directory
I also support the domain based API vs. the director-based version.

http://metrofreefi.com has at least 50 different subdomains, plus the
www additions, plus the subdirectory issue with individual locations.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cowfishbill  
View profile
 More options Jul 1 2005, 5:22 pm
From: "cowfishbill" <billy.abb...@gmail.com>
Date: Fri, 01 Jul 2005 14:22:01 -0700
Local: Fri, Jul 1 2005 5:22 pm
Subject: Re: Please limit API to site, not a directory
I get around this by embedding the map in an iframe hitting a dynamic
page that is in a dir that you have the kye for. Using iframes makes me
feel on the unclean side, but it gets around the problem.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sir.whilms@gmail.com  
View profile
 More options Jul 1 2005, 6:59 pm
From: "sir.whi...@gmail.com" <sir.whi...@gmail.com>
Date: Fri, 01 Jul 2005 15:59:45 -0700
Local: Fri, Jul 1 2005 6:59 pm
Subject: Re: Please limit API to site, not a directory
See this thread:
http://groups-beta.google.com/group/Google-Maps-API/browse_thread/thr...

I posted a tidy, basic scipt to solve that problem.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan  
View profile
 More options Jul 1 2005, 9:59 pm
From: "Ryan" <Ryan.MacCar...@gmail.com>
Date: Fri, 01 Jul 2005 18:59:39 -0700
Local: Fri, Jul 1 2005 9:59 pm
Subject: Re: Please limit API to site, not a directory
Bret has also addressed this earlier...  No solution yet, but it's
encouraging to know the team is on it.

http://groups-beta.google.com/group/Google-Maps-API/browse_thread/thr...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
miken32@gmail.com  
View profile
 More options Jul 2 2005, 1:17 am
From: "mike...@gmail.com" <mike...@gmail.com>
Date: Fri, 01 Jul 2005 22:17:08 -0700
Local: Sat, Jul 2 2005 1:17 am
Subject: Re: Please limit API to site, not a directory
I think one big part of the reason is for hosting sites like
geocities.com, livejournal.com, etc.  Obviously a key won't work for
the whole domain.

One thing you should look at is mod_rewrite (assuming you are using
Apache) to silently rewrite your directory URL as a query URL.  Here's
the first tutorial I pulled off a Google search:
http://www.devshed.com/c/a/Apache/Search-Engine-Friendly-URLs-with-mo...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
<
mgbaron  
View profile
 More options Jul 2 2005, 12:55 pm
From: "mgbaron" <baro...@gmail.com>
Date: Sat, 02 Jul 2005 09:55:13 -0700
Local: Sat, Jul 2 2005 12:55 pm
Subject: Re: Please limit API to site, not a directory
mod rewrite doesn't help, unfortunately.  It sees the rewritten urls as
real subdirectories

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.