wordpress-xml-to-kirby
wordpress-xml-to-kirby copied to clipboard
Bugs & Things To Do
In script:
- [x] Change
index.phptoconvert.phpbecause clarity - [ ] Can we set mkdir to overwrite existing directories?
- [x] Change
Coverimage:field name to something better likefeatureimage: - [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_permalinkdata, 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
with paragraph breaks - [ ] Smarten quotes, convert entities
- [ ] Spaces around blockquotes, images, &c.
- [ ] Change inline image URIs to
/assets/images/...or whatever is applicable