Tumbler Importer Problem
-
Hi,
I just imported my Tumblr blog into my WordPress blog. Posts imported as expected, but with one minor glitch. At the bottom of each post is a link that reads //platform.twitter.com/widgets.js (and links to https://platform.twitter.com/widgets.js). I assume that was an oversight, and it should not appear on each post.
Thanks!
dmthemetester.wordpress.com
The blog I need help with is: (visible only to logged in users)
-
Let’s ask Staff to assist you with sorting this out. I will type modlook into the sidebar tags on this thread for Staff help. How do I get a Moderator/Staff reply for my question? https://en.support.wordpress.com/getting-help-in-the-forums/#how-do-i-get-a-moderatorstaff-reply-for-my-question Please subscribe to this thread so you are notified when they respond and be patient while waiting. To subscribe look in the sidebar of this thread, find the subscribe to topics link and click it.
-
Hi @dougmckown , thanks for your patience. We could probably fix this by removing the imported posts, editing the export file to remove the scripts, then importing it again. Do you want us to do that? Also, can you confirm which site you’re referring to? I’m not seeing the widgets.js links on this one.
-
Look at this site. At the bottom of each post that has a Tweet is a link that reads //platform.twitter.com/widgets.js (and links to https://platform.twitter.com/widgets.js). Here is the site that was imported from. (The posts with the title Craft Beer, Another Test and Vinyl are test posts created at WordPress.com.)
This is a temporary site that I use to test themes, so don’t bother editing the export file. Instead, could you look into it to see what caused it, in case I use it for my main site?
FYI, the HTML for a Tumblr post that contains a tweet is here:
<p><blockquote class="twitter-tweet"><p lang="en" dir="ltr">Two thumbs up for "Where to Invade Next"! <a href="https://t.co/7GguQE7V8Z">https://t.co/7GguQE7V8Z</a></p><div>— Doug McKown (@dougmckown) </div><a href="https://twitter.com/dougmckown/status/734556180006207488">May 23, 2016</a></blockquote> <script async="" src="//platform.twitter.com/widgets.js" charset="utf-8"></script></p>It appears that the WordPress import function is pulling in the post including the script.
-
Ah, thanks. We were looking at your other site.
We don’t allow script tags here, so it would have stripped that out. If you can remove this from your export file before importing it will work:
<script async="" src="//platform.twitter.com/widgets.js" charset="utf-8"></script> -
Thanks, but I don’t see how I could remove the extraneous stuff since I don’t see the export file before it enters WordPress.
-
Ah, okay. Many of the import/export procedures involve a file, and you’re right; this one does not.
I’ll pass this along to the folks who maintain the import scripts to see if they have suggestions. Or, again, we could export / clean out the script tags / import again if needed.
-
Hi @dougmckown, we found the reason this is happening. Changing it could introduce another issue, so for now, we’ve made a means to fix the tweets after the import, and we ran that on your site.
Let us know when you’re ready to import into the main site and we’ll take care of that.
-
- The topic ‘Tumbler Importer Problem’ is closed to new replies.