Created
January 2, 2018 21:05
-
-
Save campaignupgrade/23f661de18a93c54da861fd6a4829683 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Source Joomla website renders correctly: | |
http://www.truth-out.org/article/item/42794 | |
In Joomla content in MySQL before export: | |
<div><span class="wf_caption" style="display: block; max-width: 640px; width: 100%;"><img src="http://www.truth-out.org/images/Images_2017_12/2017_1204td1.jpg" alt="(Image: Muhammad Ansi, Untitled (Pier), 2016.)" width="640" style="width: 100%; margin: auto;" /><span style="margin-top: 3px; display: block;">(Image: <a href="https://www.artfromguantanamo.com/muhammad-ansi-1/" >Muhammad Ansi</a>, Untitled [Pier], 2016.)</span></span></div> | |
<div> </div> | |
In XML export file: | |
<field name="post_content"><div><span class="wf_caption" style="display: block; max-width: 640px; width: 100%;"><img src="http://www.truth-out.org/images/Images_2017_12/2017_1204td1.jpg" alt="(Image: Muhammad Ansi, Untitled (Pier), 2016.)" width="640" style="width: 100%; margin: auto;" /><span style="margin-top: 3px; display: block;">(Image: <a href="https://www.artfromguantanamo.com/muhammad-ansi-1/" >Muhammad Ansi</a>, Untitled [Pier], 2016.)</span></span></div> | |
<div>&nbsp;</div> | |
In WordrPress after WPAllImport: | |
<div><span class="wf_caption" style="display: block; max-width: 640px; width: 100%;"><img src="http://www.truth-out.org/images/Images_2017_12/2017_1204td1.jpg" alt="(Image: Muhammad Ansi, Untitled (Pier), 2016.)" width="640" style="width: 100%; margin: auto;" /><span style="margin-top: 3px; display: block;">(Image: <a href="https://www.artfromguantanamo.com/muhammad-ansi-1/" >Muhammad Ansi</a>, Untitled [Pier], 2016.)</span></span></div> | |
<div> </div> | |
WPAllImport has correctly converted the XML's < and > to < and > but is failing to convert " to ". | |
Images and inline styles are broken in the WordPress HTML (ignore the Featured Image at the top, that's not an image in the body): | |
https://truthout4-dev.stackstar.com/articles/the-art-of-keeping-guantanamo-open-what-the-paintings-by-its-prisoners-tell-us-about-our-humanity-and-theirs/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment