WordPress.org

Ready to get started?Download WordPress

Forums

WP RSS Multi Importer
[resolved] content to custom fields (3 posts)

  1. neo.webkit
    Member
    Posted 1 year ago #

    Is there a way to put a value in the rss in the custom fields? I have a number of feeds with prices, discount prices, discount date etc but they are in the description. I wonder is there a way for me put them in the custom fields. It would be easier for me to play around the valuables. I can edit the rss so that the plugin will know where to get the information.

    Any chance for u to add this feature? Or please give me some hints so that I can figure it out by myself.

    Many thanks

    http://wordpress.org/extend/plugins/wp-rss-multi-importer/

  2. Allen
    Member
    Plugin Author

    Posted 1 year ago #

    If these are incoming feeds, and the data exists somewhere in the content of the feeds, then you would need to write a regular expression program to parse the feed, which is something I'm not going to do with this plugin...but you can do it if you know programming...just take one of the templates (if you're using the shortcode) and customize it or else you'd need to change the import_posts.php file for the Feed to Post feature. Both files have $items["mydesc"] which is the variable you want to parse.

  3. neo.webkit
    Member
    Posted 1 year ago #

    Thanks Allen. I will try writing some code according to your advice.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.