From matijs at matijs.net Wed Sep 2 09:02:36 2009 From: matijs at matijs.net (Matijs van Zuijlen) Date: Wed, 02 Sep 2009 15:02:36 +0200 Subject: [typo] Blog defaulting to rss feed In-Reply-To: References: Message-ID: <4A9E6CEC.5010707@matijs.net> Michael Dever wrote: > All of a sudden my blog seems to be defaulting to an rss feed inside of > firefox. > > It's at http://blog.michaelcdever.com and I checked it in Firefox 2 & 3, > both with the same result. It was working just fine last night. If I run > dispatch.fcgi it outputs the html for the blog as I would expect. It seems to be working ok now. I'm assuming you switchted to dispatch.fcgi for now? > Anyone have any ideas?? Can you check the contents of the file index.html in the public/ subdirectory of your typo installation? Is it RSS or html? Regards, Matijs From frederic at de-villamil.com Wed Sep 2 09:30:10 2009 From: frederic at de-villamil.com (=?iso-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Wed, 2 Sep 2009 15:30:10 +0200 Subject: [typo] Blog defaulting to rss feed In-Reply-To: References: Message-ID: Le 2 sept. 2009 ? 14:19, Michael Dever a ?crit : > Hey all, > > All of a sudden my blog seems to be defaulting to an rss feed inside > of firefox. > > It's at http://blog.michaelcdever.com and I checked it in Firefox 2 > & 3, both with the same result. It was working just fine last night. > If I run dispatch.fcgi it outputs the html for the blog as I would > expect. > > Anyone have any ideas?? > > Hello, It seems to happen sometimes on Rails app using caches_page and serving both html and xml. I have not found a workaround yet. Regards, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From michael.dever2 at mail.dcu.ie Fri Sep 4 05:37:13 2009 From: michael.dever2 at mail.dcu.ie (Michael Dever) Date: Fri, 4 Sep 2009 10:37:13 +0100 Subject: [typo] Blog defaulting to rss feed In-Reply-To: <4AA0DD54.90709@matijs.net> References: <4AA0DD54.90709@matijs.net> Message-ID: Or is there a way to set a low lifetime on anthing thAt is a feed? Like maybe a minute? The problem would still be there, but reduced. Regards, michael On Friday, September 4, 2009, Matijs van Zuijlen wrote: > Michael Dever wrote: >> Yep, seems to be sorted. Thats a strange bug. I wonder why that happens, >> is it just Typo, or do you know of it occurring with other rails apps? > > I found this page: > > ? ?http://railsenvy.com/2007/2/28/rails-caching-tutorial > > which says: > > ? ?Yup, page caching is going to ignore all additional parameters on your url. > > So it should be a problem with all rails apps. > >> ? ? It seems to happen sometimes on Rails app using caches_page and >> ? ? serving both html and xml. >> ? ? I have not found a workaround yet. > > So my guess is that this happens whenever a URL like > > ? http://your.blog.org/?format=rss > > (which caches like index.html!) is accessed before > > ? http://your.blog.org/ > > gets a chance to cache its version. I don't really see a solution for this: Is > there a way to make Rails ignore parameters supplied this way? > > -- > Matijs > > -- Regards, Michael Dever From frederic at de-villamil.com Fri Sep 4 05:41:17 2009 From: frederic at de-villamil.com (=?iso-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Fri, 4 Sep 2009 11:41:17 +0200 Subject: [typo] Blog defaulting to rss feed In-Reply-To: References: <4AA0DD54.90709@matijs.net> Message-ID: Le 4 sept. 2009 ? 11:37, Michael Dever a ?crit : > Or is there a way to set a low lifetime on anthing thAt is a feed? > Like maybe a minute? The problem would still be there, but reduced. > > Regards, > michael > > On Friday, September 4, 2009, Matijs van Zuijlen > wrote: >> Michael Dever wrote: >>> Yep, seems to be sorted. Thats a strange bug. I wonder why that >>> happens, >>> is it just Typo, or do you know of it occurring with other rails >>> apps? >> >> I found this page: >> >> http://railsenvy.com/2007/2/28/rails-caching-tutorial >> >> which says: >> >> Yup, page caching is going to ignore all additional parameters >> on your url. >> >> So it should be a problem with all rails apps. >> >>> It seems to happen sometimes on Rails app using caches_page and >>> serving both html and xml. >>> I have not found a workaround yet. >> >> So my guess is that this happens whenever a URL like >> >> http://your.blog.org/?format=rss >> >> (which caches like index.html!) is accessed before >> >> http://your.blog.org/ >> >> gets a chance to cache its version. I don't really see a solution >> for this: Is >> there a way to make Rails ignore parameters supplied this way? Hello, Because of some other issues, I've planning to rewrite our cache system from scratch. It will take some time and I'm not sure I'll be able to do it before the next release, but it may also solve the HTML VS XML issue. Cheers, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From frederic at de-villamil.com Fri Sep 4 09:05:41 2009 From: frederic at de-villamil.com (=?iso-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Fri, 4 Sep 2009 15:05:41 +0200 Subject: [typo] ANN: Last.fm sidebar In-Reply-To: References: Message-ID: <66A5F0C5-4EB7-4E35-9A18-7DC883C9A3AC@de-villamil.com> Le 3 sept. 2009 ? 18:17, Michael Dever a ?crit : > Hey all, > > I'd like to announce my first sidebar for Typo. > > Being new to Typo, I tried to get the Audioscrobbler sidebar > installed when I installed Typo last weekend, but it wouldn't work, > so I said I'd write my own. > > It displays the track you're listening to (links to the last.fm page > for that song), and the artist (links to the last.fm page for that > artist) and the album image(links to the last.fm page for that album). > > It doesn't rely on any external gems, apart from what comes with > ruby normally, so installation is painless. Just run the following > from the root of your Typo install. > > script/plugin install http://svn.michaelcdever.com/last_fm_sidebar/branches/release/ Hello Michael, and thank you for contributing to Typo. Did you add your contribution to Typo plugin list at http://github.com/fdv/typo/wikis/typo-plugins-list Cheers, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From emiddleton at bebear.net Fri Sep 4 21:25:55 2009 From: emiddleton at bebear.net (Edward Middleton) Date: Sat, 05 Sep 2009 10:25:55 +0900 Subject: [typo] Blog defaulting to rss feed In-Reply-To: <4AA184DE.6080804@matijs.net> References: <4AA0DD54.90709@matijs.net> <4AA184DE.6080804@matijs.net> Message-ID: <4AA1BE23.1050209@bebear.net> Matijs van Zuijlen wrote: > Michael Dever wrote: >>> So my guess is that this happens whenever a URL like >>> >>> http://your.blog.org/?format=rss >>> >>> (which caches like index.html!) is accessed before >>> >>> http://your.blog.org/ >>> >>> gets a chance to cache its version. I don't really see a solution for this: Is >>> there a way to make Rails ignore parameters supplied this way? > > ... I have come up with a solution for this quandary! It is possible to add a > condition to Rails' page caching. I have just implemented the condition that the > query string must be empty. This means that *after a cache sweep*, > > http://your.blog.org/?format=rss Shouldn't this be http://your.blog.org/index.rss Edward From carsarejunk at gmail.com Sat Sep 5 01:55:08 2009 From: carsarejunk at gmail.com (Flagrant Disregard) Date: Sat, 5 Sep 2009 01:55:08 -0400 Subject: [typo] contact form Message-ID: <20090905055508.GC3290@centyx.net> Hi, I am very new to rails, and have just setup a typo blog. I installed the obviously unfinished typo_contact_form plugin and and am trying to make it work with EmailNotify / NotifcationMailer. I have added contactform classes to EmailNotify and NotificationMailer, but I am having trouble figuring out how to modify the contact form model to fetch the user to pass to EmailNotify. Could anyone throw in some helpful hints? Thank you! -- Clearly, Flagrant Disregard From mikemondragon at gmail.com Mon Sep 7 17:23:22 2009 From: mikemondragon at gmail.com (Mike Mondragon) Date: Mon, 7 Sep 2009 14:23:22 -0700 Subject: [typo] migrating legacy Typo 4.0.3 to Typo 5.3.X Message-ID: <967d3b9a0909071423m6e2b03e9kbb0880567fc91458@mail.gmail.com> Typo List: Here are my notes from my legacy Typo 4.0.3 installation to Typo 5.3.X http://plasti.cx/2009/09/07/migrating-legacy-typo-4-0-3-to-typo-5-3-x Cheers Mike work: http://sas.quat.ch/ blog: http://plasti.cx/ twitter: http://twitter.com/monde github: http://github/monde