Pages

Tuesday, November 15, 2011

1

My Google App Engine Python application evolved

Couple of weeks ago I made my first Google App Engine application, using a new language for me, Python. It is made to fetch Blogger user avatars using Blogger userID. It worked/works ok, but I did some improvements to code, some structuring and formatting, generalized tag searching from html, etc.

Yesterday, as a deviation of making the comment bubbles, I added a completely new function to that application: a tool to make gradient PNG data URIs, which can be used in CSS, for example. The avatar part of the application functions just like before. I will tell you more about the gradient PNG data URI tool later in another article, and the comment bubbles, too, but here's the revised code (in my versioning it is version number 4):

Data provided by Pastebin.com - Download Raw

Again, if you have any ideas for the code, please comment. There was a minor html bug (which did not affect functionality) in the previous version, also one "None" comparison made with "==", unnecessary parenthesis, etc, and nobody told me! :)

Updates:
2011 Dec 14th, v4.01: Load also the new default icon from "www.blogger.com"
2011 Dec 18th, v4.02: Increased timeout from 5 to 15 in loading blogger profile pages, also handle download errors.
2012 March 14th, newest version 5 here.

1 comments:

JacobHarman said... [reply]

All the more as of late, cryptographic forms of money arose as an answer for the numerous security takes a chance with engaged with most computerized cash exchanges. While regularly, computerized monetary standards expected a focal power to direct exchanges and recognize extortion, digital currencies work without the requirement for one. All things being equal, digital currencies regularly utilize a blockchain, a freely available report of exchanges that are kept up with by a whole organization of PCs, to approve exchanges and give dependability. A blockchain is secure by plan since exchange records can't be changed whenever they've been kept in the blockchain without disturbing the whole organization. The most famous digital currency by a wide margin is the bitcoin, which holds more than 61% of the complete market capitalization of cryptographic forms of money. Clients regularly utilize outsider administrations to store and deal with their bitcoin credits, and these administrations are normally called bitcoin wallets. One of the most well known suppliers for such bitcoin the board administrations is Blockchain, appropriately named after the innovation behind bitcoin. In this article, we investigate bitcoins and Blockchain, and how Blockchain, bitcoin improvement, and Blockchain dev can help organizations>> blockchain development services

Post a Comment

Related Posts Plugin for WordPress, Blogger...
See the hack
for this dynamic
views icon: