search for: feeds

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

Did you mean: needs
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.fetc...
2007 Apr 18
5
[BUG] worker stopping abruptly
...logger.info "Starting the Yahoo feed worker on : #{Time.now}" yahoo_url = "http://finance.yahoo.com/rss/headline?s=" symbol_list = NasdaqSymbols.find_all() symbol_list.each do|sym| temp_sym = sym.symbol.strip temp_url = yahoo_url + temp_sym get_feeds(temp_url,temp_sym) rescue next end rescue logger.info $! logger.info $!.backtrace end end ^^^ could be naive, but the point is, why worker stops suddenly without any errors? Earlier I thought, may be logging has bug and worker is still running. But a quick check from database says...
2006 Apr 30
2
Rss feed items disappear using feedtools?
...;rss for #{@user.login}" @articles.each do|@article| @feed_item = FeedTools::FeedItem.new @feed_item.title = "title" @feed_item.link = " http://localhost:3000/" @feed_item.description = render_to_string(:layout => false, :template => "feeds/view.rhtml") @feed.entries << @feed_item end end and @feed.build_xml(''rss'', 2.0) in the userrss.rxml file the generated rss can be read by any desktop rss reader correctedly Following is the code for rss read: controller: @feed = FeedTools::Feed.open("...
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["Conte...
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 GB, there''s more in store with Yahoo! Mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.r...
2005 Nov 04
0
Threads and Active Reccord
...s in one thread, then modifying them and saving them in a different thread, do I need to so anything special, like pre-fetch the accounts collection somehow? Below is the code that''s being used to produce the problems: <code> # method run by controller def check_all_feeds_and_create_tells fill_feed_queue sleep(1.minute) checkers = (1..3).map do |i| process_feed_chunk end end private def fill_feed_queue last_at = 0 @queue = SizedQueue.new(10) # with a capacity for 10 # we do the queue filling in a single threa...
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 Size...
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 with...
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/. --~--~---------~--~----~------------~-------~--~----~ You received this message because
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 =
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 s...
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.sourceforge.net> http://sourceforge.net/users/mhnoyes/ SF.net Projects: ffl, leaf, phpwebsite, phpwebsite-c...
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&quot...
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
...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(:all, :conditions => "FeedIdentity = #{feed.id}").length !...
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 b...
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: