mirror of
https://github.com/e1ven/Robohash.git
synced 2025-06-23 21:35:02 +00:00
https
This commit is contained in:
parent
7f8f8e0ef6
commit
04edaded67
@ -534,6 +534,26 @@ src="//static1.robohash.org/static/img/indented_star.png" width="27" height="25"
|
||||
|
||||
</div><!-- end of content section -->
|
||||
|
||||
|
||||
<!-- start of content section -->
|
||||
<div class="content_section">
|
||||
|
||||
<div class="section_title">Advanced classes in Robotry.</div>
|
||||
<p>
|
||||
For those inclined, there are several advanced techniques which have been added over time.
|
||||
</p><p>
|
||||
For Gravatar enthusiasts, you can ask Robohash to use a Gravatar if one is available.<br>
|
||||
Put either the email, or the hashed version, in your image where the string normally goes -<br><br>
|
||||
For example: http://robohash.org/colin@robohash.org?gravatar=yes<br> or http://robohash.org/620050a4db5104bae758cd75171d64ca?gravatar=hashed
|
||||
</p><p>
|
||||
<p>Both traditional and new Stealthy (https) robots are available.</p>
|
||||
|
||||
</p>
|
||||
|
||||
</div><!-- end of content section -->
|
||||
|
||||
|
||||
|
||||
<div class="hr"></div>
|
||||
|
||||
|
||||
@ -553,14 +573,13 @@ src="//static1.robohash.org/static/img/indented_star.png" width="27" height="25"
|
||||
<!-- start of footer container -->
|
||||
<div id="footer_container">
|
||||
<!-- start of footer left -->
|
||||
<div id="footer_left">
|
||||
<div id="footer_left" style="margin-top:60px;">
|
||||
<p>
|
||||
Robohash contains robots created by Zikri Kader (set1), Hrvoje Novakovic (set2), and Julian Peter Arias (set3).
|
||||
<br>
|
||||
<br>
|
||||
<p>
|
||||
You are free to embed under the terms of the CC-BY license. <br> Example wording might be "Robots lovingly delivered by
|
||||
Robohash.org or something.
|
||||
Robohash.org" or something.
|
||||
</p>
|
||||
</div><!-- end of footer left -->
|
||||
|
||||
|
@ -278,7 +278,7 @@ class ImgHandler(tornado.web.RequestHandler):
|
||||
string = urllib.quote(string)
|
||||
default = "404"
|
||||
# construct the url
|
||||
gravatar_url = "http://www.gravatar.com/avatar/" + string + "?"
|
||||
gravatar_url = self.request.protocol + "://www.gravatar.com/avatar/" + string + "?"
|
||||
gravatar_url += urllib.urlencode({'default':default, 'size':str(sizey)})
|
||||
try:
|
||||
f = urllib2.urlopen(urllib2.Request(gravatar_url))
|
||||
|
Loading…
x
Reference in New Issue
Block a user