Results 1 to 1 of 1

Thread: Feedwordpress: mapping comment in RSS feed to custom field

  1. #1
    Thread Starter
    Rookie nick5a1's Avatar
    Join Date
    Apr 2012
    Posts
    9
    Thanks
    0
    Thanked 1 Time in 1 Post

    Arrow Feedwordpress: mapping comment in RSS feed to custom field

    Hi all,


    I'm using Feedwordpress which is a fantastic plugin to pull in jobs for jobroller. The location information for each job is located within a comment, and looks like this:


    Code:
    <item>
    <title>
    <description>
    <!-- Comment #1 -->
    <!-- ABC Location=Vancouver -->
    </description>
    </item>
    Feedwordpress uses "XPath-like syntax" to access data elements from the feed to map to custom fields. For example I map title using
    Code:
    $(title)
    and that works. I'm trying to access the location information using
    Code:
    $(description/comment()[2])
    but this results in the custom field remaining empty. Unfortunately there is not much documentation for this plugin and the plugin website has a lot of questions but no one is answering them, so I've come here .


    Is my code to access the second comment wrong?
    If not, is there another method I could try?
    Does anyone know if feedwordpress allows you to access comments to map to custom fields?


    If anyone can point me in the right direction I would very much appreciate it!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Field Mapping with FeedWordPress
    By gsibert in forum JobRoller General Discussion
    Replies: 16
    Last Post: September 3rd, 2013, 02:16 PM
  2. Extra comment Field ( drop down list) Guys use your brain
    By hazara in forum ClassiPress General Discussion
    Replies: 1
    Last Post: October 17th, 2011, 09:54 PM
  3. Replies: 18
    Last Post: October 9th, 2011, 11:24 PM
  4. [SOLVED] Custom field order in frontend doesn't match with custom field order set in backend
    By bluecafe in forum Report ClassiPress Bugs
    Replies: 11
    Last Post: November 24th, 2010, 08:47 AM
  5. Child theme - custom functions - mapping cp_login_head
    By rodeoramsey in forum Report ClassiPress Bugs
    Replies: 6
    Last Post: August 29th, 2010, 04:30 PM