Why not use TileJSON? 
<a href="http://mapbox.com/developers/tilejson/">http://mapbox.com/developers/tilejson/</a> <div><br></div><div>Igor<br><br><div class="gmail_quote">On Thu, Jul 12, 2012 at 7:12 AM, Kai Krueger <span dir="ltr"><<a href="mailto:kakrueger@gmail.com" target="_blank">kakrueger@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000"><div class="im">
    <div>On 07/10/2012 01:38 PM, Lynn W.
      Deffenbaugh (Mr) wrote:<br>
    </div>
    <blockquote type="cite">
      
      I've been wondering if it would be possible to put a fixed URL on
      the tile and/or API servers that application programs could fetch
      to retrieve the current attribution string for that particular
      tile server?  Something like 0/0/0.txt or some-such that we could
      simply code into the tile-based clients to fetch the desired
      string instead of coding it directly in the clients?<br>
    </blockquote></div>
    I think this sounds like a good idea. Rather than 0/0/0.txt, I would
    use a name like attribution.txt or license.txt in the base directory
    of the tile style. It allows for different attribution for different
    styles on the same server while still having a meaningful name.<br>
    <br>
    In addition I would suggest to add an attribution.html that has the
    attribution string as a html snippet with the correct hyperlink to
    the license and contributors.<br>
    <br>
    If people think this is useful, I could add this to mod_tile to help
    standardize the attribution URL.<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Kai</font></span><div><div class="h5"><br>
    <blockquote type="cite"> <br>
      Since we all have to go in and change the attribution anyway, now
      might be a really good time to make it a fetchable string.<br>
      <br>
      Lynn (D) - KJ4ERJ<br>
      <br>
      PS.  I'm proposing a plain text string that can then be integrated
      into a client display here.  Another fixed URL per tile server
      could provide the reference URL string so that said applications
      can make the text attribution a link going there.<br>
      <br>
      On 7/10/2012 3:32 PM, Michael Collinson wrote:
      <blockquote type="cite">
        
        Hi Paul,<br>
        <br>
        We discussed this tonight at LWG <a href="https://docs.google.com/document/pub?id=1W7eh17a7cEUilpbictKYnWJfHoxIcA1W_tPEmqvmDkc" target="_blank">https://docs.google.com/document/pub?id=1W7eh17a7cEUilpbictKYnWJfHoxIcA1W_tPEmqvmDkc</a>
        item 5<br>
        <br>
        We do not think temporary dual-licensing is particularly
        practical or necessary provided that we allow consumers
        reasonable time to make their attribution string changes. We are
        happy to re-visit this if there is any strong reason we are not
        seeing.<br>
        <br>
        Mike<br>
        LWG<br>
        <br>
        <pre>><i> From: Richard Fairhurst [mailto:<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">richard at systemeD.net</a>]
</i>><i> Subject: [OSM-dev] Licence redaction ready to begin
</i>><i> 
</i>><i> Once it is complete, we will be ready to distribute data under the ODbL
</i>><i> and we'll advise of that with a separate announcement. The final pre-
</i>><i> redaction dataset available under CC-BY-SA has now been generated at
</i>><i> <a href="http://planet.openstreetmap.org/planet-120704.osm.bz2" target="_blank">http://planet.openstreetmap.org/planet-120704.osm.bz2</a> . Where data has
</i>><i> been redacted, any attempt to access it from the API or the site's
</i>><i> 'browse' pages will return a response to that effect.
</i>
To transition from tiles derived from a CC BY-SA source to tiles derived
from a ODbL source will require changing the attribution and regenerating
all tiles so that CC BY-SA data is not mis-represented as being ODbL data.
What time period will data be available under dual licenses so that tile
servers will not have to reload their database then immediately delete every
cached tile when changing their attribution?

When I discussed this with Frederik awhile back I suggested publishing the
first post-redaction planet as dual-licensed as well as one week of diffs to
allow tile servers to continue to serve old CC BY-SA tiles and re-render
over the course of a week.

At the very least I would suggest distributing the first post-redaction
planet as dual-licensed for the simple reason that all the information to
create it will be available as CC BY-SA.</pre>
        <br>
        <br>
        <fieldset></fieldset>
        <br>
        <pre>_______________________________________________
dev mailing list
<a href="mailto:dev@openstreetmap.org" target="_blank">dev@openstreetmap.org</a>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a>
</pre>
      </blockquote>
      <br>
    </blockquote>
    <br>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
<br></blockquote></div><br></div>