Hello RoRsters'', I''ve just started my first project with ROR, and frankly it''s pretty amazing, there are many things that still haven''t "clicked" for me yet but essentially it''s all coming together. My first project is a basic blog application to replace a current Moveable Type based blog. I''ve managed to get the basic functionality working, and considering that I''m learning as I go this has happened very quickly, now I want to import my old posts from Moveable Type and I''m a bit stuck. The MT format is non standard and there are a lot of posts to deal with, I only need to do this once, so it doesn''t really need to be built into the app itself, although that would be preferable. I am wondering if anybody else has some experience and/or code that they can pass on? I''ve also a question about how to handle dates, but one thing at a time... :) Thanks Mark Panay www.markpanay.com Jargon Free Web & Mobile Development
On Wednesday, February 22, 2006, at 2:58 PM, Mark Panay wrote:>Hello RoRsters'', > >I''ve just started my first project with ROR, and frankly it''s pretty >amazing, there are many things that still haven''t "clicked" for me yet >but essentially it''s all coming together. > >My first project is a basic blog application to replace a current >Moveable Type based blog. I''ve managed to get the basic functionality >working, and considering that I''m learning as I go this has happened >very quickly, now I want to import my old posts from Moveable Type and >I''m a bit stuck. The MT format is non standard and there are a lot of >posts to deal with, I only need to do this once, so it doesn''t really >need to be built into the app itself, although that would be >preferable. I am wondering if anybody else has some experience and/or >code that they can pass on? > >I''ve also a question about how to handle dates, but one thing at a >time... :) > >Thanks > >Mark Panay > >www.markpanay.com >Jargon Free Web & Mobile Development >_______________________________________________ >Rails mailing list >Rails@lists.rubyonrails.org >http://lists.rubyonrails.org/mailman/listinfo/railsMark, Take a look at Typo: http://www.typosphere.org/ AFAIK, it has Moveable Type converter. Best Regards, Roustem. -- Posted with http://DevLists.com. Sign up and save your time!
Thanks for this, but as far as I can make out, the API there is to allow a blogging client to interact with typo as though Typo were MT... I could be wrong as I''m pretty new to Rails. Thanks again. Mark. On 22 Feb 2006 16:01:21 -0000, Roustem Karimov <devlists-rubyonrails@devlists.com> wrote:> > On Wednesday, February 22, 2006, at 2:58 PM, Mark Panay wrote: > >Hello RoRsters'', > > > >I''ve just started my first project with ROR, and frankly it''s pretty > >amazing, there are many things that still haven''t "clicked" for me yet > >but essentially it''s all coming together. > > > >My first project is a basic blog application to replace a current > >Moveable Type based blog. I''ve managed to get the basic functionality > >working, and considering that I''m learning as I go this has happened > >very quickly, now I want to import my old posts from Moveable Type and > >I''m a bit stuck. The MT format is non standard and there are a lot of > >posts to deal with, I only need to do this once, so it doesn''t really > >need to be built into the app itself, although that would be > >preferable. I am wondering if anybody else has some experience and/or > >code that they can pass on? > > > >I''ve also a question about how to handle dates, but one thing at a > >time... :) > > > >Thanks > > > >Mark Panay > > > >www.markpanay.com > >Jargon Free Web & Mobile Development > >_______________________________________________ > >Rails mailing list > >Rails@lists.rubyonrails.org > >http://lists.rubyonrails.org/mailman/listinfo/rails > > Mark, > > Take a look at Typo: > http://www.typosphere.org/ > > AFAIK, it has Moveable Type converter. > > Best Regards, Roustem. > > > -- > Posted with http://DevLists.com. Sign up and save your time! > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Mark Panay www.markpanay.com Jargon Free Web Development
You were looking at the API interface, not the converter. The converters are here: <http://www.typosphere.org/trac/browser/trunk/db/converters> -Sean Mark Panay wrote:> Thanks for this, > > but as far as I can make out, the API there is to allow a blogging > client to interact with typo as though Typo were MT... > > I could be wrong as I''m pretty new to Rails. > > Thanks again. > > Mark. > > On 22 Feb 2006 16:01:21 -0000, Roustem Karimov > <devlists-rubyonrails@devlists.com> wrote: > >> On Wednesday, February 22, 2006, at 2:58 PM, Mark Panay wrote: >> >>> Hello RoRsters'', >>> >>> I''ve just started my first project with ROR, and frankly it''s pretty >>> amazing, there are many things that still haven''t "clicked" for me yet >>> but essentially it''s all coming together. >>> >>> My first project is a basic blog application to replace a current >>> Moveable Type based blog. I''ve managed to get the basic functionality >>> working, and considering that I''m learning as I go this has happened >>> very quickly, now I want to import my old posts from Moveable Type and >>> I''m a bit stuck. The MT format is non standard and there are a lot of >>> posts to deal with, I only need to do this once, so it doesn''t really >>> need to be built into the app itself, although that would be >>> preferable. I am wondering if anybody else has some experience and/or >>> code that they can pass on? >>> >>> I''ve also a question about how to handle dates, but one thing at a >>> time... :) >>> >>> Thanks >>> >>> Mark Panay >>> >>> www.markpanay.com >>> Jargon Free Web & Mobile Development >>> _______________________________________________ >>> Rails mailing list >>> Rails@lists.rubyonrails.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >> Mark, >> >> Take a look at Typo: >> http://www.typosphere.org/ >> >> AFAIK, it has Moveable Type converter. >> >> Best Regards, Roustem. >> >> >> -- >> Posted with http://DevLists.com. Sign up and save your time! >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> > > > -- > Mark Panay > > www.markpanay.com > Jargon Free Web Development > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > >
OK thanks... :) Do you know if this is for flat text files, it looks as though it connects to to a DB to get the MT information, this could just be me misinterpreting it though.? I don;t have access to the MT server, but I can export the posts. thanks again for your help. mark. On 22/02/06, Sean Stephens <schmoboy@cox.net> wrote:> You were looking at the API interface, not the converter. The > converters are here: > > <http://www.typosphere.org/trac/browser/trunk/db/converters> > > -Sean > > Mark Panay wrote: > > Thanks for this, > > > > but as far as I can make out, the API there is to allow a blogging > > client to interact with typo as though Typo were MT... > > > > I could be wrong as I''m pretty new to Rails. > > > > Thanks again. > > > > Mark. > > > > On 22 Feb 2006 16:01:21 -0000, Roustem Karimov > > <devlists-rubyonrails@devlists.com> wrote: > > > >> On Wednesday, February 22, 2006, at 2:58 PM, Mark Panay wrote: > >> > >>> Hello RoRsters'', > >>> > >>> I''ve just started my first project with ROR, and frankly it''s pretty > >>> amazing, there are many things that still haven''t "clicked" for me yet > >>> but essentially it''s all coming together. > >>> > >>> My first project is a basic blog application to replace a current > >>> Moveable Type based blog. I''ve managed to get the basic functionality > >>> working, and considering that I''m learning as I go this has happened > >>> very quickly, now I want to import my old posts from Moveable Type and > >>> I''m a bit stuck. The MT format is non standard and there are a lot of > >>> posts to deal with, I only need to do this once, so it doesn''t really > >>> need to be built into the app itself, although that would be > >>> preferable. I am wondering if anybody else has some experience and/or > >>> code that they can pass on? > >>> > >>> I''ve also a question about how to handle dates, but one thing at a > >>> time... :) > >>> > >>> Thanks > >>> > >>> Mark Panay > >>> > >>> www.markpanay.com > >>> Jargon Free Web & Mobile Development > >>> _______________________________________________ > >>> Rails mailing list > >>> Rails@lists.rubyonrails.org > >>> http://lists.rubyonrails.org/mailman/listinfo/rails > >>> > >> Mark, > >> > >> Take a look at Typo: > >> http://www.typosphere.org/ > >> > >> AFAIK, it has Moveable Type converter. > >> > >> Best Regards, Roustem. > >> > >> > >> -- > >> Posted with http://DevLists.com. Sign up and save your time! > >> _______________________________________________ > >> Rails mailing list > >> Rails@lists.rubyonrails.org > >> http://lists.rubyonrails.org/mailman/listinfo/rails > >> > >> > > > > > > -- > > Mark Panay > > > > www.markpanay.com > > Jargon Free Web Development > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Mark Panay www.markpanay.com Jargon Free Web Development
---------- Forwarded message ---------- From: Mark Panay <markpanay@gmail.com> Date: 22-Feb-2006 16:59 Subject: Re: [Rails] Moveable Type import question. To: Billy Mabray <billy@smartgoat.com> Hi Billy, Being new to rails, honestly, I don''t really know what you mean. Sorry. MT ouputs a nasty flat text file (extract below) and this is what I need to parse, I want to get this into the new DB as simply as possible, I''m happy to lose comments, trackbacks and all that kind of stuff... the only thing I want is the posts and categories. I''m starting to worry that I may need to go back to ASP (no, please don''t make me!!!). Any Ideas? AUTHOR: LSD TITLE: Hip-Hop and R&B Artists MIA in Music Industry Struggle STATUS: Publish ALLOW COMMENTS: 0 CONVERT BREAKS: textile_2 ALLOW PINGS: 0 PRIMARY CATEGORY: Music Business CATEGORY: Music Business DATE: 09/02/1999 08:36:31 PM ----- BODY: Two years ago, in a pre-litigation move,(Courtney) Love circulated a well-known letter to fellow recording artists about a "fair deal" from the record labels. In her letter she ----- EXTENDED BODY: ----- EXCERPT: ----- KEYWORDS: ----- -------- Next post etc.. On 22/02/06, Billy Mabray <billy@smartgoat.com> wrote:> On 2/22/06, Mark Panay <markpanay@gmail.com> wrote: > > My first project is a basic blog application to replace a current > > Moveable Type based blog. I''ve managed to get the basic functionality > > working, and considering that I''m learning as I go this has happened > > very quickly, now I want to import my old posts from Moveable Type and > > I''m a bit stuck. The MT format is non standard and there are a lot of > > posts to deal with, I only need to do this once, so it doesn''t really > > need to be built into the app itself, although that would be > > preferable. I am wondering if anybody else has some experience and/or > > code that they can pass on? > > I would recommend deciding what format you want to use, then write an > MT index template to output that. For example, you could create an XML > file with something like this: > > <?xml version="1.0"?> > <posts> > <MTEntries lastn=999> > <post> > <title><MTTitle></title> > <body><MTBody></body> > <extended><MTExtendedBody></extended> > </post> > </MTEntries> > </posts> > > You should be able to do something like that for any format you want to use. > > Good luck, > -- > Billy Mabray > Smart Goat Web Design > http://www.smartgoat.com > (405) 659-4822 >-- Mark Panay www.markpanay.com Jargon Free Web Development -- Mark Panay www.markpanay.com Jargon Free Web Development