Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 193
- Log:
First stage commit of Typo 4.1, modified for the ROOL site.
Includes all local modifications but a final pass needs to be
made to delete any files left over from earlier Typo versions
that shouldn't be here anymore. See the 'tags' section of the
repository for a clean Typo 4.1 tree.Note that symlinks to shared files in the RISC OS Open theme
directory have been deliberately included this time around; I
decided that on balance it was better to leave them in as
placeholders, since unlike symlinks in app/views/shared, the
Typo theme structure is not a standard Rails concept.
- Author:
- rool
- Date:
- Wed Apr 04 18:51:02 +0100 2007
- Size:
- 1390 Bytes
1 | xm.entry do |
2 | xm.author do |
3 | name = item.user.name rescue item.author |
4 | email = item.user.email rescue nil |
5 | xm.name name |
6 | xm.email email if this_blog.link_to_author unless email.blank? |
7 | end |
8 | xm.id "urn:uuid:#{item.guid}" |
9 | |
10 | xm.published item.published_at.xmlschema |
11 | xm.updated item.updated_at.xmlschema |
12 | xm.title post_title(item), "type"=>"html" |
13 | |
14 | xm.link "rel" => "alternate", "type" => "text/html", "href" => item.permalink_url |
15 | |
16 | item.categories.each do |category| |
17 | xm.category "term" => category.permalink, "label" => category.name, "scheme" => category.permalink_url |
18 | end |
19 | item.tags.each do |tag| |
20 | xm.category "term" => tag.display_name, "scheme" => tag.permalink_url |
21 | end |
22 | |
23 | item.resources.each do |resource| |
24 | if resource.size > 0 # The Atom spec disallows files with size=0 |
25 | xm.link "rel" => "enclosure", |
26 | :type => resource.mime, |
27 | :title => item.title, |
28 | :href => this_blog.file_url(resource.filename), |
29 | :length => resource.size |
30 | else |
31 | xm.link "rel" => "enclosure", |
32 | :type => resource.mime, |
33 | :title => item.title, |
34 | :href => this_blog.file_url(resource.filename) |
35 | end |
36 | end |
37 | xm.summary html(item, :body), "type"=>"html" |
38 | if this_blog.show_extended_on_rss |
39 | xm.content html(item, :all), "type"=>"html" if this_blog.show_extended_on_rss |
40 | end |
41 | end |