similar to: Feedtools

Displaying 20 results from an estimated 1000 matches similar to: "Feedtools"

2006 Mar 20
7
error using feedtools
I performed a gem install feedtools, I then added these 2 lines to my environment.rb: require ''rubygems'' require ''feed_tools'' I then added this method in my controller: def rss @post = Post.most_recent feed = FeedTools::Feed.new feed.title = ''Recent Rambles'' feed.subtitle = ''random thoughts by me''
2006 Jul 10
10
Problem using Feedtools on my Rails project!
Hi I''m trying to setup my app to use Feedtools amazing RSS powers, but it fails miserably on the following line: logger.debug("Description:#{FeedTools::Feed.open("http://rss.slashdot.org/Slashdot/slashdot").items.first.description}") The stack trace says: wrong number of arguments (0 for 1)
2006 Mar 20
3
can''t get my rss to validate with feedtools
I know that I''m doing something wrong, but I can''t figure out what. I''ve looked at every wiki and tutorial I can find on feedtools but I still can''t get my rss feed working. Here''s my code. feed = FeedTools::Feed.new feed.entries << FeedTools::FeedItem.new feed.entries[0].author.name = "Charlie Bowman" feed.entries[0].title =
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"
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)
2006 Mar 29
2
Fragment Cache Wackiness
I can''t seem to get the fragment cache to use :file_store. I''d really appreciate it if someone could point me in the right direction. Rails 1.1 final, FreeBSD Observe: In environment.rb AND production.rb (for good measure, DRY be damned): ActionController::Base.fragment_cache_store = :file_store, "/www/apps/localfeeds/directory/tmp/fragmentcache/" At the console
2006 Mar 13
1
Pagination & Feedtools
Is it possible to paginate rss feeds with FeedTools. The following code generates an error about constants. latest_feeds = FeedTools::Feed.open(''http://feeds.feedburner.com/Eribium'') @news_pages, @pages = paginate :latest_feeds, :per_page => 5 -- Posted via http://www.ruby-forum.com/.
2006 Mar 24
2
Expiring cached actions outside of ActionController
In the site I''m building, my models are *almost* never updated within ActionController-- all new data comes in via command line scripts manipulating ActiveRecord directly. Can anyone offer any hints about expiring cached actions without Sweeper? -Ross
2006 Apr 02
3
FeedTools syntax question
http://www.mozdex.com/open.jsp?query=webhosting&start=10 in the above feed, can anyone tell me how to access the openSearch:totalResults element using feed tools? I can access the other elements, but I''m unsure what special meaning the colon carries or how to work with such items in feedtools thanks in advance al
2007 Mar 05
1
FeedTools/FeedUpdater and Rails1.2 Problem
FeedUpdater has stopped working now that I have upgrade to Rails 1.2.2 When I run script/feed_updater start I get: /usr/local/lib/site_ruby/1.8/rubygems.rb:196:in `activate'': can''t activate activesupport (= 1.3.1), already activated activesupport-1.4.1] (Gem::Exception) from /usr/local/lib/site_ruby/1.8/rubygems.rb:214:in `activate'' from
2006 Jun 19
5
RSS reader for rails application.
Hi, I was wondering if there''s an RSS reader plugin of some sort available that will basically get the RSS feeds for me and then allow my Rails application to take those feeds and present them on my website. Would anybody know how I could get this to work with a rails app? Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Mar 13
5
Ruby on Rails Applications - To get RSS Feeds
Hi, all I am new to Ruby and also Ruby on Rails. I would like to know how we can get the RSS Feeds and display them in a Ruby on Rails applications. Thanks in Advance, sumi -- Posted via http://www.ruby-forum.com/.
2006 Jun 30
6
RSS::Parser Documentation
Hi I am trying to use the RSS classes from "rss/2.0" and everything works but I want to know what attributes and properties I can get at from each of the classes I am getting back. For example, the class has a "channel" which I can tell has a "title" attribute (because it works when I query it :) but I would really like a list of every attribute that is
2005 Mar 21
3
routes.rb question.
I have a simple program that read all HTML files from a directory and returns parts of the content and the file names which are HREFs to those file. I build the HREF string dynamicaly as PATH_TO_DOC_ROOT + "file_name". My PATH_TO_DOC_ROOT = http://127.0.0.1:3000/docman/public/docs. So, the final link that I am interested in might look like this:
2006 May 05
6
rake rails:update
This question has been asked before, but I am still can''t run rake rails:update. I get rake aborted! Don''t know how to build task ''rails:update'' My environment: FC4, Ruby 1.8.4, Rails 1.1 Any idea what to do? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jan 19
4
PHP ob_start in Ruby
I need to include Content-Length in each file. In PHP it would be: <?php ob_start(); ?> html <?php header(''Content-Length: '' . ob_get_length()); ob_end_flush(); ?> How can I do the same in Ruby? Thanks, eduard -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 May 13
6
Asking for help again about my thread debug
As http://www.ruby-forum.com/topic/65495 has shown,I have drawn into trouble about my thread debugging for some days,and need help to solve it urgently! This thread problem 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
2001 Mar 06
3
crashing on receiving connection
Hello, I got trouble installing tinc daemon. Every time when a connection comes in, the daemon crashes: Mar 6 18:32:56 localhost tinc.vpn[20703]: tincd 1.0pre3 (Feb 21 2001 02:32:50) starting, debug level 5 Mar 6 18:32:56 localhost tinc.vpn[20703]: Ready: listening on port 655 Mar 6 18:33:00 localhost tinc.vpn[20703]: Connection from 192.168.0.4 port 1135 Mar 6 18:33:00 localhost
2005 Mar 25
4
ajax and clearing the form
Hi I played a little bit with rails+ajax, works fine... but how do I reset the form? I tried: --- <%= form_remote_tag(:html => {:name => ''form_update''}, :url => :url_new_item_with_ajax, :update => ''container'', :loading => "Toggle.display(''new-item''); $(''new-item-desc'').innerHTML =
2006 Aug 15
8
AGAIN: file object treated as string
I am trying to implement the uploading of a file to a remote server I get error while trying to write the file on the server. The error I get is the following: undefined method `rewind'' for #<String:0x2aaaad062eb8> It seems to be treating my file as a string instead of a File object. --------- Code is below ------------------ VIEW: <%=