github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

mkrisher / typepad-import

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

rake task to import typepad posts into local database — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

removed image path from config 
mkrisher (author)
Thu Mar 19 10:44:24 -0700 2009
commit  2adfd2180e9bda581804cb08ad3ea90c97b9023d
tree    c405031e7fd3ec8cb8abbb08a304d2f1caf7a189
parent  147aab154668b3de89a556237c690968bee41f16
typepad-import /
name age
history
message
file .gitignore Loading commit data...
file README
file Rakefile
directory app/
directory config/
directory db/
directory doc/
directory lib/
directory log/
directory public/
directory script/
directory test/
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
  
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server