public
Description: rake task to import typepad posts into local database
Homepage:
Clone URL: git://github.com/mkrisher/typepad-import.git
name age message
file .gitignore Wed Mar 18 13:39:18 -0700 2009 writing files locally [mkrisher]
file README Thu Mar 19 10:29:28 -0700 2009 updated README doc [mkrisher]
file Rakefile Tue Mar 17 10:40:33 -0700 2009 adding empty Rails environment [mkrisher]
directory app/ Wed Mar 18 11:21:32 -0700 2009 task will not accept a url and parse the feed, ... [mkrisher]
directory config/ Thu Mar 19 10:44:24 -0700 2009 removed image path from config [mkrisher]
directory db/ Wed Mar 18 14:34:33 -0700 2009 local image paths working [mkrisher]
directory doc/ Tue Mar 17 10:40:33 -0700 2009 adding empty Rails environment [mkrisher]
directory lib/ Thu Mar 19 10:44:24 -0700 2009 removed image path from config [mkrisher]
directory log/ Wed Mar 18 13:39:18 -0700 2009 writing files locally [mkrisher]
directory public/ Tue Mar 17 10:40:33 -0700 2009 adding empty Rails environment [mkrisher]
directory script/ Tue Mar 17 10:40:33 -0700 2009 adding empty Rails environment [mkrisher]
directory test/ Wed Mar 18 11:21:32 -0700 2009 task will not accept a url and parse the feed, ... [mkrisher]
README
Typepad Import Rake task for Rails
Release Notes
Revised: 03/19/09 Release 1
Mike Krisher
mike@mikekrisher.com

Git: git://github.com/mkrisher/typepad-import.git

-------------------------------------------
CHANGELOG:

03/19/09: R1

- task will now accept url from a config or prompt, will parse the feed
  adding entries to the database table. While doing so it will fix the 
  typepad links and make them relative, as well as pull in local copies
  of embedded images and change the paths in the content to be local.


03/18/09: PR2

- task will now accept a url and parse the feed, adding entries to the 
  database table. Just needs some content massaging

03/17/09: PR1

- starting the rake task to import data from Typepad feed

-------------------------------------------
Description:

- this rake task will ask the user for a Typepad feed URL and 
  will import that feed into a local database table. Can be used 
  for archiving, legacy data use in new Rails app, etc...

-------------------------------------------
Usage:

- the task has a couple of dependencies. the first is the database table.
  1) run rake db:migrate
  
  the task writes images to the /public/images directory if there are any 
  images embedded in posts. when writing the local copy, links are updated 
  to reference the local paths. in addition to the images, permalinks are 
  rewritten as well to be relative.
  2) be sure to add routes for /:year/:month/:link