Edgewall Software

Changes between Version 48 and Version 49 of GenshiTutorial


Ignore:
Timestamp:
Aug 31, 2007, 12:53:19 AM (17 years ago)
Author:
cmlenz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GenshiTutorial

    v48 v49  
    930930{{{
    931931#!genshi
    932     <link rel="alternate" type="application/atom+xml" title="Geddit News"
     932    <link rel="alternate" type="application/atom+xml" title="Geddit"
    933933          href="${url('/feed/')}" />
    934934}}}
     
    959959}}}
    960960
    961 Note that this method dispatches to different templates depending on whether the `id` parameter was provided. So, for the URL `/feed/`, we'll render the list of links using the template `index.xml`, and for the URL `/feed/{link_id}/`, we'll render a link and a list of related comments using the template `info.xml`.
     961Note that this method dispatches to different templates depending on whether the `id` parameter was provided. So, for the URL `/feed/`, we'll render the list of links using the template `index.xml`, and for the URL `/feed/{link_id}/`, we'll render a link and the list of related comments using the template `info.xml`.
    962962
    963963The templates for this are also pretty simple. First, `geddit/templates/index.xml`: