WordPress.org

Support

Support » Plugins and Hacks » Custom Post Settings

Custom Post Settings

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Post Settings’ is closed to new replies.