Re: [Radiant] Blog extension usage
The README is a bit sparse for the blog extension. As it says: The Blog ... is a conglomeration of multiple extensions and new features. It includes my 'sibling_tags' extension, which provides tags for linking to next/previous articles. Documentation for the sibling tags extension can be found on it's own project page: http://github.com/nelstrom/radiant-sibling-tags-extension I'm not sure about the other extensions which are bundled in to the blog extension. Hope this helps, Drew 2009/11/16 María Paula Mariani paulamari...@gmail.com Hello! Does anybody knows if there's a document which explains the blog extension usage? I didn´t found it at the documentation stored at git. Thanks very much, -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Blog extension usage
Thanks very much Andrew, maybe it's all about sibling tags extensions! I've implemented my blog using Archives but I'd love to make it using just the Blog extension. Perhaps I should make a mix of both ? On Tue, Nov 17, 2009 at 12:11 PM, Andrew Neil andrew.jr.n...@googlemail.com wrote: The README is a bit sparse for the blog extension. As it says: The Blog ... is a conglomeration of multiple extensions and new features. It includes my 'sibling_tags' extension, which provides tags for linking to next/previous articles. Documentation for the sibling tags extension can be found on it's own project page: http://github.com/nelstrom/radiant-sibling-tags-extension I'm not sure about the other extensions which are bundled in to the blog extension. Hope this helps, Drew -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Blog extension usage
2009/11/16 María Paula Mariani paulamari...@gmail.com: Hello! Does anybody knows if there's a document which explains the blog extension usage? I didn´t found it at the documentation stored at git. Thanks very much, -- Paula Admittedly, I've needed to add more details for a while. Set Radiant::Config['blog.location.configurable?'] = 'true' and you can add a home location for each user's blog (used to generate the new blog post links on Dashboard You may also set Radiant::Config['blog.location.default'] to something generic so that every user creates posts on the same blog (such as /team/blog or whatever is appropriate for you). Originally I was going to bundle in the Comments extension as well, but I pulled it out because I wanted to avoid the inevitable questions about what to do if you already had Comments installed. And I was looking into pulling in the Blog Tags extension (which I may still do for the time_ago_in_words tag). http://wiki.github.com/radiant/radiant/blog-tags-extension I've been considering pulling in the whole thing because there is something nice about the brevity of using r:next instead of r:siblings:next but having both might be a bit confusing. I just pushed up some docs, so pull the latest. http://github.com/saturnflyer/radiant-blog-extension/commit/cbd5641e01d357d82a61f9ce7a415807ec61f0c3 -- Jim Gay http://www.saturnflyer.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Comments Extension
This is unrelated to the comments extension. If you have a snippet which is filtered with Markdown (or Textile or some other) and it includes one that, for example, has some non-Markdown text with spaces on a line before some HTML or text begins, the parsing of the parent snippet (the one with Markdown formatting) will include the contents and filter it as though it were filtered with Markdown. This is a weakness in the way Radiant handles this... or at least its a weakness in the way Radiant sets the expectation for how the content will be processed. The answer is to either not use any filtering, or change the comment_form snippet syntax so that it will filter with Markdown. Does that make sense? On Mon, Nov 16, 2009 at 11:56 PM, Rob Levin roblevinten...@gmail.com wrote: Got it Jim. Thanks. One other question. If I have a Markdown filtered page and I want to insert comment snippets like: r:snippet name=comment_form/ using the default snippets, it shows up as preformatted text. Is there a workaround that I can make it actually show a form within a Markdown page or do I have to create my own custom snippets to achieve this? On Mon, Nov 16, 2009 at 8:03 PM, Jim Gay j...@saturnflyer.com wrote: You can; that's what you are doing. You have to tell Rails to load the mislav-will_paginate gem and recognize it as will_paginate. On Mon, Nov 16, 2009 at 10:58 PM, Rob Levin roblevinten...@gmail.com wrote: Hi Jim, That worked - thanks! So I can't depend on the system gem? On Mon, Nov 16, 2009 at 7:36 PM, Jim Gay j...@saturnflyer.com wrote: edit your config/environment.rb to have: config.gem 'mislav-will_paginate', :lib = 'will_paginate' I think that should do it. On Mon, Nov 16, 2009 at 10:11 PM, Alexander Wallace alexmlwall...@gmail.com wrote: Saw that a second after I click send, oops. Try installing it as a plugin, or directly installing the will_paginate gem (as opposed to the github version, mine is simply listed as will_paginate (2.2.2)... Try out these steps on script/console as well- should let you know if the gem is being loaded in properly. http://wiki.github.com/mislav/will_paginate/troubleshooting On Mon, Nov 16, 2009 at 10:06 PM, Rob Levin roblevinten...@gmail.comwrote: I thought this was it: mislav-will_paginate (2.3.11) (as listed in my gem local listing). No? On Mon, Nov 16, 2009 at 7:04 PM, Alexander Wallace alexmlwall...@gmail.com wrote: Looks like you're missing the will_paginate gem. Try gem install will_paginate, or grab it from http://github.com/mislav/will_paginate Alex On Mon, Nov 16, 2009 at 9:58 PM, Rob Levin roblevinten...@gmail.com wrote: Wondering what to do to get comments extension to work. When I run the ./script/server -e [production|development] and go to the extensions tab in Admin I see the comments extension and also, a “Comments” tab showed up on the right of Admin. But I still got the following error when I click on it: NoMethodError in Admin/commentsController#index undefined method `paginate' for #Class:0x238bb8c Note that before the above I'd done: git clone git://github.com/sjlombardo/radiant-comments.git from the /vendor/extensions dir and renamed: `mv radiant-comments/ comments/` Then I had to hack the source of /vendor/extensions/comments_extension.rb for the include application to: begin require_dependency 'application_controller' rescue MissingSourceFile require_dependency 'application' end And here are my local gems: -- Jim Gay http://www.saturnflyer.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Twitter: user tweets
Hey folks I've been looking at the twitter_tags extension which uses the underlying twitter gem. Not quite sure of the auth/api differences but it seems that we can only get a users recent tweets this way from the gem. I simply want to show the n latest tweets from my user account. I've previously used the twitter4r gem which allows this, so before I roll up my sleeves, anyone found a way to use the existing extension that doesn't have the recent restriction? Thanks Matt -- -- http://cenatus.org/ http://radialsolutions.co.uk/ -- ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Twitter: user tweets
Matt, I forked/extended Sean Cribbs's radiant-twitter-extension to do exactly that. http://github.com/dayne/radiant-twitter-extension That lets me show my latest tweets using: r:twitter:message max=10 -dayne UAF-GINA http://www.gina.alaska.edu | SDMI http://www.alaskamapped.org | da...@alaska.edu 907-474-6182 On Tue, Nov 17, 2009 at 9:16 AM, Matt Spendlove i...@radialsolutions.co.ukwrote: Hey folks I've been looking at the twitter_tags extension which uses the underlying twitter gem. Not quite sure of the auth/api differences but it seems that we can only get a users recent tweets this way from the gem. I simply want to show the n latest tweets from my user account. I've previously used the twitter4r gem which allows this, so before I roll up my sleeves, anyone found a way to use the existing extension that doesn't have the recent restriction? Thanks Matt -- -- http://cenatus.org/ http://radialsolutions.co.uk/ -- ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Comments Extension
Hi Jim, that's what I figured and so in order to have Markdown filter it as raw HTML I will have to create my own snippet as I thought. Per http://daringfireball.net/projects/markdown/syntax#html it seems the only why Markdown will utilize it as 'Inline HTML' is if there's a a line between the inline html and no indentation (thus the snippet won't work in my case). I agree that this was not related to the comment extension so I apologize for sneaking it in. Thanks for all your help and wonderful extensions Jim ;-) On Tue, Nov 17, 2009 at 7:38 AM, Jim Gay j...@saturnflyer.com wrote: This is unrelated to the comments extension. If you have a snippet which is filtered with Markdown (or Textile or some other) and it includes one that, for example, has some non-Markdown text with spaces on a line before some HTML or text begins, the parsing of the parent snippet (the one with Markdown formatting) will include the contents and filter it as though it were filtered with Markdown. This is a weakness in the way Radiant handles this... or at least its a weakness in the way Radiant sets the expectation for how the content will be processed. The answer is to either not use any filtering, or change the comment_form snippet syntax so that it will filter with Markdown. Does that make sense? On Mon, Nov 16, 2009 at 11:56 PM, Rob Levin roblevinten...@gmail.com wrote: Got it Jim. Thanks. One other question. If I have a Markdown filtered page and I want to insert comment snippets like: r:snippet name=comment_form/ using the default snippets, it shows up as preformatted text. Is there a workaround that I can make it actually show a form within a Markdown page or do I have to create my own custom snippets to achieve this? On Mon, Nov 16, 2009 at 8:03 PM, Jim Gay j...@saturnflyer.com wrote: You can; that's what you are doing. You have to tell Rails to load the mislav-will_paginate gem and recognize it as will_paginate. On Mon, Nov 16, 2009 at 10:58 PM, Rob Levin roblevinten...@gmail.com wrote: Hi Jim, That worked - thanks! So I can't depend on the system gem? On Mon, Nov 16, 2009 at 7:36 PM, Jim Gay j...@saturnflyer.com wrote: edit your config/environment.rb to have: config.gem 'mislav-will_paginate', :lib = 'will_paginate' I think that should do it. On Mon, Nov 16, 2009 at 10:11 PM, Alexander Wallace alexmlwall...@gmail.com wrote: Saw that a second after I click send, oops. Try installing it as a plugin, or directly installing the will_paginate gem (as opposed to the github version, mine is simply listed as will_paginate (2.2.2)... Try out these steps on script/console as well- should let you know if the gem is being loaded in properly. http://wiki.github.com/mislav/will_paginate/troubleshooting On Mon, Nov 16, 2009 at 10:06 PM, Rob Levin roblevinten...@gmail.comwrote: I thought this was it: mislav-will_paginate (2.3.11) (as listed in my gem local listing). No? On Mon, Nov 16, 2009 at 7:04 PM, Alexander Wallace alexmlwall...@gmail.com wrote: Looks like you're missing the will_paginate gem. Try gem install will_paginate, or grab it from http://github.com/mislav/will_paginate Alex On Mon, Nov 16, 2009 at 9:58 PM, Rob Levin roblevinten...@gmail.com wrote: Wondering what to do to get comments extension to work. When I run the ./script/server -e [production|development] and go to the extensions tab in Admin I see the comments extension and also, a “Comments” tab showed up on the right of Admin. But I still got the following error when I click on it: NoMethodError in Admin/commentsController#index undefined method `paginate' for #Class:0x238bb8c Note that before the above I'd done: git clone git://github.com/sjlombardo/radiant-comments.git from the /vendor/extensions dir and renamed: `mv radiant-comments/ comments/` Then I had to hack the source of /vendor/extensions/comments_extension.rb for the include application to: begin require_dependency 'application_controller' rescue MissingSourceFile require_dependency 'application' end And here are my local gems: -- Jim Gay http://www.saturnflyer.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] The system cannot find the path specified.
On 13/11/2009 19:43, John Long wrote: I'm working on that and the failing tests right now. Oops! :-) Oops, umm, yes, indeed. Feeling more than a little embarrassed here. Sorry for causing more work for you than necessary. I was aware that I should be running the tests, but I'm pretty green when it comes to TDD/BDD and got a little bit overwhelmed (I'm a designer by training, not a programmer). I did tentatively try running rake spec, but this exploded in a shower of nasty looking error messages. Yikes. I figured I'd spend ages trying to get the tests to run properly, so I just submitted the patch. After all, the changed code is supposed to do exactly the same thing as the old code and therefore the tests should still pass in theory, right? Wrong. I now see the tests run deeper than simply testing for some end results. So this morning I've been trying to get the tests running. I've installed RSpec and the other dependencies, had some trouble with cucumber (solved by forcing version 3.9 to install), then ran rake spec, had another explosion errors, installed an older version of webrat and finally the tests run. But there are quite a few failures. The biggest problem seems to be an Errno::EACCES permission denied error. This gist shows it in all its glory: http://gist.github.com/237136#LID484 In order to debug this, I added :verbose = true to the cp_r methods that seem to be causing the problems. The result of doing this is truly a WTF!? http://gist.github.com/237155#LID182 (some lines snipped out for brevity) Seems that adding the verbose option mysteriously makes the cp_r work. Although having said that, there is still one of those pesky EACCES errors back on line 120: http://gist.github.com/237155#LID120 So, is this a bug in FileUtils, perhaps? I'm at a loss. Charles On Fri, Nov 13, 2009 at 2:01 PM, Charles Roper reac...@charlesroper.co.uk wrote: 2009/11/13 John Longjohnwlong2...@gmail.com: Applied. Please verify. Thanks John, looks good apart from one typo that I managed to slip in there. I've added a comment to the commit: http://github.com/radiant/radiant/commit/71646bb1574713435d257825f21d984eb4ea8ba3#L0R187 Want another patch or is it easier for you to fix? Cheers, Charles ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant on Heroku - RDiscount or BlueCloth?
On 13/11/2009 08:10, Charles Roper wrote: Well, I've found BlueCloth 2 is also not working on Windows, despite the fact it seemingly has a mingw binary. I think I must have been using an old version when I thought it was fine. Turns out you can install BlueCloth 2 on Windows. You need to be using the new mingw-based Ruby and have the DevKit installed; you can then force the platform to 'ruby' and it'll compile the binary: C:\gem install bluecloth --platform=ruby Building native extensions. This could take a while... Successfully installed bluecloth-2.0.5 1 gem installed C:\irb -rubygems irb(main):001:0 require 'bluecloth' = true Charles ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant