[google-appengine] Re: Analytics on a non-HTML response

2011-06-21 Thread Jeff Knox
Thanks for the responses.

For some reason I wasn't able to find the Analytics forums yesterday -
it was a long day. ;-)

I'm definitely not trying to violate the TOS, just trying to record
all activity. It isn't a major deal but I felt it was worth asking.
I'll check over on the other forums.

Thanks again,

Jeff

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Analytics on a non-HTML response

2011-06-20 Thread Jeff Knox
Is it possible to setup Google Analytics on a Java servlet request
that doesn't return an HTML page? In other words I can setup analytics
on

  www.foo.com

just fine but instead I would like to setup analytics on a servlet
request that returns a JPG image:

  www.foo.com/image?id=1234

Currently I have my App Engine project kicking along and have just
added ananlytics to the web portion. If an image is hotlinked on a
forum I would like to include it in the data. Currently I am
internally tracking the number of views, I would like to use more of
the power of the analytics product.

I don't mind adding code to the servlet, I just haven't found the
right refrence. I see the management API but nothing for tracking.

Thanks,

Jeff

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[appengine-java] Re: Blobstore API vs Datastore API

2011-03-11 Thread Jeff Knox
The datastore works well for storing images (assuming they are  1MB). So 
far I haven't had more than about 15 images in the database but I don't 
think that really matters in terms of speed. My images are 1000 pixels in 
their longest dimension.

I am also using the image API to do some manipulations. Passing the data 
around has been very quick and relatively painless.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [google-appengine] App Engine TOS question

2011-03-11 Thread Jeff Knox
Excellent, thank you for the response.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Deleting Data Really Expensive!

2011-03-11 Thread Jeff Knox
If you want to keep costs down but not leave the data spinning around and 
around why not delete a subset every day? It may take an extremely long time 
but at least it would be better than paying storage costs forever.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] App Engine TOS question

2011-03-09 Thread Jeff Knox
I am trying to serve two different sub domains (www.domain.com and 
app.domain.com). 

The www domain is the primary web site. This will initially be basic html 
and/or jsp pages. As it evolves there may be some simple servlets driving 
it.

The app domain is the main application I'm developing (and currently my 
primary focus). It is a standalone application but there will be links 
between the two sites (www  app).

My question is - Can I create two App Engine projects to support the sub 
domains? I understand that using multiple apps to spread out the quotas is 
not allowed. In this case I'm simply trying to divide up the functional 
units between the app and the web site.

In the future there will likely be more than one application/project. Each 
of these will be linked from the www domain. In this case it makes even less 
sense for the sub domains to be combined as they will be unrelated apps.

So I guess what I'm asking is if it is OK to create an app strictly for my 
WWW domain with links to my APP domain?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [appengine-java] Sub domain for static content

2011-03-08 Thread Jeff Knox
So I'm still trying to sort this out.

If I created a second app to serve the WWW web site would that be a 
violation of the App Engine TOS? While the two pieces are related they 
aren't the same.

The WWW mapping would be more of a traditional web site that would most 
likely grow and potentially include back end services like a blog and such. 
The PHOTOGRAPHY mapping is strictly the photo album and image services. (In 
the future there are other applications I would like to build but they won't 
be tied to the same domain name as these two are.)

I'm not trying to circumvent any quotas - just attempting to configure it 
all in the most logical/efficient way.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Sub domain for static content

2011-03-07 Thread Jeff Knox
I am sure this is a simple thing but my brain just doesn't want to make it 
so simple today.

Say I point two sub-domains to my application:

www.mydomain.com
app.mydomain.com

That is all well and good - both now serve up my application. What I would 
like is for the WWW sub-domain to serve up static HTML or JSP files while 
the APP sub-domain serves up my application. Is this something I can do in 
the web.xml mapping or do I need another servlet sitting on top to direct 
the requests to the correct place?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Sub domain for static content

2011-03-07 Thread Jeff Knox
Nick, thanks for the reply.

Can you elaborate on the first option? I'm not sure what you mean by the 
same mappings in both. (Yes my brain is mush today.)

In my current configuration I have a single application (yet another photo 
gallery). I would like www.jeffknox.com to go to my general web pages 
while photography.jeffknox.com goes to the gallery. Right now they both 
point to the app as I've been in testing.

The way I'm reading your post is that you are suggesting that I have two 
applications - one for the static pages and mapped to www and one for the 
gallery mapped to photography. Is that correct?

As far as the second option. I suppose it really wouldn't add that much 
overhead to setup a traffic director servlet. I would just need to figure 
out how to forward to the static pages.

I guess a third option would be to host the WWW pages on another server.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.