Quantcast
Channel: Topic Tag: xml | WordPress.org
Viewing all articles
Browse latest Browse all 3201

Sinasohn on "RSS Import of XML ignores post_name for slug"

$
0
0

I have a blog that was running Blosxom and I finally decided to get around to migrating it to Wordpress. I mucked with my files to turn them into xml files which seem to import okay with the RSS import tool, except for one thing -- the post_name. Wordpress seems to ignore it completely.

Some of my posts have links to other posts which are in the form of .../notebooks/201504221200.html and I figured that if the slug were the same date and time, then changing the links would be a simple matter of removing the ".html" and possibly adding a trailing slash. But the post_name doesn't seem to work at all.

Here's a sample:

<item>
<title>So I went to traffic school.  </title>
<post_date>1999-08-02 12:00:00</post_date>
<post_name>199908021200</post_name>
<pubDate>Mon, 02 Aug 1999 12:00:00 PST</pubDate>
<post_author>sinasnet</post_author>
<content:encoded>My boring ramblings deleted to preserve your sanity</content:encoded>
</item>

The original site is here and the new one is here.

Thanks for any help!


Viewing all articles
Browse latest Browse all 3201

Trending Articles