• Hi,

    I have a large number of tags to upload to WordPress. Is there a way to upload a mass number of tags using say a CSV file? I had a hard time searching for it on the forums as the word ‘tag’ is used to frequently.

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter gcarson

    (@gcarson)

    Well, I figured something out that will work. I start with an excel sheet, starting in A1 and working left to right

    A1 - <wp:tag><wp:tag_slug>
    B1 - (enter your tag's slug)
    C1 - </wp:tag_slug><wp:tag_name><![CDATA[
    D1 - (enter your tag's name)
    E1 - ]]></wp:tag_name><wp:tag_description><![CDATA[
    F1 - Enter your tag's description
    G1 - ]]></wp:tag_description></wp:tag>
    F1 - =A3&B3&C3&D3&E3&F3&G3 (this combines all the information

    So do this for however many tags you have. In my case its usually 50+ at a time. Then, copy all the info in column F into an XML file. For the XML file, I did mine like this:

    <rss version="2.0"
    	xmlns:excerpt="http://wordpress.org/export/1.0/excerpt/"
    	xmlns:content="http://purl.org/rss/1.0/modules/content/"
    	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    	xmlns:dc="http://purl.org/dc/elements/1.1/"
    	xmlns:wp="http://wordpress.org/export/1.0/"
    >
    <channel>
    (here is where your data goes.. so F1, F2, .... )
    </channel>
    </rss>

    Then go to tools, upload and click on wordpress upload. Upload the XML file you just created and there you go.. mass tag uploader. The same can be done for categories. If you want to know how, export your blog to an XML file. See how the categories are formatted in the file. Make your format look exactly the same when you upload the XML file.

    One note, do not put any spaces between the <>’s on a tag.. I tried having each item on its own line and for some reason, it didn’t work correctly.

    Hope this helps.

    Thread Starter gcarson

    (@gcarson)

    correct above.. F1 should combine all the cells on row 1.. not row 3.. sorry.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Mass Tag Uploads’ is closed to new replies.