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:
- 872 Bytes
1 | xm.item do |
2 | xm.title(item.itunes_subtitle) |
3 | xm.enclosure( |
4 | :url => @blog.file_url(item.filename), |
5 | :length => item.size, |
6 | :type => item.mime) |
7 | xm.pubDate pub_date(item.created_at) |
8 | xm.guid this_blog.file_url(item.filename), "isPermaLink" => "false" |
9 | xm.itunes :author,(item.itunes_author) |
10 | xm.itunes :subtitle,(item.itunes_subtitle) |
11 | xm.itunes :summary,(item.itunes_summary) |
12 | xm.itunes :duration,(item.itunes_duration) |
13 | xm.itunes :keywords,(item.itunes_keywords) |
14 | if item.itunes_explicit? |
15 | xm.itunes :explicit,('yes') |
16 | end |
17 | |
18 | category_list = YAML::load(item.itunes_category) |
19 | category_list.each do |parent_cat,sub_array| |
20 | xm.itunes(:category, 'text' => parent_cat.gsub(/\&/,'&')) do |xm| |
21 | sub_array.each do |sub_cat| |
22 | unless sub_cat.nil? |
23 | xm.itunes :category, :text => sub_cat |
24 | end |
25 | end |
26 | end |
27 | end |
28 | end |