Displaying 20 results from an estimated 400 matches similar to: "FeedTools/FeedUpdater and Rails1.2 Problem"
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 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
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 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 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 Mar 21
4
Feedtools
Hi all,
Is anyone else seeing silly amounts of segfaults with Feedtools?
They''re regular enough to make it unusable, but I haven''t pinned down
what''s triggering them yet. Here''s the error:
> deadlock 0xb75970a8: run:-/usr/lib/ruby/1.8/timeout.rb:42: [BUG] Segmentation fault
> ruby 1.8.3 (2005-06-23) [i486-linux]
Naturally, that knocks over WEBrick,
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 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 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
2006 Feb 13
4
FreeMIS 1.0 Released
FreeMIS is an open source management information system for schools, built
with Ruby on Rails. I haven''t come across any other big open source
projects using Rails so far - if nothing else, the availability of the
source code might be useful for learners looking for ideas?
If anyone would be interested in helping to develop FreeMIS, please get in
touch.
Details here:
2007 Feb 04
2
Can BackgrounDrb help me?
I have a big report to produce from a Rails app that takes several minutes
to put together. I hoped backgroundrb would be able to pull together all
the ActiveRecord stuff in the background then throw it back to Rails for
rendering.
It seems, however, that I can''t pass an array of ActiveRecord objects from
the worker back to Rails. Do I have that right?
Another possibility was to do
2007 Jun 26
1
can't activate activesupport (= 1.0.4), already activated...
I''m encountering a problem when trying to go through the Rails4Days
tutorial: http://www.rails4days.pwp.blueyonder.co.uk/Rails4Days.pdf. As
the guide suggests I have downloaded the version of rails that is being
used in the tutorial with gem and have specified the versions in
/config/environment.rb:
# Include your application configuration below
# Require Rails libraries.
require
2006 Nov 24
0
Strange "camelize" error when running fresh rails install on Hoary
Hi everyone,
Just wondering if anyone had seen this before. I did a simple install
following Paul Goscicki''s tutorial
(http://paulgoscicki.com/archives/2005/09/ruby-on-rails-on-ubuntu/) and
I get this message when I type "rails test" from the command line.(I''m
running Ubuntu 5.04 Hoary)
could anyone point me in the right direction? thanks.
--max
2007 Dec 12
0
Mongrel-users Digest, Vol 23, Issue 4
Thanks for the help Sean. I managed to get the install fixed, but I''m
still having problems. When I do mongrel_rails start, the process just
gets stuck and never completes. If I interrupt it I get the
following...
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
/usr/lib/ruby/1.8/rubygems/source_index.rb:186:in `search'': Interrupt
from
2007 Feb 07
1
Auto-installing Gems via boot.rb causes errors under Mongrel
Hi,
I''m trying to make my Rails app auto-install my required gems, by
invoking the gem installation in boot.rb. I''ll use the ActionMailer
gem as an example:
...
system "sudo gem install actionmailer --version=1.2.5 -y"
...
Problem is that this fails on the first invocation of Mongrel - it
can''t find the gem. However, if I kill and restart mongrel (with the
2007 Jan 07
1
main features of Rails 2.0 ?
Now that Rails1.2 will be released in a week or two, I can''t help but
wonder what''s in store in Rails2.0.
To me the Rails1.2 is all about REST. Of course they have added some
nify features all around (nil?, passing a has to find and much more).
But the main thrust was REST.
What''s the main thrust in Rails 2.0?
- Neeraj
2007 Apr 28
4
Installing RoR on PenDrive
Hi,
I''m a very noob ror programer (i''ve started yesterday), but for my live,
i''ve pass all the day going up & down, and in order to have a constant
learning, i want to install ruby on rails, mysql, mysql-front, and
RadRails on a 512mb PenDrive.
I''ve followed these steps:
1) Download latest RubyOnRails windows installer.
2) Execute it settign the path to
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/.
2005 Oct 16
6
FreeMIS Open Source Project - packaging advice needed
Hi. FreeMIS is about ready for a first release as a Ruby-on-Rails based
application.
I''m beginning to realise that there''s a lot of stuff to be installed before
you can get even a WEBrick served version up and running:
MySql, Ruby, ruby-mysql bindings, rubygems, rails, and a couple more gems -
raspell (which needs aspell) and tzinfo.
I''m trying to figure out the