From mail at rodrigoflores.org Sat Mar 6 18:08:07 2010 From: mail at rodrigoflores.org (Rodrigo Flores) Date: Sat, 6 Mar 2010 20:08:07 -0300 Subject: [typo] Offline pages on typo website Message-ID: Hi I have tried to access some pages in typo website and looks like they're offline. Some examples: http://plugins.typosphere.org/tweetmeme-text-filter , http://plugins.typosphere.org/haml-textfilter , http://typogarden.org/2008/06/10/techblue , http://typogarden.org/page/2 Cheers -- =================== Rodrigo L. M. Flores Computer Science Msc. Student - IME - USP Computer Science Degree - IME - USP Homepage (en): http://www.rodrigoflores.org Blog (pt-BR): http://blog.rodrigoflores.org Linux User # : 351304 Jabber: im at rodrigoflores.org From rick.denatale at gmail.com Sun Mar 7 14:29:14 2010 From: rick.denatale at gmail.com (Rick DeNatale) Date: Sun, 7 Mar 2010 14:29:14 -0500 Subject: [typo] Is there a way to refresh the resource list? Message-ID: I finally got around to upgrading my blog from Typo 5.3 to Typo 5.4.3 today. It seems to be working pretty well, but I notice that if I go to the admin > manage > images that only a few of the image files in my public/files directory seem to have Resource model instances in the database. Is there an easy way to rectify this? -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale From frederic at de-villamil.com Sun Mar 7 17:53:26 2010 From: frederic at de-villamil.com (=?iso-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Sun, 7 Mar 2010 23:53:26 +0100 Subject: [typo] Is there a way to refresh the resource list? In-Reply-To: References: Message-ID: <13813B39-941E-43DD-B601-CDA150038E49@de-villamil.com> Hello Rick, cut / past the code in a rake file (ie populate_resources.rake), store it in lib/tasks/ and run rake populate_resources. Should work, but I didn't test it. Regards, Fr?d?ric files = File.join("#{RAILS_ROOT}", "public", "files") Dir.glob("#{files}/*").select do |file| resource = Resource.find_by_filename(file.basename) next unless resource.nil? unless file.content_type mime = 'text/plain' else mime = file.content_type.chomp end Resource.create(:filename => file.basename, :mime => mime, :created_at => Time.now) end Le 7 mars 2010 ? 20:29, Rick DeNatale a ?crit : > I finally got around to upgrading my blog from Typo 5.3 to Typo 5.4.3 today. > > It seems to be working pretty well, but I notice that if I go to the > admin > manage > images that only a few of the image files in my > public/files directory seem to have Resource model instances in the > database. > > Is there an easy way to rectify this? > > -- > Rick DeNatale > > Blog: http://talklikeaduck.denhaven2.com/ > Twitter: http://twitter.com/RickDeNatale > WWR: http://www.workingwithrails.com/person/9021-rick-denatale > LinkedIn: http://www.linkedin.com/in/rickdenatale > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list -- 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 Sun Mar 14 05:47:56 2010 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Sun, 14 Mar 2010 10:47:56 +0100 Subject: [typo] Is there a way to refresh the resource list? In-Reply-To: References: Message-ID: <1CFD5E99-F8B7-454D-A696-888034B1E6CA@de-villamil.com> Le 7 mars 10 ? 20:29, Rick DeNatale a ?crit : > I finally got around to upgrading my blog from Typo 5.3 to Typo > 5.4.3 today. > > It seems to be working pretty well, but I notice that if I go to the > admin > manage > images that only a few of the image files in my > public/files directory seem to have Resource model instances in the > database. > > Is there an easy way to rectify this? > Hello, I just needed to refresh my resources, so I fixed my script. You need the mime-types gem first, then require 'mime/types' files = File.join("#{RAILS_ROOT}", "public", "files") Dir.glob("#{files}/*").select do |file| resource = Resource.find_by_filename(File.basename(file)) next unless resource.nil? mime = MIME::Types.type_for(file).to_s.chomp Resource.create(:filename => File.basename(file), :mime => mime, :created_at => Time.now) end -- 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 Sun Mar 14 12:41:44 2010 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Sun, 14 Mar 2010 17:41:44 +0100 Subject: [typo] Typogarden is back from the grave Message-ID: <36F4F5B7-FBCF-4A3C-81A6-4BC242331263@de-villamil.com> Hello, After a few months being slightly brocken, Typogarden (http://typogarden.org ), Typo's theme catalogue is now back from the grave, better, and more up to date. I incidentally broke Typogarden while upgrading the Typo that was hosting it, and forgot to backup things before doing it. I had to change a few things in the new default theme and in every theme picture to make things right. You can now submit new themes at neuro[at]7el.net, and I'll add them as soon as possible. Regards, Fr?d?ric / neuro -- 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 Wed Mar 24 17:14:27 2010 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Wed, 24 Mar 2010 22:14:27 +0100 Subject: [typo] Poll : shall we remove Typo enclosure and iTunes related feature Message-ID: Hello, Once again, we're back on our favorite code editor, working on a better, lighter Typo. Which means removing useless, or at least unused parts first. Maybe you didn't know about it, but Typo has native podcast publishing feature. Just fill in some settings, attach your article a MP3 and you're done. We've been wondering for a while if you, Typo users, were actually using those feature, or if they were just a useless burden on our favorite weblog engine. If we realize no one actually use them, we'll eventually drop them from the next release. The only question will be wether or not we should leave backward compatibility, and that's the reason why we've setup that quick poll http://blog.typosphere.org/poll-shall-we-remove-typo-enclosure-and-itunes-related-feature.html . We'd be really glad if you took a minute to answer. In the meanwhile, we'll be working on improving our attachments and media library, but that's a another feature we'll discuss later. -- 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 craayzie at gmail.com Thu Mar 25 23:07:15 2010 From: craayzie at gmail.com (Craayzie McLovin) Date: Thu, 25 Mar 2010 20:07:15 -0700 Subject: [typo] multi-site/multi-blog support? Message-ID: <800b103d1003252007v496910ccqaab3ec89e5f00231@mail.gmail.com> Hi guys - is it possible to run Typo in a multi-site/multi-blog configuration such as http://site[1-n].domain.com/blog[1-n]/ ? We're looking for a rails blogging framework similar to WPMU + multi-site support (so multiple blogs on multiple sites) and are wondering if Typo would be a good fit. Thanks! - Craayzie -------------- next part -------------- An HTML attachment was scrubbed... URL: From frederic at de-villamil.com Fri Mar 26 06:15:02 2010 From: frederic at de-villamil.com (=?iso-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Fri, 26 Mar 2010 11:15:02 +0100 Subject: [typo] multi-site/multi-blog support? In-Reply-To: <800b103d1003252007v496910ccqaab3ec89e5f00231@mail.gmail.com> References: <800b103d1003252007v496910ccqaab3ec89e5f00231@mail.gmail.com> Message-ID: <133495B2-8453-46DA-B2C2-65CEE88A5698@de-villamil.com> Le 26 mars 2010 ? 04:07, Craayzie McLovin a ?crit : > Hi guys - is it possible to run Typo in a multi-site/multi-blog configuration such as http://site[1-n].domain.com/blog[1-n]/ ? We're looking for a rails blogging framework similar to WPMU + multi-site support (so multiple blogs on multiple sites) and are wondering if Typo would be a good fit. > > Thanks! > - Craayzie Hello, Multi blog and multi sites have been Typo's Nessie for a few years now. People have been talking about it, some even said they had coded a patch to have it done, but no one has ever seen it. I'm not sure giving Typo multi blog support is really a good idea after trying to make it lighter. It would be useful for some people, like hosting companies, but, on the other hand, it would be overkill for end user, and I don't want to build another gas factory. Maybe a parallel project would be better, but we don't have that much people developing Typo to split the project. Best 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