templates/filelogentry-rss.tmpl
author Matt Mackall <mpm@selenic.com>
Wed, 06 Jul 2005 22:20:12 -0800
changeset 635 85e2209d401c
parent 626 47207ec19c51
child 777 8a61f25414b5
child 793 445970ccf57a
permissions -rw-r--r--
Protocol switch from using generators to stream-like objects. This allows the the pull side to precisely control how much data is read so that another encapsulation layer is not needed. An http client gets a response with a finite size. Because ssh clients need to keep the stream open, we must not read more data than is sent in a response. But due to the streaming nature of the changegroup scheme, only the piece that's parsing the data knows how far it's allowed to read. This means the generator scheme isn't fine-grained enough. Instead we need file-like objects with a read(x) method. This switches everything for push/pull over to using file-like objects rather than generators.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
599
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
     1
<item>
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
     2
    <title>#desc|firstline|escape#</title>
626
47207ec19c51 Fix quoting for RSS links
Matt Mackall <mpm@selenic.com>
parents: 601
diff changeset
     3
    <link>#url#?cmd=file;file=#file#;filenode=#filenode#</link>
599
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
     4
    <description>#desc|escape|addbreaks#</description>
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
     5
    <author>#author|obfuscate#</author>
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
     6
    <pubDate>#date|rfc822date#</pubDate>>
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
     7
</item>