[google-appengine] Let "Me" Delete My Apps (weekly report: 7 people)

2009-03-27 Thread xml2jsonp

Thanks All :-)

- sheridan
- 13564950363
- zerofault1
- yutiyan
- ikoo-dirtylife
- gythialy-app
- pyoohtml

http://pyoohtml.appspot.com/let-delete-my-apps/home

--~--~-~--~~~---~--~~
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: We're sorry... ... but your query looks similar to automated requests from a computer viWe're sorry... ... but your query looks similar to automated requests from a computer v

2009-03-23 Thread xml2jsonp

:-O

--
Web Blue Screen of Death
http://pyoohtml.appspot.com/web-blue-screen-of-death

On Mar 22, 6:31 am, "bwh...@dappervision.com" 
wrote:
> Our team received this message from all of our app engines a few
> minutes ago and we want to know how this happened and how to avoid it
> in the future.  All we are doing to posting content to the site and
> then we get banned across the board.  I'm sorry if my web behavior is
> "virus like" but I think you need to reduce the number of false
> positives for this security feature.  Here is the full message content
>
>     We're sorry...
>
>     ... but your query looks similar to automated requests from a
> computer virus or spyware application. To protect our users, we can't
> process your request right now.
>
>     We'll restore your access as quickly as possible, so try again
> soon. In the meantime, if you suspect that your computer or network
> has been infected, you might want to run a virus checker or spyware
> remover to make sure that your systems are free of viruses and other
> spurious software.
>
>     If you're continually receiving this error, you may be able to
> resolve the problem by deleting your Google cookie and revisiting
> Google. For browser-specific instructions, please consult your
> browser's online support center.
>
>     If your entire network is affected, more information is available
> in the Google Web Search Help Center.
>
>     We apologize for the inconvenience, and hope we'll see you again
> on Google.
--~--~-~--~~~---~--~~
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: Faster server-side json?

2009-03-23 Thread xml2jsonp

Starred :-)

--
Web Blue Screen of Death
http://pyoohtml.appspot.com/web-blue-screen-of-death

On Mar 23, 3:55 pm, Andy Freeman  wrote:
> According 
> tohttp://blog.metaoptimize.com/2009/03/22/fast-deserialization-in-python/
> , simplejson is significantly slower than cjson.
>
> I've created an issue requesting the fastest possible json 
> athttp://code.google.com/p/googleappengine/issues/detail?id=1174.
--~--~-~--~~~---~--~~
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: How to do editing??

2009-03-23 Thread xml2jsonp

:-)

Can you set a default value?

first_name = self.request.get("first_name", default_value="")

--
Web Blue Screen of Death
http://pyoohtml.appspot.com/web-blue-screen-of-death

On Mar 22, 11:09 am, arnie  wrote:
> Will using "value="{{first_name}}"> " inside the input tag cause any
> problem when the same page is used for creating new entries instead of
> editing as the whole html page is evaluated at the server before
> rendering.
> Thanks
> Arnie
--~--~-~--~~~---~--~~
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: Blocking bad IPs

2009-03-23 Thread xml2jsonp

I'm thinking to develope a free app like this:
http://pyoohtml.appspot.com/let-delete-my-apps/home

to sensibilize the GAE Team. Have you an idea?

On Mar 23, 2:29 am, Sargis Dallakyan  wrote:
> Thank you for starring these issues. I've got another spammer today
> with IP  address 194.8.75.147. This one is from UK.
>
> Cheers,
> Sargis
>
> On Mar 22, 4:07 am, xml2jsonp  wrote:
>
> > I starred the issues 718 and 644.
>
> > --
> > Web Blue Screen of Deathhttp://pyoohtml.appspot.com/web-blue-screen-of-death
>
> > On Mar 22, 4:50 am, Sargis Dallakyan  wrote:
>
> > > I've got a user with 61.175.215.214 IP address (registered in China)
> > > tring to hack my app and I was wandering what would be the best way to
> > > handle this kind of users? I've searched and found issue 
> > > 718:http://code.google.com/p/googleappengine/issues/detail?id=718
>
> > > But, for now, I'm thinking of redirecting them either to a login page
> > > or to some other URL. What would be the best URL to redirect
> > > unauthorized users who are trying  to harm your app?
>
> > > Thank you,
> > > Sargis- Hide quoted text -
>
> > - Show quoted text -
--~--~-~--~~~---~--~~
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] I found this Firefox add-on --> "FirePython"

2009-03-22 Thread xml2jsonp

The author: "Originally, I have created it to light up my lonely
nights I was spending with Google App Engine"

From:
http://github.com/darwin/firepython/tree/master
https://addons.mozilla.org/en-US/firefox/addon/9602

--
Web Blue Screen of Death
http://pyoohtml.appspot.com/web-blue-screen-of-death

--~--~-~--~~~---~--~~
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: Querying multiple tables in google app engine

2009-03-22 Thread xml2jsonp

>From docs:
http://code.google.com/appengine/docs/python/datastore/entitiesandmodels.html

The name of the back-reference property defaults to modelname_set
(with the name of the model class in lowercase letters, and "_set"
added to the end), and can be adjusted using the collection_name
argument to the ReferenceProperty constructor.

--
Web Blue Screen of Death
http://pyoohtml.appspot.com/web-blue-screen-of-death

On Mar 22, 12:16 pm, arnie  wrote:
> I have certain tables in datastore that are related to each other. say
> user table is related to Business table. How can we use a single query
> to fetch data from these tables at onece, say for a userid=2 we need
> the record from user table as well as from Business table with
> matching userid. I have seen that we cannot use sql like joins here in
> gql.
> So how can we construct a single query to get the desired records
> Thanks
> Arnie
--~--~-~--~~~---~--~~
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: UnknownTimeZoneError

2009-03-22 Thread xml2jsonp

Can you use the "time" module?

Code from:
http://www.experts-exchange.com/Programming/Languages/Scripting/Python/Q_21220085.html

def convert_time( intime, newoffset ):
# import the time module:
import time
# set the format:
fmt = '%Y -%m-%d  %H:%M:%S'
# split the input time into a time string and a time zone:
intimestring, zone = [ x.strip( ) for x in intime.split( 'GMT' ) ]
# parse intimestring and convert to a list:
t = list( time.strptime( intimestring, fmt ) )
# convert the time zone into an integer
z = int( zone )
# convert newoffset into an integer
n = int( newoffset )
# convert the hour of the list to the new hour:
t[ 3 ] += n - z
# return the new time as a string:
return '%s GMT %+d' % ( time.strftime( fmt, time.localtime
( time.mktime( t ) ) ), n )

print convert_time( '2004 -11-25  01:45:12 GMT +8', '-5' )

--
Web Blue Screen of Death
http://pyoohtml.appspot.com/web-blue-screen-of-death

On Mar 22, 12:28 pm, Brian  wrote:
> I'm running App Engine with Django. I'm having troubles executing
> timezone conversion via pytz. I have looked at the Google example
> implementation. The following works in IDLE:
>
> >>> import pytz
> >>> from pytz import common_timezones
> >>> from pytz import timezone
> >>> import datetime
> >>> timestamp = datetime.datetime.utcnow()
> >>> print timestamp
>
> 2009-03-22 11:02:41.578000>>> translated = 
> timestamp.replace(tzinfo=pytz.utc).astimezone(timezone('US/Central'))
> >>> print translated
>
> 2009-03-22 06:02:41.578000-05:00
>
> I have tried to run the following in my app (modules imported, too):
>
> def tz(request):
>     timestamp = datetime.datetime.utcnow()
>     translated = timestamp.replace(tzinfo=pytz.utc).astimezone(timezone
> ('US/Central'))
>     return respond(request, user, 'tz',
> {'translated':translated,'timestamp':timestamp})
>
> When I pull up the page, I get the following error:
> UnknownTimeZoneError at /tz
> 'US/Central'
> Request Method:         GET
> Request URL:    http://localhost:8080/tz
> Exception Type:         UnknownTimeZoneError
> Exception Value:        'US/Central'
>
> Does this not work in App Engine for some reason?
--~--~-~--~~~---~--~~
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] LetDeleteMyApps.py (5 people)

2009-03-22 Thread xml2jsonp

"Let Delete My Apps"
http://pyoohtml.appspot.com/let-delete-my-apps/home

Thanks to:
- zerofault1
- yutiyan
- ikoo-dirtylife
- gythialy-app
- pyoohtml

--
Web Blue Screen of Death
http://pyoohtml.appspot.com/web-blue-screen-of-death

--~--~-~--~~~---~--~~
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: Blocking bad IPs

2009-03-22 Thread xml2jsonp

I starred the issues 718 and 644.

--
Web Blue Screen of Death
http://pyoohtml.appspot.com/web-blue-screen-of-death

On Mar 22, 4:50 am, Sargis Dallakyan  wrote:
> I've got a user with 61.175.215.214 IP address (registered in China)
> tring to hack my app and I was wandering what would be the best way to
> handle this kind of users? I've searched and found issue 
> 718:http://code.google.com/p/googleappengine/issues/detail?id=718
>
> But, for now, I'm thinking of redirecting them either to a login page
> or to some other URL. What would be the best URL to redirect
> unauthorized users who are trying  to harm your app?
>
> Thank you,
> Sargis
--~--~-~--~~~---~--~~
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: How to do editing??

2009-03-21 Thread xml2jsonp

:-)



--
Web Blue Screen of Death
http://pyoohtml.appspot.com/web-blue-screen-of-death

On Mar 21, 9:17 am, arnie  wrote:
> I have created a very simple django project that is using google
> datastore. In there I have created a simple user form with first name,
> last name, address fields.
> When user clicks on submit button then be able to save these entries
> in datastore table. What I want to do is to open the form in edit
> mode. I have seen the app engine patch sample but there I am not able
> to understand the editing part. Though i have placed an entry in
> urls.py for editing also.
> (r'^edituser$', 'my.views.edituser'),
> The class for showing the form to the user as created in views.py is
> given below
>
> class CreateUserForm(forms.Form):
>         first_name = forms.CharField()
>         last_name = forms.CharField()
>         street_address = forms.CharField()
>
> Inside the edituser function in views.py
> def edituser(request, key):
>
> can anybody let me know how to display the form with filled entries so
> that the user can edit the same and update the datastore table.
>
> Thanks
> Arnie
--~--~-~--~~~---~--~~
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] Web Blue Screen of Death

2009-03-20 Thread xml2jsonp

1) Select the official web browser for your home page or blog;
2) Copy this HTML code into your home page;
3) When your visitor use a different web browser, will see this
message (for Firefox).

http://pyoohtml.appspot.com/web-blue-screen-of-death

--~--~-~--~~~---~--~~
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: Lost source code --help retrieving

2009-03-17 Thread xml2jsonp

"How to retrieve back the remote code?"
http://groups.google.com/group/google-appengine/browse_thread/thread/dd77c67560ec43/a364c04b1d67ab58?lnk=gst&q=recover+source#a364c04b1d67ab58

--
See my apps:
http://appgallery.appspot.com/about_app?app_id=agphcHBnYWxsZXJ5chQLEgxBcHBsaWNhdGlvbnMYpdgFDA

On Mar 17, 9:12 pm, Geetha  wrote:
> Hi
>
> I have uploaded my code into appspot.com and i lost my source code
> unfortunately..
>
> is there anyway i can get my source code from my running site>?
>
> any help..
>
> 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
-~--~~~~--~~--~--~---



[google-appengine] Re: Lost source code --help retrieving

2009-03-17 Thread xml2jsonp

"How to retrieve back the remote code?"
http://groups.google.com/group/google-appengine/browse_thread/thread/dd77c67560ec43/a364c04b1d67ab58?lnk=gst&q=recover+source#a364c04b1d67ab58

--
Let Delete My Apps
http://pyoohtml.appspot.com/let-delete-my-apps/home
.
.
.
.
.
.
On Mar 17, 9:12 pm, Geetha  wrote:
> Hi
>
> I have uploaded my code into appspot.com and i lost my source code
> unfortunately..
>
> is there anyway i can get my source code from my running site>?
>
> any help..
>
> 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
-~--~~~~--~~--~--~---



[google-appengine] Re: Clearing an entire table

2009-03-16 Thread xml2jsonp

But why this GAE limit --> "Since you can't write a query that sorts
on two properties in the same query"
Could I open a "New Issue" ???

On Mar 16, 6:58 pm, Wooble  wrote:
> Kludgy solution: add a "week" property to your objects, and use an
> equality filter on it.
>
> On Mar 16, 6:26 am, "sucram.mar...@gmail.com"
>
>  wrote:
> > Hello everyone!
>
> > I am looking at designing a feature where I would have a weekly window
> > of database entries. This means that I would like to sort the last
> > weeks entries in a particular order.
>
> > The problem is that I have difficulties to see a solution with app
> > engine. Since you can't write a query that sorts on two properties in
> > the same query.
>
> > The next way I thought to solve this was to clear the database once a
> > week. But I have not seen a way to do this, I have only found delete
> > entry by entry API:s and that may a bit slow since I have a lot of
> > entries.
>
> > Ideas ?
--~--~-~--~~~---~--~~
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: Genshi on GAE

2009-03-16 Thread xml2jsonp

See here:
http://groups.google.com/group/genshi/browse_thread/thread/c7b6f38845d27151

On Mar 16, 9:42 pm, Ronn Ross  wrote:
> Has anyone use Genshi on GAE?
--~--~-~--~~~---~--~~
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: "Is the billing the future?" Porting my mind from GAE to PHP to JavaScript (from server-side to client-side)

2009-03-16 Thread xml2jsonp

- "Is the billing the future?"
I think "free + AdSense" will be the best way, not only the billing...

- Porting my mind from GAE to PHP to JavaScript (from server-side to
client-side)
The server side is only one side: if you want have a server-side
indipendent web applications you must focalize your code on client-
side.

- GAE + PHP + JavaScript
You must study all technology to have full power :-)

On Mar 16, 8:59 pm, Barry Hunter  wrote:
> Precisely, my question!
>
> On 16/03/2009, xml2jsonp  wrote:
>
>
>
>
>
> >  What sense?
>
> >  On Mar 16, 1:17 am, Barry Hunter  wrote:
> >  > Is this thread actually meant to make sense?
>
> > > On 15/03/2009, xml2jsonp  wrote:
>
> >  > >  "Upcoming Changes to the Free Quotas"
> >  > >  http://code.google.com/appengine/docs/quotas.html#Free_Changes
>
> >  > >  I hope GAE will always remain free :-)
>
> --
> Barry
>
> -www.nearby.org.uk-www.geograph.org.uk-
--~--~-~--~~~---~--~~
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] "Let Delete My Apps" (3 apps)

2009-03-16 Thread xml2jsonp

Thanks to:
- ikoo-dirtylife
- gythialy-app
- pyoohtml

http://pyoohtml.appspot.com/let-delete-my-apps/home

--~--~-~--~~~---~--~~
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: Release Status of Google App Engine

2009-03-16 Thread xml2jsonp

"Is Google's perpetual beta a winning strategy?"
http://209.85.129.132/search?q=cache:ApYmZkCJSmkJ:news.cnet.com/8301-13505_3-10054293-16.html+Google+beta+strategy&cd=1&hl=en&ct=clnk
[...]
We have very high internal metrics our consumer products have to meet
before coming out of beta. Our teams continue to work to improve these
products and provide users with an even better experience. We believe
beta has a different meaning when applied to applications on the Web,
where people expect continual improvements in a productRather than
the packaged, stagnant software of decades past, we're moving to a
world of regular updates and constant feature refinement where
applications live in the cloud.
[...]
Regardless, the real story in this as with Microsoft is that
regardless of its successes or failures with products, any hint of
Google entering a market is a death knell for start-ups looking to
raise money in that area, when it really shouldn't be. Their
respective track records in their core businesses is awesome to
behold. Their respective track records in most everything else?
Nothing to fret about.
-
-
-
-
-
-
On Mar 16, 7:12 pm, Marzia Niccolai  wrote:
> Hi,
>
> For the record, App Engine is still in preview release.
>
> -Marzia
>
> On Sun, Mar 15, 2009 at 10:12 AM, Ryan Lamansky  wrote:
>
> > Gmail is still in beta... so I figure the App Engine has 10-20 years
> > before it's "released" :)
>
> > peterk is right; consider it "done" when it satisfies your needs :)
>
> > -Ryan
>
> > On Mar 14, 11:25 am, Doug  wrote:
> > > Is GAE still a preview release?  I guess that I would have thought
> > > that when billing was enabled that it would have lost its preview
> > > release status.
>
> > > Thanks,
> > > Doug
--~--~-~--~~~---~--~~
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: "Is the billing the future?" Porting my mind from GAE to PHP to JavaScript (from server-side to client-side)

2009-03-16 Thread xml2jsonp

What sense?

On Mar 16, 1:17 am, Barry Hunter  wrote:
> Is this thread actually meant to make sense?
>
> On 15/03/2009, xml2jsonp  wrote:
>
>
>
> >  "Upcoming Changes to the Free Quotas"
> >  http://code.google.com/appengine/docs/quotas.html#Free_Changes
>
> >  I hope GAE will always remain free :-)
--~--~-~--~~~---~--~~
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: Forward request or webapp.RequestHandler chaining (like Actions framework in java)

2009-03-16 Thread xml2jsonp

Yes, ok.
You could open a "New Issue"...

On Mar 15, 10:44 pm, Jarek Zgoda  wrote:
> It would be easier if you do not use WebApp but follow Django way of
> request handling (easy to achieve even without Django, ie. using
> Werkzeug to lay out application in model-view-template style):
>
> def handler_a(request):
>   return response('a')
>
> def handler_b(request):
>   return handler_a(request)
>
> In handler_b you just called handler_a with a request object from
> handler_b. You can modify request object before passing it to another
> view function as you please.
>
> On 15 Mar, 12:06, "Serega.Sheypak"  wrote:
>
> > Hello, I would like to know is it possible to forward request?
>
> > For example in Java I can forward request from one servlet (like
> > webapp.RequestHandler) to another or from servlet to jsp (like Django
> > template).
> > self.redirect("/someUrl") clears response and doesn't "transfer"
> > request object. That is why I need redirect.
>
> > The task is:
> > I have a view (Django template)
> > Person can perform silmpe crud: Create something, delete something,
> > update something.
>
> > Here is a code:
>
> > #prepare view data, show news
> > class AdminPage(webapp.RequestHandler):
> >         def get(self):
> >                 message = self.request.get('message')
> >                 if not message:
> >                         message = 'You are in admin console.'
> >                 logging.debug("Did message came -> " + message);
> >                 offset = self.request.get('offset')
> >                 limit = self.request.get('limit')
> >                 news = get_news(offset, limit, False)
> >                 values = {
> >                         'page': 'admin',
> >                         'news': news,
> >                         'count': get_news_count(),
> >                         'message': message
> >                 }
> >                 path = 
> > os.path.join(os.path.dirname(__file__),'html/admin.html')
> >                 self.response.out.write( template.render(path, values) )
>
> > #Hide news from user and send to view preparation
> > class HideNews(webapp.RequestHandler):
> >         def get(self):
> >                 key = self.request.get('key')
> >                 logging.debug("hide news with key["+key+"]")
> >                 hide_news( key )
> >                 values = {
> >                         'message':'News was hidden'
> >                 }
> >                 self.redirect("/admin")
>
> > As you can see "HideNews" performs an action and wants to send message
> > to the news requestHandler.
> > But it can't do it.
>
> > Is there any opportunity to forward request processing in GAE?
>
> > P.S
> > I've tried to do this:
> > class HideNews(webapp.RequestHandler):
> >         def get(self):
> >                 key = self.request.get('key')
> >                 logging.debug("hide news with key["+key+"]")
> >                 hide_news( key )
> >                 message = "Some str with russian chars".decode('utf-8')
> >                 url = "/admin?message=".decode('utf-8')+message
> >                 self.redirect(url)
>
> > And I get:
> > self.response.headers['Location'] = str(absolute_url)
> > UnicodeEncodeError: 'ascii' codec can't encode characters in position
> > 36-42: ordinal not in range(128)
>
> > It doesn't accept utf-8 chars?
> > What to try next?
>
> > Thanks in advance.
--~--~-~--~~~---~--~~
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: sending mail with nicely formatted sender

2009-03-16 Thread xml2jsonp

Only 47 stars :-(
More stars (please) the Universe is full :-)

On Mar 15, 8:55 pm, manuelaraoz  wrote:
> please everyone star this issue, it must have a very simple fix and
> it's very necessary
> thanks
>
> Manuel
--~--~-~--~~~---~--~~
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: GWEI (Google Will Eat Itself) on GAE ???

2009-03-16 Thread xml2jsonp

Does Google not like the art of hacktivism?

On Mar 15, 8:23 pm, xml2jsonp  wrote:
> Ok, then Why this response:
>
> "ok, we understand it's art, but you have to stop it 
> now".http://www.we-make-money-not-art.com/archives/2008/01/how-did-neural.php
> .
> .
> .
> .
> .
> .
> On Mar 15, 8:17 pm, Andy Freeman  wrote:
>
> > (1) Google won't pay for fraudulent clicks that it detects.
> > (2) Google's market cap is a lot larger than the relevant revenue
> > stream.
> > (3) Buying significant numbers of shares drives the share price up,
> > making (2) a bigger issue.
> > (4) Once you accumulate a certain % of shares, you have to file
> > reports with the SEC.
> > (5) The shares that control Google aren't on the market.
>
> > On Mar 15, 10:56 am, xml2jsonp  wrote:
>
> > > Is legal implement this idea on GAE 
> > > ?http://gwei.org/pages/diagram/diagram.html
--~--~-~--~~~---~--~~
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] "Is the billing the future?" Porting my mind from GAE to PHP to JavaScript (from server-side to client-side)

2009-03-15 Thread xml2jsonp

"Upcoming Changes to the Free Quotas"
http://code.google.com/appengine/docs/quotas.html#Free_Changes

I hope GAE will always remain free :-)

--~--~-~--~~~---~--~~
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: sending mail with nicely formatted sender

2009-03-15 Thread xml2jsonp

starred :-)

On Mar 15, 8:45 pm, Jarek Zgoda  wrote:
> Star this issue:
>
> http://code.google.com/p/googleappengine/issues/detail?id=677
>
> On 15 Mar, 20:08, manuelaraoz  wrote:
>
> > Hi there!
>
> > I've got my app sending mail from the address supp...@myapp.com
>
> > the problem is, when people receive the emails, they see that they
> > appear as been sent from "support"
> > is there a way to edit this and make them see "MyApp Team" or
> > something of the sort?
>
> > for example my email is jaws...@gmail.com but when someone receives a
> > mail from me,
> > they se "Manuel Aráoz"... I want that to happen when I send mails from
> > the web app.
>
> > Hope I made myself clear
> > If anyone could help I'd appreciate it a lot!
>
> > Thanks in advance
> > Manuel
--~--~-~--~~~---~--~~
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: GWEI (Google Will Eat Itself) on GAE ???

2009-03-15 Thread xml2jsonp

Ok, then Why this response:

"ok, we understand it's art, but you have to stop it now".
http://www.we-make-money-not-art.com/archives/2008/01/how-did-neural.php
.
.
.
.
.
.
On Mar 15, 8:17 pm, Andy Freeman  wrote:
> (1) Google won't pay for fraudulent clicks that it detects.
> (2) Google's market cap is a lot larger than the relevant revenue
> stream.
> (3) Buying significant numbers of shares drives the share price up,
> making (2) a bigger issue.
> (4) Once you accumulate a certain % of shares, you have to file
> reports with the SEC.
> (5) The shares that control Google aren't on the market.
>
> On Mar 15, 10:56 am, xml2jsonp  wrote:
>
> > Is legal implement this idea on GAE 
> > ?http://gwei.org/pages/diagram/diagram.html
--~--~-~--~~~---~--~~
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: sending mail with nicely formatted sender

2009-03-15 Thread xml2jsonp

Try:
"MyApp Team" 

On Mar 15, 8:15 pm, xml2jsonp  wrote:
> mail.send_mail(sender="da.@gmail.com",
>   to="da.@gmail.com",
>   subject="[IronBrowser] Apps Info Submitted",
>   body="...")
>
> On Mar 15, 8:08 pm, manuelaraoz  wrote:
>
> > Hi there!
>
> > I've got my app sending mail from the address supp...@myapp.com
>
> > the problem is, when people receive the emails, they see that they
> > appear as been sent from "support"
> > is there a way to edit this and make them see "MyApp Team" or
> > something of the sort?
>
> > for example my email is jaws...@gmail.com but when someone receives a
> > mail from me,
> > they se "Manuel Aráoz"... I want that to happen when I send mails from
> > the web app.
>
> > Hope I made myself clear
> > If anyone could help I'd appreciate it a lot!
>
> > Thanks in advance
> > Manuel
--~--~-~--~~~---~--~~
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: sending mail with nicely formatted sender

2009-03-15 Thread xml2jsonp

mail.send_mail(sender="da.@gmail.com",
  to="da.@gmail.com",
  subject="[IronBrowser] Apps Info Submitted",
  body="...")


On Mar 15, 8:08 pm, manuelaraoz  wrote:
> Hi there!
>
> I've got my app sending mail from the address supp...@myapp.com
>
> the problem is, when people receive the emails, they see that they
> appear as been sent from "support"
> is there a way to edit this and make them see "MyApp Team" or
> something of the sort?
>
> for example my email is jaws...@gmail.com but when someone receives a
> mail from me,
> they se "Manuel Aráoz"... I want that to happen when I send mails from
> the web app.
>
> Hope I made myself clear
> If anyone could help I'd appreciate it a lot!
>
> Thanks in advance
> Manuel
--~--~-~--~~~---~--~~
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] GWEI (Google Will Eat Itself) on GAE ???

2009-03-15 Thread xml2jsonp

Is legal implement this idea on GAE ?
http://gwei.org/pages/diagram/diagram.html

--~--~-~--~~~---~--~~
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: Forward request or webapp.RequestHandler chaining (like Actions framework in java)

2009-03-15 Thread xml2jsonp

Why have the Java developers a complex mind?

I think this is more simple:
values = {'message':'News was hidden'}

# self.redirect("/admin")
path = os.path.join(os.path.dirname(__file__),'html/admin.html')
self.response.out.write( template.render(path, values) )
.
.
.
On Mar 15, 12:06 pm, "Serega.Sheypak" 
wrote:
> Hello, I would like to know is it possible to forward request?
>
> For example in Java I can forward request from one servlet (like
> webapp.RequestHandler) to another or from servlet to jsp (like Django
> template).
> self.redirect("/someUrl") clears response and doesn't "transfer"
> request object. That is why I need redirect.
>
> The task is:
> I have a view (Django template)
> Person can perform silmpe crud: Create something, delete something,
> update something.
>
> Here is a code:
>
> #prepare view data, show news
> class AdminPage(webapp.RequestHandler):
>         def get(self):
>                 message = self.request.get('message')
>                 if not message:
>                         message = 'You are in admin console.'
>                 logging.debug("Did message came -> " + message);
>                 offset = self.request.get('offset')
>                 limit = self.request.get('limit')
>                 news = get_news(offset, limit, False)
>                 values = {
>                         'page': 'admin',
>                         'news': news,
>                         'count': get_news_count(),
>                         'message': message
>                 }
>                 path = 
> os.path.join(os.path.dirname(__file__),'html/admin.html')
>                 self.response.out.write( template.render(path, values) )
>
> #Hide news from user and send to view preparation
> class HideNews(webapp.RequestHandler):
>         def get(self):
>                 key = self.request.get('key')
>                 logging.debug("hide news with key["+key+"]")
>                 hide_news( key )
>                 values = {
>                         'message':'News was hidden'
>                 }
>                 self.redirect("/admin")
>
> As you can see "HideNews" performs an action and wants to send message
> to the news requestHandler.
> But it can't do it.
>
> Is there any opportunity to forward request processing in GAE?
>
> P.S
> I've tried to do this:
> class HideNews(webapp.RequestHandler):
>         def get(self):
>                 key = self.request.get('key')
>                 logging.debug("hide news with key["+key+"]")
>                 hide_news( key )
>                 message = "Some str with russian chars".decode('utf-8')
>                 url = "/admin?message=".decode('utf-8')+message
>                 self.redirect(url)
>
> And I get:
> self.response.headers['Location'] = str(absolute_url)
> UnicodeEncodeError: 'ascii' codec can't encode characters in position
> 36-42: ordinal not in range(128)
>
> It doesn't accept utf-8 chars?
> What to try next?
>
> Thanks in advance.
--~--~-~--~~~---~--~~
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: Can Appengine provide Browser information..?

2009-03-15 Thread xml2jsonp

Using JavaScript:

if (/msie/.test(navigator.userAgent.toLowerCase())
&& !/opera/.test(navigator.userAgent.toLowerCase())) {
[...]

On Mar 15, 7:56 am, jago  wrote:
> Hi,
>
> Can I write some Python code that creates an HTML which prints if the
> client is running Firefox or IE ?
--~--~-~--~~~---~--~~
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: XML to json example?

2009-03-14 Thread xml2jsonp

See:
http://appgallery.appspot.com/about_app?app_id=agphcHBnYWxsZXJ5chQLEgxBcHBsaWNhdGlvbnMYpdgFDA

On Jan 30, 7:12 pm, Geuis  wrote:
> Does anyone have a sampleXMLtojsonconverter they could share? Have
> tried building one but I have failed.
--~--~-~--~~~---~--~~
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] xml2jsonp - Cross Site Service

2009-03-14 Thread xml2jsonp

This free app is useful to convert XML to JSON-P
http://pyoohtml.appspot.com/xml2jsonp

A similar project:
http://www.thomasfrank.se/xml_to_json.html

Comments:
http://appgallery.appspot.com/about_app?app_id=agphcHBnYWxsZXJ5chQLEgxBcHBsaWNhdGlvbnMYpdgFDA

Bye :-)

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---