Displaying 20 results from an estimated 25 matches for "feedtools".
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'')...
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''
fe...
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)
/usr/local/lib/ruby/gems/1.8...
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 = @post.title
feed.entries[0].link = "http://server:3000/pra...
2006 Apr 02
3
FeedTools syntax question
...ttp://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 => &...
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,...
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/.
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 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 Mar 17
2
Test if remote file is actually RSS/XML
Hi all,
I want my users to be able to view RSS feeds of their choice on my site.
But i''d like to be able to check the files they are submitting as feeds
are actually XML before attempting to parse and display them.
I''ve been using feed tools to display the contents of feeds which works
perfectly, but i''d like some way to check if a file is a feed/xml.
Any pointers in
2006 May 13
6
Asking for help again about my thread debug
...,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 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...
2006 May 12
2
synchronize blog with Ruby on Rails site?
Hello all,
I have the following problem:
*) I have a WordPress blog at site x
*) I have a Ruby on Rails site, y
*) I want to accomplish the following thing: If i post a blog entry into
my wordpress blog at x, (in category z), i want it to appear
automaticaly at y (in a blog which is... let''s say just a Ruby on Rails
something, or alternatively Typo or maybe WP)
Suggestions to tackle
2006 May 08
8
RSS Feed / xml.link problem?
I''m having an odd problem. I''m trying to create an RSS feed (working off the
Recipe), but "xml.link" generates error about "Can''t convert Hash to
String". From the error trace, it *looks* like it''s calling the a fileutil
''link'' method (as in, filesystem symbolic link) - even xml.tag! generates
this error.
Er, how do I make
2005 Nov 02
1
Windows, Segmentation Faults, config.load_paths and config.cache_classes
...ows (our main development environment) where
I am getting a lot of segmentation faults.
BUT the problem started under windows with Rails being unable finding
the libraries I added into the load path:
config.load_paths += %W( #{RAILS_ROOT}/app/services
#{RAILS_ROOT}/vendor/feedtools/lib
#{RAILS_ROOT}/vendor/uuidtools/lib
)
As Rails can''t find these libraries, it generates a "uninitialized
constant Blog" wich is the first Model it tries to load.
We got rid of this problem setting config.cache_classes = false i...
2006 Jun 28
1
Iconv library error
...nloaded the web app package
and then tried to run the Webrick server. I got this error:
----------------------
C:\Documents and Settings\Dipesh\My
Documents\RubyOnRailsProjects\feedmarker>rub
y script/server
=> Booting WEBrick...
The Iconv library does not appear to be installed properly. FeedTools
cannot fu
nction properly without it.
Unexpected LoadError, it is likely that you don''t have one of the
libraries inst
alled correctly.
----------------------
As far as I could understand, this means either i don''t have the Iconv
library or it is corrupt or something. It would...
2008 Sep 02
2
MySQL lookups on VARCHAR with accents
I am running into problems with MySQL and lookups. The table has character
set utf8, but:
mysql> select id, token from tokens where token = ''esta'';
+-------+-------+
| id | token |
+-------+-------+
| 83417 | está |
+-------+-------+
1 row in set (0.00 sec)
How do I configure things so MySQL doesn''t ignore accents?
TIA,
Jeffrey
2009 Jan 29
2
HOWTO install webgen 0.5.6 on Debian GNU/Linux etch
Hi all,
Cristian our sys-admin wrote a short HOWTO for Webgen 0.5.6 on Debian
Etch, see https://wiki.fsfe.org/FellowshipHacks/Webgen.
I thought it might be of interest for others as well. If you know a
better way, please let us know.
Best wishes,
Matthias
--
Deputy German Coordinator, Fellowship Coordinator
Free Software Foundation Europe (FSFE) [] (http://fsfeurope.org)
Join the