search for: userrss

Displaying 3 results from an estimated 3 matches for "userrss".

Did you mean: userrs
2006 Apr 29
3
Feedtools question
I use feedtools to generate the feeds and read them,and now they can not work well: This is the code for feed generating: class FeedsController < ApplicationController def userrss @user = User.find_by_id(params[:id]) @articles = @user.articles(:all,:order => ''updated_at desc'') @headers["Content-Type"] = "application/xml; charset=utf-8" @feed = FeedTools::Feed.new @feed.title = "#{@user.login}" @feed.a...
2006 May 13
6
Asking for help again about my thread debug
...lem comes from the design requirements that my web application will get the rss feeds read which are generated by the web application itself. http://www.ruby-forum.com/topic/63984 has shown my code,and the key code is the following: @feed = FeedTools::Feed.open("http://localhost:3000/feeds/userrss/#{params[:id]}") userrss is the controller to generate rss feeds: class FeedsController < ApplicationController def userrss @user = User.find_by_id(params[:id]) @articles = @user.articles(:all,:order => ''updated_at desc'') @feed = FeedTools::Feed.new @...
2006 Apr 30
2
Rss feed items disappear using feedtools?
I have met a problem on Feedtools and felt very confused about it: The feed that I generated using feedtools can not be read correctedly by feedtools,while rss from other websites can be read. Still,the code for rss generating: def userrss @user = User.find_by_id(params[:id]) @articles = @user.articles(:all,:order => ''updated_at desc'',:limit => 15) @headers["Content-Type"] = "application/xml; charset=utf-8" @feed = FeedTools::Feed.new @feed.title = "#{@user.login}&...