git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jan Krüger" <jk@jk.gs>
To: Thomas Thurman <tthurman@gnome.org>
Cc: git@vger.kernel.org
Subject: Re: Autodiscovery of git repositories from HTML
Date: Tue, 27 Oct 2009 14:32:29 +0100	[thread overview]
Message-ID: <20091027143229.78140450@perceptron> (raw)
In-Reply-To: <20091027130000.GX30085@Dorothy.plexq.com>

> I have a web page which lives in a git repository so that it can be 
> easily mirrored.  I would like to use a "rel" link to the URL of the
> git repository so that it can be automatically discovered, like an
> RSS feed:
> 
> <link rel="alternate" type="???" href="http://example.com/.git"/>
> 
> Is there any existing convention as to what the type should be?

I don't think there is any such convention, since I don't think anyone
has done this before (but it would have interesting use cases).

Actually, I don't think rel="alternate" describes the relation well; a
repository isn't exactly an alternate version of the document.

If we don't care about the standard, we might want to use something like
the widely used rel="shortcut icon", e.g. rel="git repository".

Jan

      parent reply	other threads:[~2009-10-27 13:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-27 13:00 Autodiscovery of git repositories from HTML Thomas Thurman
2009-10-27 13:28 ` Jakub Narebski
2009-10-27 13:32 ` Jan Krüger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091027143229.78140450@perceptron \
    --to=jk@jk.gs \
    --cc=git@vger.kernel.org \
    --cc=tthurman@gnome.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).