similar to: RSS XML Generation Problem

Displaying 20 results from an estimated 300 matches similar to: "RSS XML Generation Problem"

2006 Jul 18
2
A quick question on forms
I want to change parts of this form in order to use default values (with a disabled input). The problem is if I change it from text_field to text_field_tag that part of the form stops functioning. It seems like a silly question, but its been driving me crazy. Any help would help. Steve. <%= error_messages_for ''post'' %> <!--[form:post]--> <p><label
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 Apr 22
2
How to convert time from rss feed to another format ?
Hi, I need to parse the rss feed and use the pubDate field to generate a field in a xml file to use as an input to simile timeline. RSS returns the pubDate as : Sun Feb 24 06:33:32 UTC 2008 But I need it as a string : "Feb 24 2008 06:33:32 PST" When I do : ... @dt=feed_item.time @dt=@dt.to_date word_date=''%b %d %Y %H:%M:%S %z'' puts @dt.strftime(word_date) ...
2006 Apr 02
2
Problem with RSS feed from Rails Recipes
I''m trying to add an RSS feed to my app, and am going through the Rails Recipes chapter on doing so. I get the following error when I request the feed: undefined method `gmtime'' for #<DateTime: 1963061961/800,0,2299161> ... 7: xml.pubDate CGI.rfc1123_date(@posts.first.created_on) Any idea what''s up? Pat
2006 Mar 17
1
RSS problem when trying to display ID - HELP
I want to append "#comment-1" or whatever, depending on the id to the end of my xml.link(" ... /#comment-1") attribute in my generated xml. Well, when I put: xml.link(" ... /#comment-" + comment.id) I get an Application error (rails) message when I look at the generated XML. This is what I''m doing without the id on the comments (its working fine):
2006 Apr 07
2
Paginate single items
Hi, In my blog i display a post. I want to display a link tot he previous post if there is 1 and a link tot he next post if there is one. So i have in my controller def post @post = Post.find(params[:id]) @post_pages, @posts = paginate :posts, :per_page => 1 render(:layout => false) end And the following code in post.rhtml <% if @post_pages.current.next %> <%=
2006 Jun 15
1
Multiple :conditions?
How do I add multiple conditions to a paginated list? I have: @post_pages, @posts = paginate(:posts, :per_page => 10, :conditions => [ ''(title) OR (body) LIKE ?'', ''%'' + params[:query] + ''%''], :order =>
2013 Jan 26
0
[PATCH] Update news section
Adds two small news items and a news item on Blackberry support --- feeds/feed.rss | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/feeds/feed.rss b/feeds/feed.rss index 45d8ec1..ec230aa 100644 --- a/feeds/feed.rss +++ b/feeds/feed.rss @@ -6,12 +6,29 @@ <description>The latest news about FLAC (Free Lossless Audio Codec)</description>
2005 May 10
0
Fwd: Extract just some fields from XML]
Duncan, you are a king! Thanks a lot for this cookie. It really helped me. Thanks for the code as well as detailed explanation at the end. >Hi Gregor. > >Here is a function that will collect all of the nodes in the >XML document whose names are in the vector elementNames > >getElements = >function(elementNames) >{ > els = list() > > startElement = function(node,
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" type="application/rss+xml" /> <item> + <title>FLAC
2014 Mar 31
0
[PATCH] Fix encoding issues, add news and artists
This patch fixes a few non-ASCII characters which were displayed wrong, adds news about Pono and adds a few artists to the links page --- comparison.html | 10 +++++----- feeds/feed.xml | 18 +++++++++++++++++- links.html | 3 +++ 3 files changed, 25 insertions(+), 6 deletions(-) diff --git a/comparison.html b/comparison.html index 8e6b74b..daa0906 100644 --- a/comparison.html +++
2005 May 08
2
Extract just some fields from XML
Hello! I am trying to get specific fields from an XML document and I am totally puzzled. I hope someone can help me. # URL URL<-"http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&id=11877539,11822933,11871444&retmode=xml&rettype=citation" # download a XML file tmp <- xmlTreeParse(URL, isURL = TRUE) tmp <- xmlRoot(tmp) Now I want to extract only
2013 Jan 01
0
[PATCH] Added some news (including FLAC development moving to Xiph.org), replaced cvs-links by git-links and changing most links to the bug tracker with the new sourceforge link-style (for example replaced http://sourceforge.net/tracker/.... with
--- developers.html | 16 ++++++++-------- documentation.html | 4 ++-- documentation_bugs.html | 2 +- documentation_example_code.html | 2 +- documentation_tools.html | 2 +- download.html | 2 +- faq.html | 2 +- feeds/feed.rss | 31 +++++++++++++++++++++++++++++--
2006 Jul 20
13
GoDaddy Woes
Has anyone had any luck setting up a Rails App using GoDaddy? I''m at my wits end, I uploaded the site using the "instructions" in the Help Center but I keep getting the Application error Rails application failed to start properly" Error. I''ve lucked all over for help, and I''ve tried a bunch of things (adjusting the chmod values of my dispatch files
2006 Jun 14
4
Using now() to determine what should be displayed
I''m trying to create a paginated list that will take note of the "end_date" field in my table. This is what I have: @post_pages, @posts = paginate(:posts, :per_page => 10, :order_by => ''end_date'') in the controller. And for the view: <h1>Posts ending soon</h1> <ul><% for post in @posts do %> <strong>Post Title:
2008 Mar 20
6
Parsing multiple RSS & Atom feed formats
I''m working on a RSS aggregator, and I''ve based the parser on a script from this post; http://www.superwick.com/archives/2007/06/09/rss-feed-parsing-in-ruby-on-rails/ But, being the complete newbie, I''ve found that this parser only works for specifically formatted feeds. For example, some feeds will throw a ''nil text'' error. I know that I could make
2013 Jun 04
0
[PATCH website] Even more brands for links and sourceforge pages
Martijn van Beurden wrote: > Hi, > > Once more a patch much too heavy for the list. This will be the last > addition for links.html for a while, I think I really got them all now. > This patch adds a bunch of brands (some high-profile like Sony, LG, > ASUS) that have at least one FLAC-playing device in their line-up. Martijn, I notice that in the feeds/feed.xml file there
2004 Oct 25
1
Rails 0.8: Just shy of 100 additions, changes, tweaks, and fixes!
It''s been fifty days since our last confession, so it''s no wonder that this outpouring is by far the biggest yet in Rails history. It''s absolutely packed with goodies ranging from a whole new framework for sending email to the smallest new alias for an existing method. In total we''re just shy of 100 additions, changes, tweaks, and fixes. This is also
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
2016 Apr 11
1
R not responding (must force quit) when saving graphic to PDF (bug?)
Dear Wolfgang, Thanks for your response. No, I haven't tried doing the complete reinstallation as you suggest. If I recall correctly, this has happened on previous occasions but like I said in my email it's not all that disruptive to my workflow. It's more like a 'first world problem'. I was encouraged to submit the query because I had correspondence with someone involved