I was trying to embed few hebrew fonts to a website.
using this code in my css file :
@font-face
{
font-family: tamruta;
src: url('/css/tamruta.eot');
src: local(tamruta), url('/css/tamruta.ttf') format('opentype');
}
it supposw to work on all browsers.
some how it doesn't work, and I have a massage while trying to upload ...
I had created web application and deploy it in Google App Engine after I created table(entity) in Google App Engine datastore. My doubt is it possible to download the entity/database?
...
Hi,
We have a Django project which runs on Google App Engine and used db.UserProperty in several models. We don't have an own User model.
My boss would like to use RPXNow (Janrain) for authentication, but after I integrated it, the users.get_current_user() method returned None. It makes sense, because not Google authenticated me. But w...
Is there any software out there that assists in creating an intranet-style proxy for Google’s AppEngine? The problem I’m trying to solve is to enable corporate users to:
1. Enjoy a more responsive experience when plugged into their LAN,
and
2. Remain productive during Internet outages.
I'm not talking about a simple HTTP proxy server...
Hi,
my java skills are a bit rusty and I'm wondering how I can implement Open Session In View pattern for the PersistenceManager called from a servlet in a google app engine environment.
I have some singleton which handles the PersistenceManagerFactory, but how can I get a "new" PersistenceManager at each servlet call ?
I want my bus...
Assumptions:
1) Google AppEngine has the concept of Entity Groups.
2) Entities in an entity group form a tree. However, as far as I understood, every put() to any entity in that tree will lock the whole tree (not just the immediate parent) for a while.
3) Users are allowed to write ca. 5 times per seconds to the tree.
4) There is no w...
I've got a class that is using db.SelfReferenceProperty to create a tree-like structure.
When trying to populate the database using appcfg.py upload_data -- config_file=bulkloader.yaml --kind=Group --filename=group.csv (...)
, I'm getting an exception saying BadValueError: name must not be empty. (Full stack below)
I tried ordering th...
I am trying to process RSS feed using Google Reader API, but the issue is that even if feed encoding is UTF-8 it is returned in an unreadable format.
resp.contentType = "text/xml"
resp.characterEncoding = "UTF-8"
URL url = new URL("http://www.google.com/reader/public/atom/feed/" + rss);
BufferedReader reader = new BufferedReader(new I...
I'm trying to load JSON back into an object. The "loads" method seems to work without error, but the object doesn't seem to have the properties I expect.
How can I go about examining/inspecting the object that I have (this is web-based code).
results = {"Subscriber": {"firstname": "Neal", "lastname": "Walters"}}
subscriber = jso...
I have found example if someone need however I need to get first coordinates from address so later can adjust it. Someone knows how to do it?
var geocoder = new google.maps.Geocoder();
function geocodePosition(pos) {
geocoder.geocode({
latLng: pos
}, function(responses) {
if (responses && responses....
Hi,
I am trying to think of the best way to make a button/anchor for switching languages in my website.
I need a button that when clicked, will changes a global variable lang, and refresh the page (so the new variable will be updated).
Can you advice me what's the best solution, thanks
By the way I am using python with Google AppEngin...
i am using python, and appengine, and i am trying to fix a specific button.
let's say this is the code :
<FORM action="http://blabla" method="post">
<P>
<LABEL for="firstname">First name: </LABEL>
<INPUT type="text" id="firstname"><BR>
<LABEL for="lastname">Last name: </LABEL>
<INPUT type="text" ...
I have created a google-app-engine Java project in Eclipse using Google's Eclipse plugin. I had tried to deploy my application using terminal as follows:
~$ appcfg.py update /home/crimson/Music/Testing5/InitialData/
But it shows the following error:
appcfg.py: command not found
How to solve this?
...
I'm building a tree structure based on a list retrieved from a db.Model called Pages.
Each Page entry has a parentKey property that's a db.SelfReferenceProperty() and a db.IntegerProperty() called sortIndex.
I fetch the list and call a method to travers over the list and make a nestled dict as my tree. The reason I fetch the entire li...
i created web application in eclipse3.5 I want to create app.yaml configuration file,where i create this file please guide me
...
hi,
i wanted to know in python how can i get the host the user came from?
how do i extract it?
i tried this:
host = self.request._environ['HTTP_HOST']
but it's empty...
Do you have any idea what it should be
Thanks.
...
If I do a nc 192.168.2.10 8080 and then GET /test/ I get as expected a JSON response:
Content-Type: text/javascript
Cache-Control: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Content-Length: 74
{ ... a JSON message ...}
However, if I do a POST /test/ I get the following HTML doc as a result:
<head>
<title>Error response</title>
...
Recently, i have come across an error (quite frequently) with the RemoteApiServlet as well as the remote_api handler.
While bulk loading large amounts of data using the Bulk Loader, i start seeing random HTTP 500 errors, with the following details (in the log file):
Request was aborted after waiting too long to attempt to service your...
Is it possible to get a data source URL of Google Spreadsheets for appengine datastore entities? I want to use the google visualization query objects to query my datastore. Or how I an expose my datastore with a datasource URL.
And for a Google visualization based project which one is better between Google Spreadsheet and GAE big table...
I want to do something like this guy asked, but I want to deserialize instead of serialize.
http://stackoverflow.com/questions/2114659/how-to-serialize-db-model-objects-to-json
Is there a library for this? I'm running Google App Engine, and I'm getting a JSON string from appengine-rest-server (http://code.google.com/p/appengine-rest-se...