WordPress.org

Ready to get started?Download WordPress

Forums

FeedWordPress
Custom Post Settings (3 posts)

  1. another_sam
    Member
    Posted 1 year ago #

    Hello,

    Besides the title and the content, I want to import data from a particular element "category" from the Atom entries of a third-party feed.

    The data is, from elements like this,
    <category label="my_label_value" my_attribute="my_attribute_value" />
    , my_attribute_value

    To do so I go to Posts & Links > Custom Post Settings > and add a Key and a Value like the following:

    Key:
    my_key

    Value
    $(category[@label='my_label_value']/@my_attribute)

    Then I press "save changes", and import new feed elements.

    Does this make sense?

    I expect then to get a new field named "my_key" for each imported entry with that my_attribute_value as value, but that does no happen. What am I doing wrong?

    Thank you !

    http://wordpress.org/extend/plugins/feedwordpress/

  2. another_sam
    Member
    Posted 1 year ago #

    Oh I've seen that it works as expected for simpler XPath expressions. Can it be a problem of the plugin not supporting such a complex XPath expression?

  3. Dirty Bill
    Member
    Posted 1 year ago #

    Be nice if the XPath questions could get some love from the dev. I love this plugin, but this has me stumped as well.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.