search for: feed

Displaying 20 results from an estimated 5009 matches for "feed".

2010 Sep 30
2
How to use a class, put it inside a model?
class Feeds FEEDS = %W( http://feed.kennisnet.nl/Basisonderwijs http://feed.kennisnet.nl/Voortgezetonderwijs http://wp.digischool.nl/nieuws/feed/ ) def load_feeds @feeds_ds = feeds.first @feeds = vopo? ? feeds.second : feeds.last end def feeds @feeds ||= Feedzirra::Feed.fet...
2007 Apr 18
5
[BUG] worker stopping abruptly
I have been facing this damn ugly issue since quite sometime. So this worker reads RSS feed from Yahoo news and stores it in a DB. The worker is scheduled to run at every 40 minutes and my background_schedules.yml looks like this: feed_worker: :class: :feed_worker :job_key: :feed_worker_key :worker_method: :do_work :trigger_args: :start: <%= Time.now + 5 %> :repeat_...
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 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 Feb 01
3
SimpleRss: Poorly formatted feed
Based on the suggestions here I decided to use SimpleRSS but no matter what RSS feed I try, I keep getting the error: "Poorly formatted feed" I have tried "well formatted" RSS 0.91, 0.92 and 2.0 feeds but to no avail. Can anyone please come to my rescue? Thanks Frank --------------------------------- Do you Yahoo!? With a free 1...
2005 Nov 04
0
Threads and Active Reccord
Yeah, this is fun! So I''m trying to check a bunch of websites to see if they''ve been updated since the last time I check them. I''m using threads and SizedQueue to grab sets of "feed" objects out of the database, then send them off to be downloaded and compared to existing records. I sometimes get this error, which I don''t understand: [2005-11-04 13:10:15] ERROR SystemExit: /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.12.2/lib/active_record/base .rb:1412:in `...
2008 Jan 25
4
Feed API draft for comment
RFC: This is draft proposal API for the user-level interface for feeds. (This does not describe changelogs in general). Feeds would generally be used for two things: creating audit logs, and driving a database watching for filesystem changes. -------------- next part -------------- A non-text attachment was scrubbed... Name: feed_api.pdf Type: application/pdf Siz...
2006 Jan 31
1
view vs controller - data from multiple tables.
Hi all, please pardon my question if it seems silly.. I''m trying pretty hard to learn though. :) I have 2 tables: feeds (has_many feed_items) feed_items (belongs_to feed) Let''s say Feeds has 3 feed.names: "Things that Start with A", "Things that start with B", "Things that start with C". I want to print out, on one page, something like the following: Things that start wit...
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 following: @feed = FeedTools::Feed.open("http://localhost:3000/feeds/userrss/#{params[:id]}") userrss is the controller to generate rss feeds: class...
2008 Nov 18
2
rss feed is not detected in firefox ?
my rails version is 2.2.0 i have created a rss feed It is working fine in IE but in fire fox only xml content is showned like "This XML file does not appear to have any style information associated with it. The document tree is shown below." any idea ? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~----...
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:300...
2008 May 27
2
Help with Writing Meaningful Specs
Hello all, In yet another attempt to learn Ruby on Rails and Rspec I have started writing a simple life streaming app with will aggregate feeds from several places and save them in a database for later use. An internet search eventually led me to the following method for looping through the feeds in the database, getting the contents of the URL and then passing this into another model to prepare and save it. def self.cache_all feeds =...
2006 Feb 04
4
Page caching feeds and cache file extensions
I have a feeds controller which generates RSS and Atom pages. I put ''caches_page :show'' in it. The problem is that the pages are saved with an html extension. As a result, browsers display the cached feeds as HTML rather than XML, and feed validators complain. There''s an option to...
2005 Dec 28
1
Help needed with ActiveRecord
I am having issues with RoR/database relationships I have 3 tables Feeds (List of feeds) FeedItems (List of items, feedsID) FeedView (list of views and their list of feedsID) I would like to be able to generate a view with the feeditems For example, if the view has 2 feeds --> CNN & MSNBC and they both have 15 feeds in the feeditems table I want to be able to...
2004 Jun 26
2
RSS News Feed
Tom, Can you/someone get a news feed setup for shorewall announcements? If not, I''ll have to make use of the shorewall rss feeds at SF. Project RSS Feeds: shorewall http://sourceforge.net/export/rss2_project.php?group_id=22587 BTW, planetplanet.org has links to some cool feeds. -- Mike Noyes <mhnoyes at users.sourcefor...
2014 Nov 28
0
[PATCH 3/4] Update news feed
--- feeds/feed.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/feeds/feed.xml b/feeds/feed.xml index 0d16cd9..2390cd0 100644 --- a/feeds/feed.xml +++ b/feeds/feed.xml @@ -7,6 +7,30 @@ <atom:link href="http://xiph.org/flac/feeds/feed.xml" rel="self&quo...
2006 Jun 06
2
RSS Generator - Can not subscribe from yahoo
Hi I have created a rss generator for my web site; it is http://www.rordirectory.com/rss The feed displays correctly; but when I try to subscribe from my yahoo account, after entering the feed url, I get the following message :- "There was a problem subscribing to the following feeds. Please try again later" what am I doing wrong? thanks -- Posted via http://www.ruby-forum.com...
2006 Nov 30
1
Rails validation - newbie
...pting to apply valdiation to email addresses on a form in my rails app: You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.each Extracted source (around line #39): 36: <fieldset> 37: <legend>Feed subscriptions</legend> 38: <p><select name="feeds[feeds][]" id="feeds_feeds[]" multiple="multiple" size="5"> 39: <% @feeds.each do |feed| %> 40: <option value="<%= feed.id %>" <% if (@user.subscriptions.find...
2008 Jan 13
3
right usage of bdrb
...i, i''m going to implement a syndication-service, which will get lists in xml with some meta-data an enclosed video files, which will get encoded at the end. The syndication run will be startet every five minutes of a full hour. So i thought to build 4 Worker. One for checking which feeds to syndicate (syndication_worker) at a specific time, one for processing the list (import_worker), one for fetching the clips (download_worker) and one for encoding (encoding) worker. In my tests all went fine, all my jobs are invoked properly. Q1) Is this procedure right in the intention of...
2006 Jun 07
5
How to test RSS feeds while developing it on localhost
Hi, I am developing on windows xp and am trying to create RSS feed for an app using RoR. How do I test my RSS feed while I am developing it. I don''t know of any feed reader that would accept localhost as the input. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachmen...