On Apr 3, 2008, at 7:14 AM, Frederic de Villamil wrote:
Le 2 avr. 08 à 21:01, Brad Hawkins a écrit :
I'm new to Typo and excited about using a RoR blogging app, but I'm
having trouble getting the articles feed to work (both comments and
trackback seem to be working). I've tried both RSS and Atom and I've
installed Typo several times, testing it on different blogs, but I
always get the same error (500 Internal Server Error). I'm using
Bluehost, if that matters. Anyway, here is the error message from the
log:
Processing XmlController#feed (for 76.91.178.49 at 2008-04-02
12:15:36) [GET]
Parameters: {"format"=>"atom10", "action"=>"feed", "type"=>"feed",
"controller"=>"xml"}
Completed in 0.00160 (625 reqs/sec) | Rendering: 0.00006 (3%) | DB:
0.00000 (0%) | 301 Moved Permanently
[http://washabledryink.com/xml/atom10/feed.xml
]
Processing ArticlesController#index (for 76.91.178.49 at 2008-04-02
12:15:37) [GET]
Session ID: 297c6bfad2bcbca042c813755cc3419e
Parameters: {"format"=>"atom", "action"=>"index",
"controller"=>"articles"}
ActionView::TemplateError (undefined method `name' for nil:NilClass)
on line #10 of app/views/articles/_atom_feed.atom.builder:
7: feed.generator "Typo", :uri => "http://
www.typosphere.org", :version => '4.x'
8:
9: atom_feed.each do |value|
10: value.to_atom(feed)
11: end
12: end
Hello,
Works for me on every installs I run. What does
http://washabelydrink.com/articles.rss
tell you ?
Best regards
Frédéric
--
Frédéric de Villamil
[EMAIL PROTECTED] tel: +33 (0)6 62 19
1337
http://fredericdevillamil.com Typo : http://typosphere.org
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list
I tried running the /article.rss and when I'm in production mode I get
the 500 Internal Server Error, but when I switch over to development
mode I get this error message:
Showing app/views/articles/_rss20_feed.rss.builder where line #14
raised:
You have a nil object when you didn't expect it!
The error occurred while evaluating nil.email
Extracted source (around line #14):
11: xml.description this_blog.blog_subtitle
12:
13: rss20_feed.each do |value|
14: value.to_rss(xml)
15: end
16: end
17: end
And if I switch it over to Atom 1.0, this is what I get:
Showing app/views/articles/_atom_feed.atom.builder where line #10
raised:
You have a nil object when you didn't expect it!
The error occurred while evaluating nil.name
Extracted source (around line #10):
7: feed.generator "Typo", :uri => "http://
www.typosphere.org", :version => '4.x'
8:
9: atom_feed.each do |value|
10: value.to_atom(feed)
11: end
12: end
Thanks for your help! Hopefully one day I'll be more knowledgeable and
return the favor to others!
Brad
PS - the site is running in development mode if you want to see the
error messages yourself - www.washabledryink.com
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list