Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
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  -  Translate all to Translated (View all originals)
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
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
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.
foobario  
View profile  
 More options Jul 3 2005, 12:52 am
From: "foobario" <fooba...@gmail.com>
Date: Sat, 02 Jul 2005 21:52:07 -0700
Local: Sun, Jul 3 2005 12:52 am
Subject: Re: Please limit API to site, not a directory
A key *won't* work for a whole domain.  But 'mysite.com' and
'mysite.com/foo' are in the same domain, and it doesn't work for them
either.  Making a key applicable to child directories solves the
problem except, as you noted, in the case where someone decides to get
a key for 'geocities.com' (actually that's a bad example, because those
sites have always exceeded their bandwidth anyway... I haven't seen a
working geocities site in years).

The thing that I think is important is that the only time this will be
a problem is when a high-level domain key gives a bunch of subdomains
access and the number of hits gets out of hand.  But Google has already
set a maximum number of hits per month, and if a domain started running
amok it is a simple thing to squash that key and alert users via
javascript that they need to get a key of their own.  I assume that
Google already has some mechanism in place to prevent abuse of their
system... use it to police the troublemakers, instead of restricting
everyone else's access.

mod_rewrite isn't an option for Blogger users.  The only way to
guarantee that a map works in Blogger is to get separate keys for the
main page, each archive page, and each post page that includes a map,
then do some ridiculous javascript-fu to make sure the scripts are
called in the correct context.  Just another way of saying "it's
impossible", really, since it becomes a bookkeeping nightmare pretty
fast plus Google has to give out at least 3 keys for every map use.

 - foobario


    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.
Billy  
View profile  
 More options Jul 3 2005, 8:06 am
From: Billy <billy.girla...@gmail.com>
Date: Sun, 3 Jul 2005 08:06:58 -0400
Local: Sun, Jul 3 2005 8:06 am
Subject: Re: Please limit API to site, not a directory
" I haven't seen a working geocities site in years"

Are you sure? check my siggy, ranking high with "myrtle beach computer
repair" in Y & G lol

I know a couple of millionaires here in SC that you would never know
looking at either (no not me)

On 7/3/05, foobario <fooba...@gmail.com> wrote:

--
BeachComputers.biz

    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.
whurleyvision  
View profile  
 More options Jul 4 2005, 1:08 pm
From: "whurleyvision" <whur...@gmail.com>
Date: Mon, 04 Jul 2005 17:08:05 -0000
Local: Mon, Jul 4 2005 1:08 pm
Subject: Re: Please limit API to site, not a directory
Actually, there are some simple work arounds to using Google Maps with
multiple sites (using a single key), and yes, even with Blogger. For
example...

http://whurleyvision.blogspot.com/2005/07/how-to-use-google-maps-with...

I've also found a way to have the script needed to create a map import
into a blog post or non-licensed website. I'll try to document some of
this hack later this week. I won't release the code to cross-site
script the maps however as I don't want to be responsible for breaking
Google's licensing system...I'm sure they'll improve upon the current
limitations soon enough.

Hope this helps.

-whurley


    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.
foobario  
View profile  
 More options Jul 5 2005, 3:31 pm
From: "foobario" <fooba...@gmail.com>
Date: Tue, 05 Jul 2005 12:31:07 -0700
Local: Tues, Jul 5 2005 3:31 pm
Subject: Re: Please limit API to site, not a directory
The iframe technique relies on a non-Blogger location for the iframe
target, something most Blogger users don't have.

    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.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google