New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blogger - Fix Drafts #175

Merged
merged 2 commits into from Dec 29, 2014

Conversation

Projects
None yet
3 participants
@wildoats
Contributor

wildoats commented Dec 22, 2014

It was raising 'Original URL is missing' errors on import.

Drafts don't have published urls, so instead I created the filename from the publish date and title if the title was available.

Problematic entry:

<entry>
    <id>tag:blogger.com,1999:blog-6023422566872935933.post-1811460454476739098</id>
    <published>2012-07-03T17:57:00.001-07:00</published>
    <updated>2012-07-03T17:57:59.106-07:00</updated>
    <app:control xmlns:app='http://purl.org/atom/app#'>
        <app:draft>yes</app:draft>
    </app:control>
    <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/blogger/2008/kind#post'/>

    <title type='text'>Quotes</title>
    <content type='html'>lorem ipsum</content>
    <link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6023422566872935933/posts/default/1811460454476739098'/>
    <link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6023422566872935933/posts/default/1811460454476739098'/>
    <author>
        <name>anon</name>
        <uri>http://www.blogger.com/profile/03857803135896707879</uri>
        <email>noreply@blogger.com</email>
        <gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/-fr0Nvhbd1yk/U7cYo4ppo8a/AAAAAAAAAhw/_asrpo2Pi07/s221/Yoga_002.jpg'/>
    </author>
    <thr:total>0</thr:total>
</entry>
@parkr

This comment has been minimized.

Show comment
Hide comment
@parkr

parkr Dec 22, 2014

Member

Thank you! Would you please fix the code such that the tests pass? Or fix the tests if they need fixing.

Member

parkr commented Dec 22, 2014

Thank you! Would you please fix the code such that the tests pass? Or fix the tests if they need fixing.

@wildoats

This comment has been minimized.

Show comment
Hide comment
@wildoats

wildoats Dec 23, 2014

Contributor

Ok, tests are passing now. Thanks for getting back to me so quickly :)

Contributor

wildoats commented Dec 23, 2014

Ok, tests are passing now. Thanks for getting back to me so quickly :)

parkr added a commit that referenced this pull request Dec 29, 2014

@parkr parkr merged commit 14ad1a2 into jekyll:master Dec 29, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details

parkr added a commit that referenced this pull request Dec 29, 2014

@jekyll jekyll 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.