wordpress-xml-to-kirby icon indicating copy to clipboard operation
wordpress-xml-to-kirby copied to clipboard

Bugs & Things To Do

Open splorp opened this issue 2 years ago • 0 comments

In script:

  • [x] Change index.php to convert.php because clarity
  • [ ] Can we set mkdir to overwrite existing directories?
  • [x] Change Coverimage: field name to something better like featureimage:
  • [x] Extract references to inline images prior to stripping tags
  • [ ] Use expanded <wp:post_date> or full <pubDate> rather than cleanified version (Local vs UTC?)
  • [ ] Related to above, if <pubDate> is empty for some reason, substitute <wp:post_date> reformatted to match
  • [ ] Add exporting fields for other namespaces to read me
  • [ ] Set empty post titles to “Untitled” or “No title.”
  • [ ] Export <wp:comment> data
  • [ ] Export <link> and <guid> data as legacy URIs references
  • [ ] Extract blogger_permalink data, similarly:
<wp:postmeta>
	<wp:meta_key><![CDATA[blogger_permalink]]></wp:meta_key>
	<wp:meta_value><![CDATA[/2000/04/i-got-some-fan-mail-regarding-spiral.html]]></wp:meta_value>
</wp:postmeta>

In exported data:

  • [ ] Replace &nbsp; with paragraph breaks
  • [ ] Smarten quotes, convert entities
  • [ ] Spaces around blockquotes, images, &c.
  • [ ] Change inline image URIs to /assets/images/... or whatever is applicable

splorp avatar Jan 22 '23 16:01 splorp