Re: [Radiant] routing and comments
On Mar 9, 2009, at 8:24 AM, Sean Cribbs wrote: Comments are displayed on individual pages but I wanted to check if there is a way to display recent comments in general (not just the comments that belong to that page)? This sounds pretty useful. When you figure it out please post back how you did it. Also it seems a lot like how comments are handled in the admin section. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Content Internationalization
I'm currently looking at integrating radiant cms into our site. One of the requirements we have coming down the pipeline soon is internationalization. Is there a best practice anyone could suggest for internationalization of the content with Radiant? I ran across a couple of posts from May 2007 about doing this, but am checking because I don't know if this is still the suggested route. Does the rails 2.3 feature of rendering internationalization snippets change any recommendations? (:render :partial = foo would render _foo.en.html or _foo.es.html depending on current locale) http://www.mail-archive.com/radi...@lists.radiantcms.org/msg04509.html http://www.mail-archive.com/radi...@lists.radiantcms.org/msg04535.html What I envision is splitting out the content part of our app and integrating it into Radiant. We have someone who would then be able to translate maintain the spanish version of the website. Content does not presently change too frequently, but would it if didn't require a complete application redeploy just to update a some portion of the content. Any suggestions? All feedback is greatly appreciated. Doug === Doug Bryant doug.bry...@milemeter.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] Speed of Radiant on Dreamhost: Follow up
Original poster here. Dreamhost is trying to be helpful. I'm beginning to believe that my installation is the problem. I'm posting this to correct the record. I'll try to come back and update when I sort out the problem. It has something to do with how I'm installing Radiant and Gallery I think. -- View this message in context: http://www.nabble.com/Speed-of-Radiant-on-Dreamhost-tp6729p22417624.html Sent from the Radiant - User (New) mailing list archive at Nabble.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] Content Internationalization
Hi Doug, We've done a number of sites now that need to cover two or three markets. I thought it might be useful to share this as it's something we've come up against a few times. I realise that you're asking about internationalisation as in having an identical page that can render in different languages. In sites we've worked on, this often also means different prices and product fact sheets etc. The easiest thing from a development perspective is having one site, then make it smart to render out the different flavour depending on URL or cookie. We've run into two issues on that. First is the customer wanting slightly different behaviour or structure on one but not the others. A few changes are manageable, but as you can imagine this can get out of control and become a bit of a nightmare of localisation hacks. The second issue is SEO and localisation. Apparently physical location is a big deal. If you want to rank well with Japanese customers, use a Japanese TLD and host out of a Japanese rather than say a US datacentre. I realise in your example the Spanish version might well be for Spanish rather than English speakers in the US- this example is for different geographic markets. So, faced with those two issues, we typically make several different sites with one code repository. We've found this much easier in the long run. Capistrano manages the updates to each site so code remains the same, but the content is separate. A bit of a drag in that the content editor has to go to different /admins, but allows for flexible changes to structure and content, as well as addressing the SEO issue. Anyway- hope that helps someone at some stage regards Ben Doug Bryant wrote: I'm currently looking at integrating radiant cms into our site. One of the requirements we have coming down the pipeline soon is internationalization. Is there a best practice anyone could suggest for internationalization of the content with Radiant? I ran across a couple of posts from May 2007 about doing this, but am checking because I don't know if this is still the suggested route. Does the rails 2.3 feature of rendering internationalization snippets change any recommendations? (:render :partial = foo would render _foo.en.html or _foo.es.html depending on current locale) http://www.mail-archive.com/radi...@lists.radiantcms.org/msg04509.html http://www.mail-archive.com/radi...@lists.radiantcms.org/msg04535.html What I envision is splitting out the content part of our app and integrating it into Radiant. We have someone who would then be able to translate maintain the spanish version of the website. Content does not presently change too frequently, but would it if didn't require a complete application redeploy just to update a some portion of the content. Any suggestions? All feedback is greatly appreciated. Doug === Doug Bryant doug.bry...@milemeter.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant -- Ben Still | Red Ant | office +612 9267 8300 ext 208 | mobile 0425 294 271 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] routing and comments
On 10/03/2009, at 1:34 AM, Steven Southard wrote: Comments are displayed on individual pages but I wanted to check if there is a way to display recent comments in general (not just the comments that belong to that page)? This sounds pretty useful. When you figure it out please post back how you did it. Also it seems a lot like how comments are handled in the admin section. I was thinking the same but I'm having some difficulties. In the comments_controller, all the methods are linked to a certain @page. I added a method called recent but I am not sure how to test whether a comment is approved or not. So, for now, I am finding all comments. I also created a partial in views/comments/_recent.rhtml with the following code: liPosted %= comment.created_at.to_formatted_s(:long) % by/span %= content_tag(:strong, link_to(comment.author, comment.author_url)) if comment.author_url % on strong%= link_to(h(comment.page.title), comment.page.url) %/strong/li So, my difficulties are: 1. I am not sure how to connect my partial to the actual radiant app 2. I am not sure how to select only approved comments. Any ideas? Thanks, Elle ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] routing and comments
On 10/03/2009, at 12:24 AM, Sean Cribbs wrote: 1. Routing: Currently articles are routed to year/month/day/ permalink. I wanted to ask where is this defined? This is defined in the ArchivePage class - the child_url method. I think I'm blind cause I've been trying to find it and I can't (I looked for it before even sending the email) 2. Comments extension: a. Comments are displayed on individual pages but I wanted to check if there is a way to display recent comments in general (not just the comments that belong to that page)? I don't know that there is, but you could probably add some Radius tags that could do this. How would you suggest accomplishing that? b. When trying to add a new comment in production environment, I get this error: Can you put the full error (including backtrace) in a pastebin? (pastie.org or gist.github.com work great) That said, my first guess is that the extension doesn't pass on the request to the page that it renders. It really should. My other guess is that you have Akismet or Mollom configured and the connection to their service is timing out. Pasted to: http://pastie.org/412260 Funny thing, although I got an error in dev env, the comment was saved. Also, Akismet is configured and service connection timeout sounds logical. Elle ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] [ANN] FeedReader extension (take 2)
Apologies to those who get this twice - late night emails FTL, ignore the previous. Remember the RSSReader extension? Well, it was gathering dust. An older Radiant site that I recently upgraded to 0.7.x was using it, and it wouldn't work anymore after the upgrade, so I rewrote it. Things have changed a lot in feed-parsing libraries too, since the last time this site was upgraded. The new hotness is Paul Dix's Feedzirra library, which uses a combination of native libxml bindings, a very SAXy machine, and a heaping of awesome DSL to become the fastest feed parser available to Rubyists! So naturally, I chose Feedzirra. As a result, the new feed_parser extension is much faster and has support for Atom and multiple versions of RSS. And imagine this - for once I even decided to write decent documentation! Here's the goods: http://github.com/seancribbs/radiant-feed-reader-extension Make sure you read the README to get the proper installation instructions for Feedzirra - it can be a little tricky, depending on your platform. OS/X Leopard (not MacPorts) and Ubuntu 8.04 work just fine. Here's the page where I'm using the extension: http://diopa.org/news/world Enjoy, and Be Radiant! Sean ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant