Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 173
- Log:
Updated to latest release of Beast according to the "getting started with
Beast" guide at:http://beast.caboo.se/forums/1/topics/381
This check-in includes frozen Edge Rails and has the beginnings of
configuration for the ROOL site included.
- Author:
- rool
- Date:
- Fri Mar 02 15:59:12 +0000 2007
- Size:
- 1025 Bytes
1 | xml.instruct! :xml, :version => "1.0", :encoding => "UTF-8" |
2 | |
3 | xml.rss "version" => "2.0", |
4 | 'xmlns:opensearch' => "http://a9.com/-/spec/opensearch/1.1/", |
5 | 'xmlns:atom' => "http://www.w3.org/2005/Atom" do |
6 | xml.channel do |
7 | xml.title "#{search_posts_title} | Beast" |
8 | xml.link "http://#{request.host_with_port}#{search_posts_path}" |
9 | xml.language "en-us" |
10 | xml.ttl "60" |
11 | xml.tag! "atom:link", :rel => 'search', :type => 'application/opensearchdescription+xml', :href => "http://#{request.host_with_port}/open_search.xml" |
12 | unless params[:q].blank? |
13 | xml.tag! "opensearch:totalResults", @post_pages.item_count |
14 | xml.tag! "opensearch:startIndex", (((params[:page] || 1).to_i - 1) * @post_pages.items_per_page) |
15 | xml.tag! "opensearch:itemsPerPage", @post_pages.items_per_page |
16 | xml.tag! "opensearch:Query", :role => 'request', :searchTerms => params[:q], :startPage => (params[:page] || 1) |
17 | end |
18 | render :partial => "layouts/post", :collection => @posts, :locals => {:xm => xml} |
19 | end |
20 | end |