Forums

How to import page via XML file (2 posts)

  1. egjweb
    Member
    Posted 3 years ago #

    I am using this method: http://wordpress.org/support/topic/146915 and it works like a charm. I can import as many posts i want via this method.

    And thats what i need because i have 1600 rows in an excel sheet that have to go in wordpress.

    The only problem i have is that i don't need posts, but i do need pages being made by the xml.

    What i have is this:

    <item><title>Testtitle</title><description>Here comes the content</description><category>Testcategory</category></item>

    And that works to make a post.

    Can someone tell me how to use this method to create a page instead of a post?

    I tried changing <item> to <page> but that doesnt work. Anyone can help me?

  2. MichaelH
    Volunteer
    Posted 3 years ago #

    Here's an example of an Tools->Export file with just the "About" page that is created with a new WordPress installation:

    http://wordpress.pastebin.ca/1405212

Topic Closed

This topic has been closed to new replies.

About this Topic