Skip to content
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

Import yields incorrect link for Tumblr image posts #3178

Closed
2 tasks done
boxydog opened this issue Aug 19, 2023 · 0 comments · Fixed by #3215
Closed
2 tasks done

Import yields incorrect link for Tumblr image posts #3178

boxydog opened this issue Aug 19, 2023 · 0 comments · Fixed by #3215
Labels
Milestone

Comments

@boxydog
Copy link
Contributor

boxydog commented Aug 19, 2023

  • I have read the Filing Issues and subsequent “How to Get Help” sections of the documentation.
  • I have searched the issues (including closed ones) and believe that this is not a duplicate.
  • OS version and name: OS X 12.6.7
  • Python version: 3.11.4
  • Pelican version: 4.8.0
  • Link to theme: default
  • Links to plugins: default
  • Link to your site: n/a
  • Link to your source: n/a
  • Link to a Gist with the contents of your settings file: n/a

Issue

Importing tumblr blog entry with an image produces an incorrect link.

For example, https://www.tumblr.com/boxydog/188887119699/a-nice-visualization-of-whats-been-getting produces the link all spread out one letter at a time (see below). I bet the python code is iterating over a string when it thinks it's iterating over a list.

First 50 lines of the .rst file:

$ head -50 boxydog.com/2019-11-07-a-nice-visualization-of-whats-been-getting.rst 
blog.bluecrossmn.com
####################
:date: 2019-11-07 15:26:40
:author: boxydog
:category: photo
:tags: economics
:slug: 2019-11-07-a-nice-visualization-of-whats-been-getting
:status: published

<

i

m

g

a

l

t

=

"

"

s

r

c

=

"

h

t

t

p

s

:
@boxydog boxydog added the bug label Aug 19, 2023
@kzisme kzisme mentioned this issue Aug 26, 2023
4 tasks
boxydog pushed a commit to boxydog/pelican that referenced this issue Oct 25, 2023
@justinmayer justinmayer added this to the Pelican 4.9 milestone Oct 26, 2023
@justinmayer justinmayer changed the title pelican import doesn't handle image posts correctly for tumblr blog Import yields incorrect link for Tumblr image posts Oct 26, 2023
boxydog pushed a commit to boxydog/pelican that referenced this issue Oct 26, 2023
boxydog pushed a commit to boxydog/pelican that referenced this issue Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants
@justinmayer @boxydog and others