Results 1 to 2 of 2

Thread: Rename xml nodes

  1. #1
    Thread Starter
    Expired Customer georgegrm's Avatar
    Join Date
    Aug 2015
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Rename xml nodes

    HI,

    I'm exporting all classified ads through the native WP exporter but have the following problem.

    Many very important fields such as item price, city, state, ad duration, etc are all exported under nodes with the same name:
    <wpostmeta>
    <wp:meta_key><![CDATA[cp_state]]></wp:meta_key>
    <wp:meta_value><![CDATA[Μαγνησίας]]></wp:meta_value>
    </wpostmeta>
    <wpostmeta>
    <wp:meta_key><![CDATA[cp_price]]></wp:meta_key>
    <wp:meta_value><![CDATA[6]]></wp:meta_value>
    </wpostmeta>

    Is there a way to either rename these fields before the export so that they will carry the right node name or to map them to a custom node value during export?

    As they are, unfortunately, they are unusable...

    Thank you in advance.

    Dennis

  2. #2
    Moderator ovidiubica's Avatar
    Join Date
    Mar 2011
    Posts
    5,749
    Thanks
    240
    Thanked 1,060 Times in 999 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Dimitris rename category?
    By feiradocavalo in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: January 30th, 2013, 09:12 AM
  2. URL Rename
    By lagunaocean in forum Help Using Vantage (Legacy)
    Replies: 3
    Last Post: September 25th, 2012, 12:13 PM
  3. How do I rename the Home tab?
    By tread77 in forum Help Using ClassiPress
    Replies: 1
    Last Post: January 1st, 2012, 12:12 AM