From afterimagedesigns at yahoo.com Mon Jul 2 15:50:50 2007 From: afterimagedesigns at yahoo.com (dan cote) Date: Mon, 2 Jul 2007 12:50:50 -0700 (PDT) Subject: [typo] Typo 4.0.3 freezing while searching in IE6 Message-ID: <958094.15180.qm@web33509.mail.mud.yahoo.com> I have a question regarding Typo 4.0.3. I?ve noticed an error in IE6 when the temporary internet files setting is set to refresh the cache for ?Every visit to the page?. I have another application that my users use that requires that setting (the default in IE6 is ?automatically?, that setting does not create an error). Typo freezes up during a live search when the setting is set to ?Every visit to the page?. This error seems to only occur on Typo 4.0.3. I?ve tested in on the new version of typo and on version 2.6.0 and the error is not occurring. I would like to continue using 4.0.3 because it is the most stable right now. Any suggestions on what code was added to the newest version that might have fixed this issue? I hope to just modify the code in 4.0.3 to correct this issue. Any help would be appreciated. --------------------------------- Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070702/3a2011fd/attachment.html From eamonford at mac.com Mon Jul 2 19:59:29 2007 From: eamonford at mac.com (Eamon Ford) Date: Mon, 2 Jul 2007 16:59:29 -0700 Subject: [typo] Problems running Typo edge Message-ID: I've downloaded the Typo edge (revision 1485), but when I run "typo start ." in the directory, it gives me this: ** warning: web-server unknown. Use 'web-server=external' to disable. /usr/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails- installer.rb:243:in `start': undefined method `start' for nil:NilClass (NoMethodError) from /usr/local/lib/ruby/gems/1.8/gems/rails-app- installer-0.2.0/lib/rails-installer/commands.rb:135:in `command' from /usr/local/lib/ruby/gems/1.8/gems/rails-app- installer-0.2.0/lib/rails-installer.rb:646:in `execute_command' from /usr/local/lib/ruby/gems/1.8/gems/typo-4.1.1/bin/typo:38 from /usr/local/bin/typo:16:in `load' from /usr/local/bin/typo:16 Could anybody tell me how to fix this? Thanks. From pierocampanelli at gmail.com Tue Jul 3 05:49:47 2007 From: pierocampanelli at gmail.com (Piero Campanelli) Date: Tue, 3 Jul 2007 11:49:47 +0200 Subject: [typo] Type / Dreamhost & strange mysql timeout Message-ID: <2d136d8c0707030249l70b1af81naa9806d101899992@mail.gmail.com> Hi, I have a Typo blog hosted on DreamHost (Version 4.0.3 / www.pierocampanelli.info). It worked nicely for months without any concern. I stopped writing new posts for 2/3 months. Yesterday I tried to publish a new post but it miserabily failed. When I try to do any "transaction" (write article, delete cache,...) page stalls till a Typo Rails Error appears. Searching in the log I found this entry: ActiveRecord::StatementInvalid (Mysql::Error: Lock wait timeout exceeded; try restarting transaction: DELETE FROM page_caches WHERE id = 30 ): I tried to kill all and restart rails but also this morning the problem continues to show. What happened? Have you any clue to follow? Thank you Piero From rich_apodaca at yahoo.com Tue Jul 3 17:38:52 2007 From: rich_apodaca at yahoo.com (richard apodaca) Date: Tue, 3 Jul 2007 14:38:52 -0700 (PDT) Subject: [typo] Comments crash Typo 4.0.2 Message-ID: <747119.25016.qm@web34213.mail.mud.yahoo.com> I've suddenly started having problems with comments crashing Typo-4.0.2. After a comment it posted, typo hangs until a proxy error is returned. This started happening about 3 or 4 days ago. Any ideas? Here's the tail of my log: Processing ArticlesController#comment (for X.X.X.X at 2007-07-03 16:27:12) [POST] Session ID: 3c2e63a8ecf15be1563462baf060b26b Parameters: {"commit"=>"Submit", "action"=>"comment", "id"=>"249", "controller"=>"articles", "comment"=>{"body"=>"testing...", "author"=>"Rich Apodaca", "url"=>"http://depth-first.com", "email"=>""}} [SP] Scanning IP X.X.X.X thanks, Rich ____________________________ Richard Apodaca Blog: http://depth-first.com From pierocampanelli at gmail.com Fri Jul 6 06:35:17 2007 From: pierocampanelli at gmail.com (Piero Campanelli) Date: Fri, 6 Jul 2007 12:35:17 +0200 Subject: [typo] any idea of this exception? Message-ID: <2d136d8c0707060335v3884ecf3gdeb8992a178df529@mail.gmail.com> NoMethodError (undefined method `<=' for nil:NilClass): /vendor/plugins/expiring_action_cache/lib/actionparamcache.rb:84:in `before' /vendor/rails/actionpack/lib/action_controller/filters.rb:242:in `prepend_around_filter' /vendor/rails/actionpack/lib/action_controller/filters.rb:401:in `call_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:394:in `call_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:383:in `before_action' /vendor/rails/actionpack/lib/action_controller/filters.rb:365:in `perform_action_without_benchmark' /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /home/pierocampanelli/extra/lib/ruby/1.8/benchmark.rb:293:in `measure' /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in `perform_action' /vendor/rails/actionpack/lib/action_controller/base.rb:408:in `process_without_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:377:in `process_without_session_management_support' /vendor/rails/actionpack/lib/action_controller/session_management.rb:117:in `process' /vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch' /vendor/rails/railties/lib/fcgi_handler.rb:150:in `process_request' /vendor/rails/railties/lib/fcgi_handler.rb:54:in `process!' /home/pierocampanelli/extra/lib/ruby/site_ruby/1.8/fcgi.rb:600:in `each_cgi' /home/pierocampanelli/extra/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi' /vendor/rails/railties/lib/fcgi_handler.rb:53:in `process!' /vendor/rails/railties/lib/fcgi_handler.rb:23:in `process!' dispatch.fcgi:34 From eamonford at mac.com Mon Jul 9 23:11:16 2007 From: eamonford at mac.com (Eamon Ford) Date: Mon, 9 Jul 2007 20:11:16 -0700 Subject: [typo] Problem trying to run Typo edge Message-ID: <6B25323B-C8F9-4E3F-AF27-61B479AAF8E0@mac.com> Hi all, When I download the latest trunk of Typo, do I also need to download a new version of the webserver or something? I get this when I try to run Typo: ** warning: web-server unknown. Use 'web-server=external' to disable. /usr/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails- installer.rb:243:in `start': undefined method `start' for nil:NilClass (NoMethodError) from /usr/local/lib/ruby/gems/1.8/gems/rails-app- installer-0.2.0/lib/rails-installer/commands.rb:135:in `command' from /usr/local/lib/ruby/gems/1.8/gems/rails-app- installer-0.2.0/lib/rails-installer.rb:646:in `execute_command' from /usr/local/lib/ruby/gems/1.8/gems/typo-4.1.1/bin/typo:38 from /usr/local/bin/typo:16:in `load' from /usr/local/bin/typo:16 From eamonford at mac.com Tue Jul 10 20:36:26 2007 From: eamonford at mac.com (Eamon Ford) Date: Tue, 10 Jul 2007 17:36:26 -0700 Subject: [typo] Downgrading to 4.0.3 Message-ID: I have Typo 4.1.1, but I want to (temporarily) downgrade to Typo 4.0.3 for testing purposes. However, when I try to migrate the database in the 4.0.3 web interface, it just gives me a Rails Error. Is there any way to do this? Thanks. From mitch at spacemonkeylabs.com Mon Jul 16 16:51:37 2007 From: mitch at spacemonkeylabs.com (Mitch Pirtle) Date: Mon, 16 Jul 2007 16:51:37 -0400 Subject: [typo] Migrating from SQLite3->PostgreSQL In-Reply-To: References: Message-ID: <20070716165137.1o0ooc12o04kg804@webmail.spacemonkeylabs.com> Hi everyone, I'm new to Typo and have one site running in production mode, but with SQLite3 as the database backend. Being the PostgreSQL fanboy that I am, I've been looking for a nice way to migrate the data from SQLite3 to PostgreSQL. However, I'm not finding much info - and what little I do have (rails migrations, for example) won't really cover the data. Is there anyone on this list that has gone through this before? And if so, is there a way to make this easier than a manual SQL debugging session? -- Mitch From stevelenti at 3pop.com Mon Jul 16 17:45:21 2007 From: stevelenti at 3pop.com (Steve Lenti) Date: Mon, 16 Jul 2007 15:45:21 -0600 Subject: [typo] Migrating from SQLite3->PostgreSQL In-Reply-To: <20070716165137.1o0ooc12o04kg804@webmail.spacemonkeylabs.com> References: <20070716165137.1o0ooc12o04kg804@webmail.spacemonkeylabs.com> Message-ID: read this... http://scottstuff.net/blog/articles/2006/08/15/easy-backups-for-rails pretty much you do a backup and it saves your data to a .yaml file then you change your database engine and do a restore. I haven't personally tested it but in theory it should work fine. -Steve On 7/16/07, Mitch Pirtle wrote: > Hi everyone, > > I'm new to Typo and have one site running in production mode, but with > SQLite3 as the database backend. Being the PostgreSQL fanboy that I > am, I've been looking for a nice way to migrate the data from SQLite3 > to PostgreSQL. > > However, I'm not finding much info - and what little I do have (rails > migrations, for example) won't really cover the data. > > Is there anyone on this list that has gone through this before? And if > so, is there a way to make this easier than a manual SQL debugging > session? > > -- Mitch > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From mitch at spacemonkeylabs.com Mon Jul 16 22:12:06 2007 From: mitch at spacemonkeylabs.com (Mitch Pirtle) Date: Mon, 16 Jul 2007 22:12:06 -0400 Subject: [typo] Migrating from SQLite3->PostgreSQL In-Reply-To: References: <20070716165137.1o0ooc12o04kg804@webmail.spacemonkeylabs.com> Message-ID: On Jul 16, 2007, at 17:45 , Steve Lenti wrote: > pretty much you do a backup and it saves your data to a .yaml file > then you change your database engine and do a restore. I haven't > personally tested it but in theory it should work fine. Thanks for the pointer Steve, that's pretty handy to know... However I think it's safe to say it isn't ready for PostgreSQL yet. There's no information for sequences, for example. So if you "restore" a database with 50 tags into a clean PG-backed Typo, your sequence still thinks it needs to start at 1. So your very first INSERT (say, when you add a new tag record) goes *boom*. I'm willing to manually adjust all sequences as there aren't all that many, but... Making things worse is the feedback table, which somehow has changed despite me not consciously making any. I'll try some db:migrate voodoo and see how far that gets me. And after that: Manual SQL it is, then! -- Mitch, setting off for a long, dull night of cut-n-paste ;-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070716/e321daa0/attachment.html From rick.denatale at gmail.com Thu Jul 19 17:27:25 2007 From: rick.denatale at gmail.com (Rick DeNatale) Date: Thu, 19 Jul 2007 17:27:25 -0400 Subject: [typo] Can typo put an image in a feed? Message-ID: I'm using the latest gem version of typo (4.1.1). I'd like to have my feeds contain an image if it's included in the article. Lots of blog feeds do this, and it looks quite nice in places like google reader. I've tried everything I can think of short of hacking code. Can typo do this? -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/ From neuro at 7el.net Thu Jul 19 17:31:51 2007 From: neuro at 7el.net (Frederic de Villamil) Date: Thu, 19 Jul 2007 23:31:51 +0200 Subject: [typo] Can typo put an image in a feed? In-Reply-To: References: Message-ID: <8F26BCEA-41FA-4668-8E64-E1FFC5800A88@7el.net> Le 19 juil. 07 ? 23:27, Rick DeNatale a ?crit : > I'm using the latest gem version of typo (4.1.1). I'd like to have my > feeds contain an image if it's included in the article. Lots of blog > feeds do this, and it looks quite nice in places like google reader. > > I've tried everything I can think of short of hacking code. Can > typo do this? Hello, I don't understand the question. If you want to post pictures and see them added in your feed, Typo does this by default. If you want to have an icon or a banner displayed at the top of your feed each time someone reads it, it's not handeled by Typo but by 3rd party services like feedburner Cheers Fr?d?ric -- Fr?d?ric de Villamil frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://fredericdevillamil.com Typo : http://typosphere.org From linda-list at i-sol.biz Thu Jul 19 18:24:45 2007 From: linda-list at i-sol.biz (Linda Derezinski) Date: Thu, 19 Jul 2007 18:24:45 -0400 Subject: [typo] Can typo put an image in a feed? In-Reply-To: Message-ID: If you have the image as a resource to the article, then typo will include it in the feed. If it is an IMG tag in the body of the article, it will be included in the feed. How is image included in your article that it is not appearing?? -Linda On 7/19/07 5:27 PM, "Rick DeNatale" wrote: > I'm using the latest gem version of typo (4.1.1). I'd like to have my > feeds contain an image if it's included in the article. Lots of blog > feeds do this, and it looks quite nice in places like google reader. > > I've tried everything I can think of short of hacking code. Can typo do this? From adamgill1 at gmail.com Thu Jul 19 17:39:04 2007 From: adamgill1 at gmail.com (Adam Gill) Date: Thu, 19 Jul 2007 22:39:04 +0100 Subject: [typo] Can typo put an image in a feed? In-Reply-To: References: Message-ID: <469FD9F8.1090606@gmail.com> Rick DeNatale wrote: > I'm using the latest gem version of typo (4.1.1). I'd like to have my > feeds contain an image if it's included in the article. Lots of blog > feeds do this, and it looks quite nice in places like google reader. > > I've tried everything I can think of short of hacking code. Can typo do this? > > I've always just had an image in my article using alttext and it will appear in both my article and feed. I do use feedburner to process my feed though, I'm not sure if that makes a difference. From adamgill1 at gmail.com Fri Jul 20 06:15:11 2007 From: adamgill1 at gmail.com (Adam Gill) Date: Fri, 20 Jul 2007 11:15:11 +0100 Subject: [typo] Invalid RSS feed Message-ID: <46A08B2F.8070701@gmail.com> Hey, I'm having some trouble with my Typo blog's RSS feed (http://blog.gillspatch.co.uk/xml/rss20/feed.xml). The feed validator shows the following error: http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fblog.gillspatch.co.uk%2Fxml%2Frss20%2Ffeed.xml Basically, within the "" tags, whatever script generates the xml file is putting my username/display name/etc. ("Gilly") instead of my email address. RSS 2.0 specifications say that an email address should be within the "" tags, so this is obviously a problem. There are two ways of fixing this. One way is to edit the file that generates the xml file so that my email address is inserted within the "" tags, and the other is to edit it so that the "" tag itself is replaced by the "" tag, so the line in the file would look like "Gilly". Unfortunately, I don't know how to do either. Can anyone give me some advice so I can generate a valid RSS feed? Regards, Adam Gill From rick.denatale at gmail.com Fri Jul 20 09:49:00 2007 From: rick.denatale at gmail.com (Rick DeNatale) Date: Fri, 20 Jul 2007 09:49:00 -0400 Subject: [typo] Typo and Trackbacks Message-ID: What's the current state of trackbacks in Typo? I can't seem to get trackbacks to another blog to work. The stuff I find googling for typo trackback and the like confuses me. Is there someplace in the UI to put the trackback url of a post you are trying to track back to? That's how movable type seems to do things. http://www.cruftbox.com/cruft/docs/trackback.html Just how is this supposed to work in typo? -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/ From adamgill1 at gmail.com Fri Jul 20 10:16:53 2007 From: adamgill1 at gmail.com (Adam Gill) Date: Fri, 20 Jul 2007 15:16:53 +0100 Subject: [typo] Typo and Trackbacks In-Reply-To: References: Message-ID: <46A0C3D5.7090509@gmail.com> Rick DeNatale wrote: > What's the current state of trackbacks in Typo? I can't seem to get > trackbacks to another blog to work. The stuff I find googling for > typo trackback and the like confuses me. > > Is there someplace in the UI to put the trackback url of a post you > are trying to track back to? > That's how movable type seems to do things. > http://www.cruftbox.com/cruft/docs/trackback.html > > Just how is this supposed to work in typo? > > In the Settings area of the Admin area (i.e. the first page of the Admin area) there's a bit that says: "When publishing articles, Typo can send trackbacks to websites that you link to. This should be disabled for private blogs as it will leak non-public information to sites that you're discussing. For public blogs, there's no real point in disabling this." Just below this text there's a text that says "Send trackbacks" - make sure it's enabled. From the looks of it Typo will automatically send trackbacks when you link to websites in blog posts, as long as you link to the trackback URL, though I'm not sure as I'm new to Typo myself. This blog post - http://blog.vazexqi.com/articles/2006/10/31/testing-trackback-in-typo - seems to support this view. He links to a trackback URL in his post and then edits it saying Typo automatically sent a trackback, so hopefully that's how it works. From adamgill1 at gmail.com Fri Jul 20 11:17:02 2007 From: adamgill1 at gmail.com (Adam Gill) Date: Fri, 20 Jul 2007 16:17:02 +0100 Subject: [typo] Invalid RSS feed In-Reply-To: <46A08B2F.8070701@gmail.com> References: <46A08B2F.8070701@gmail.com> Message-ID: <46A0D1EE.8020101@gmail.com> Adam Gill wrote: > Hey, > I'm having some trouble with my Typo blog's RSS feed > (http://blog.gillspatch.co.uk/xml/rss20/feed.xml). The feed validator > shows the following error: > http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fblog.gillspatch.co.uk%2Fxml%2Frss20%2Ffeed.xml > > Basically, within the "" tags, whatever script generates the xml > file is putting my username/display name/etc. ("Gilly") instead of my > email address. RSS 2.0 specifications say that an email address should > be within the "" tags, so this is obviously a problem. > > There are two ways of fixing this. One way is to edit the file that > generates the xml file so that my email address is inserted within the > "" tags, and the other is to edit it so that the "" tag > itself is replaced by the "" tag, so the line in the file > would look like "Gilly". > > Unfortunately, I don't know how to do either. Can anyone give me some > advice so I can generate a valid RSS feed? > > Regards, > Adam Gill > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > Seems I managed to fix it. In app/views/xml, there's a file "_rss20_item_article.rxml". In there was the line "author = item.user.name rescue item.author". This was the problem line, so I changed it to 'author = "" rescue item.author' and now my feed validates. Interestingly, there was a line below it which read "email = item.user.email rescue nil". I tried using "item.user.email" when fixing the above error (so the line read "author = item.user.email rescue author") but this did not have the desired effect of inserting my email address in the author tags of the RSS feed, so I had to define the "author" variable as my email address as a string. I'm not sure what's wrong here; does everyone else's feed validate? From rick.denatale at gmail.com Fri Jul 20 11:18:30 2007 From: rick.denatale at gmail.com (Rick DeNatale) Date: Fri, 20 Jul 2007 11:18:30 -0400 Subject: [typo] Typo and Trackbacks In-Reply-To: <46A0C3D5.7090509@gmail.com> References: <46A0C3D5.7090509@gmail.com> Message-ID: On 7/20/07, Adam Gill wrote: > Rick DeNatale wrote: > > What's the current state of trackbacks in Typo? I can't seem to get > > trackbacks to another blog to work. The stuff I find googling for > > typo trackback and the like confuses me. > > > > Is there someplace in the UI to put the trackback url of a post you > > are trying to track back to? > > That's how movable type seems to do things. > > http://www.cruftbox.com/cruft/docs/trackback.html > > > > Just how is this supposed to work in typo? > > > > > In the Settings area of the Admin area (i.e. the first page of the Admin > area) there's a bit that says: > "When publishing articles, Typo can send trackbacks to websites that you > link to. This should be disabled for private blogs as it will leak > non-public information to sites that you're discussing. For public > blogs, there's no real point in disabling this." > Just below this text there's a text that says "Send trackbacks" - make > sure it's enabled. From the looks of it Typo will automatically send > trackbacks when you link to websites in blog posts, as long as you link > to the trackback URL, though I'm not sure as I'm new to Typo myself. > > This blog post - > http://blog.vazexqi.com/articles/2006/10/31/testing-trackback-in-typo - > seems to support this view. He links to a trackback URL in his post and > then edits it saying Typo automatically sent a trackback, so hopefully > that's how it works. That's what I thought too, but note what happens if you click on the link in that article, you won't get to the article he's referencing. The trackback url is different than the article's url, and I don't see any way that typo could automatically figure out how to ping the right one. So I tried adding a hidden trackback url reference in my article like so: t The idea is to simulate the movable type field for a trackback url. But this doesn't seem to work, after saving the article again, it looks okay, the hidden url reference shows up in the html source, but the trackback isn't showing up in the referenced article. I'm not sure if this is because: 1) Typo isn't processing the a tag because of the style. 2) Typo isn't pinging when an existing article is editted and saved. 3) Some other typo quirk 4) It's getting there but I can't see it because of caching somewhere, although reloading the other article in firefox with the shift key depressed (which I think forces not using the local cache) doesn't show an update. 5) Something else. Interestingly, I had another trackback quirk in typo recently when I referred to one of my own articles with it's regular link, and typo did generate a bogus trackback entry which showed up in the feedback admin list. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/ From rick.denatale at gmail.com Fri Jul 20 11:29:36 2007 From: rick.denatale at gmail.com (Rick DeNatale) Date: Fri, 20 Jul 2007 11:29:36 -0400 Subject: [typo] Invalid RSS feed In-Reply-To: <46A0D1EE.8020101@gmail.com> References: <46A08B2F.8070701@gmail.com> <46A0D1EE.8020101@gmail.com> Message-ID: On 7/20/07, Adam Gill wrote: > Adam Gill wrote: > Interestingly, there was a line below it which read "email = > item.user.email rescue nil". I tried using "item.user.email" when fixing > the above error (so the line read "author = item.user.email rescue > author") but this did not have the desired effect of inserting my email > address in the author tags of the RSS feed, so I had to define the > "author" variable as my email address as a string. I'm not sure what's > wrong here; does everyone else's feed validate? Did you set your email address in your user profile? -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/ From adamgill1 at gmail.com Fri Jul 20 11:32:57 2007 From: adamgill1 at gmail.com (Adam Gill) Date: Fri, 20 Jul 2007 16:32:57 +0100 Subject: [typo] Invalid RSS feed In-Reply-To: References: <46A08B2F.8070701@gmail.com> <46A0D1EE.8020101@gmail.com> Message-ID: <46A0D5A9.2070703@gmail.com> Rick DeNatale wrote: > On 7/20/07, Adam Gill wrote: > >> Adam Gill wrote: >> > > >> Interestingly, there was a line below it which read "email = >> item.user.email rescue nil". I tried using "item.user.email" when fixing >> the above error (so the line read "author = item.user.email rescue >> author") but this did not have the desired effect of inserting my email >> address in the author tags of the RSS feed, so I had to define the >> "author" variable as my email address as a string. I'm not sure what's >> wrong here; does everyone else's feed validate? >> > > Did you set your email address in your user profile? > > > I did, and I also double checked in phpmyAdmin - my email address is in the "users" table, and every article has the "1" entry under the "users" field of the "contents" table. From adamgill1 at gmail.com Fri Jul 20 11:38:50 2007 From: adamgill1 at gmail.com (Adam Gill) Date: Fri, 20 Jul 2007 16:38:50 +0100 Subject: [typo] Invalid RSS feed In-Reply-To: References: <46A08B2F.8070701@gmail.com> <46A0D1EE.8020101@gmail.com> Message-ID: <46A0D70A.1060507@gmail.com> Rick DeNatale wrote: > On 7/20/07, Adam Gill wrote: > >> Adam Gill wrote: >> > > >> Interestingly, there was a line below it which read "email = >> item.user.email rescue nil". I tried using "item.user.email" when fixing >> the above error (so the line read "author = item.user.email rescue >> author") but this did not have the desired effect of inserting my email >> address in the author tags of the RSS feed, so I had to define the >> "author" variable as my email address as a string. I'm not sure what's >> wrong here; does everyone else's feed validate? >> > > Did you set your email address in your user profile? > > > Actually - I just noticed something. I had 11 or 12 articles in my blog, but the validator only returned 7 or 8 errors. I had inserted 7 or 8 articles from my old blog via converting them using the rss.rb converter - and by default they had "NULL" as their user id. Maybe even though I then set their user id to be "1", there's some quirk which means it's not recognised, as I notice that under my user profile page in the admin section it says I've only published 3 articles (all of which I've published via the Typo admin system). Oh well, it's not the end of the world having my "author" variable set as a string instead of as "item.user.email". I guess we can say this "problem" is fixed now, as I get a valid feed so all is well. From mitch at spacemonkeylabs.com Fri Jul 20 15:21:27 2007 From: mitch at spacemonkeylabs.com (Mitch Pirtle) Date: Fri, 20 Jul 2007 15:21:27 -0400 Subject: [typo] Invalid RSS feed In-Reply-To: <46A0D70A.1060507@gmail.com> References: <46A08B2F.8070701@gmail.com> <46A0D1EE.8020101@gmail.com> <46A0D70A.1060507@gmail.com> Message-ID: <20070720152127.gwa57z90tcgk44kg@webmail.spacemonkeylabs.com> Quoting Adam Gill , who spaketh thusly: > Actually - I just noticed something. I had 11 or 12 articles in my blog, > but the validator only returned 7 or 8 errors. I had inserted 7 or 8 > articles from my old blog via converting them using the rss.rb converter > - and by default they had "NULL" as their user id. Maybe even though I > then set their user id to be "1", there's some quirk which means it's > not recognised, as I notice that under my user profile page in the admin > section it says I've only published 3 articles (all of which I've > published via the Typo admin system). Oh well, it's not the end of the > world having my "author" variable set as a string instead of as > "item.user.email". I guess we can say this "problem" is fixed now, as I > get a valid feed so all is well. Same here, with the PostgreSQL database as well. Basically I added a bunch of old posts directly to the database (not through Typo) and despite having the exact same data as all the other items in the contents table, they are also generating RSS feed entries sans email. Where is the difference here? From the database perspective, I can't tell. -- Mitch From Matijs.van.Zuijlen at xs4all.nl Sat Jul 21 14:59:31 2007 From: Matijs.van.Zuijlen at xs4all.nl (Matijs van Zuijlen) Date: Sat, 21 Jul 2007 20:59:31 +0200 Subject: [typo] Typo and Trackbacks In-Reply-To: References: <46A0C3D5.7090509@gmail.com> Message-ID: <20070721185931.GA12348@matijs.net> On Fri, Jul 20, 2007 at 11:18:30AM -0400, Rick DeNatale wrote: > The trackback url is different than the article's url, and I don't see > any way that typo could automatically figure out how to ping the right > one. Typo retrieves the article, and then automatically finds either - the pingback url form the HTTP X-Pingback header or - the pingback url form the element. or - the trackback url from the RDF inside the article. If all else fails, it tries sending a trackback to the article's url itself. -- Matijs van Zuijlen http://www.matijs.net/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://rubyforge.org/pipermail/typo-list/attachments/20070721/85eddb1c/attachment-0001.bin From adamgill1 at gmail.com Thu Jul 26 06:51:48 2007 From: adamgill1 at gmail.com (Adam Gill) Date: Thu, 26 Jul 2007 11:51:48 +0100 Subject: [typo] Feedburner Message-ID: <88CFED4EC3B646A69BD071D3945AA00D@Adam> There is a feature in Feedburner that allows you to insert various "share" links {Digg this, twit this etc.) after every news post, via inserting a javascript script. The trouble is, it needs the dynamic link to each post. From Feedburner's own documentation: " There are two pieces of data you need to insert in this tag before it will work on your blog: Your FeedFlare URL. Dynamic post URL. Use one of your blog?s template tags to dynamically insert the URL of the current post. (E.g. Blogger uses <$BlogItemPermalinkURL$>; Movable Type uses <$MTEntryPermalink$>.)" However, being new to Typo (or just thick), I don't know where to add the