<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Slowgeek Forums Topic: slowgeek embed-able web badge?</title>
<link>http://forums.slowgeek.com/</link>
<description>Slowgeek community</description>
<language>en</language>
<pubDate>Thu, 09 Feb 2012 17:13:13 +0000</pubDate>

<item>
<title>rlerdorf on "slowgeek embed-able web badge?"</title>
<link>http://forums.slowgeek.com/topic/slowgeek-embed-able-web-badge#post-449</link>
<pubDate>Wed, 03 Feb 2010 21:52:10 +0000</pubDate>
<dc:creator>rlerdorf</dc:creator>
<guid isPermaLink="false">449@http://forums.slowgeek.com/</guid>
<description><p>Ok, there is a tiny size=.5 badge now as well.
</p></description>
</item>
<item>
<title>rlerdorf on "slowgeek embed-able web badge?"</title>
<link>http://forums.slowgeek.com/topic/slowgeek-embed-able-web-badge#post-443</link>
<pubDate>Wed, 03 Feb 2010 16:58:36 +0000</pubDate>
<dc:creator>rlerdorf</dc:creator>
<guid isPermaLink="false">443@http://forums.slowgeek.com/</guid>
<description><p>I added a badge generator today.  You will see a little red Rosette icon under your image on your profile page now.  Or you can just go to /ba if you are logged in, or /ba/&lt;your id&gt; if you aren't.</p>
<p>I should probably add something smaller than size 1 as well.  I'll work on that later.
</p></description>
</item>
<item>
<title>rlerdorf on "slowgeek embed-able web badge?"</title>
<link>http://forums.slowgeek.com/topic/slowgeek-embed-able-web-badge#post-441</link>
<pubDate>Mon, 01 Feb 2010 20:13:20 +0000</pubDate>
<dc:creator>rlerdorf</dc:creator>
<guid isPermaLink="false">441@http://forums.slowgeek.com/</guid>
<description><p>I'm not that worried about load.  My graphing code is pretty efficient and I cache the raw run data on my server so I don't have to hit the Nike backend.  And yes, the graphing code can do this.  I just haven't gotten around to documenting it.  It's a bit geeky, but this is after all Slowgeek...</p>
<p>If you look at the link for an image, you will see it refers to a run id.  If you replace the run id with you numerical user id, the grapher will graph the latest run for that user instead.  Like this:</p>
<p><a href="http://img.slowgeek.com/?u_id=672755839" rel="nofollow">http://img.slowgeek.com/?u_id=672755839</a></p>
<p>There are a bunch of parameters you can pass to change the look.  First, you can make it bigger:</p>
<p><a href="http://img.slowgeek.com/?u_id=672755839&#38;size=1.5" rel="nofollow">http://img.slowgeek.com/?u_id=672755839&#38;size=1.5</a></p>
<p>Valid sizes are 1, 1.5, 2 and 3</p>
<p>And the may not want your nike id cluttering up your graph, so add n=0 to get rid of that.</p>
<p><a href="http://img.slowgeek.com/?u_id=672755839&#38;size=1.5&#38;n=0" rel="nofollow">http://img.slowgeek.com/?u_id=672755839&#38;size=1.5&#38;n=0</a></p>
<p>Other parameters:</p>
<p>raw=0 disables the grey raw data line<br />
yzero=1 forces the graph to start at 0 on the y-axis<br />
unit=km forces the graph to km (unit=mi for miles)<br />
hp=1 hides pauses<br />
hc=1 hides clicks<br />
hs=1 hides the split times<br />
hd=1 hides run comment (the d is for Description which is what it is called in the data)</p>
<p>I'll add a badge-generator page to my todo list that dumbs what I explained down.
</p></description>
</item>
<item>
<title>ryancnelson on "slowgeek embed-able web badge?"</title>
<link>http://forums.slowgeek.com/topic/slowgeek-embed-able-web-badge#post-439</link>
<pubDate>Mon, 01 Feb 2010 10:46:58 +0000</pubDate>
<dc:creator>ryancnelson</dc:creator>
<guid isPermaLink="false">439@http://forums.slowgeek.com/</guid>
<description><p>is there an approved way to embed my latest run info from slowgeek (specifically, an image, not some flash monstrosity) on my own html webpages?</p>
<p>Nike isn't supporting their flash-based badges anymore (the info about them has been taken off their site since they re-did it), and the datafeeds that existing ones use apparently have some Y2k10 bugs, since all my runs since new-years show up as from '00.  See <a href="http://www.ryan.net/misc/skitch/nikebadge-20100201-133209.jpg" rel="nofollow">http://www.ryan.net/misc/skitch/nikebadge-20100201-133209.jpg</a> for an example.</p>
<p>I'd love to link to a slowgeek image to embed on my homepage/blog , or have a url that means "most recent run image".  If there's a concern about site-load or traffic costs, I'd accept (or prefer, actually) something I could scrape via cron.</p>
<p>I could do this now, actually, with a handful of requests and a little html parsing, but if there's an "official" way to do this that I missed in the FAQ, please let me know.  Thanks!
</p></description>
</item>

</channel>
</rss>

