Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fixed posterous api url #628

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

I cloned the repo and then was reading the code of the posterous importer

then I tried to run the command

ruby -r './lib/jekyll/migrators/posterous.rb' -e 'Jekyll::Posterous.process("EMAIL", "PASS", "API_KEY")'

and I got an operation not found error, and trying to run it from the jekyll command I got

ruby -rubygems -e 'require "jekyll/migrators/posterous";  Jekyll::Posterous.process("EMAIL", "PASS", "API_KEY")'
/Users/fespinoza/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
/Users/fespinoza/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:2632:in `error!': 500 "Internal Server Error" (Net::HTTPFatalError)
    from /Users/fespinoza/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/migrators/posterous.rb:26:in `fetch'
    from /Users/fespinoza/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/migrators/posterous.rb:32:in `process'
    from -e:1:in `<main>'

I was seeing the posterous API site and then I tried the url

Request URL: http://posterous.com/api/2/sites/fespinoza/posts Response: 200 OK

from the site api and I that worked, when I modified it from the code, I assume that posterous people change its API

@fespinoza fespinoza closed this Aug 31, 2012

@jekyllbot jekyllbot locked and limited conversation to collaborators Feb 27, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.