Search and replace of feed item during Autoblog processing.

Elite
  • 16 points
    Starting to get into this DEV thing
    I'm new here
    McPace

    Member  —  19th January 2012 (4 months ago)         

    I'd like an add-on that allows autoblog to search for text and replace it with something else. This would give the ability to parse an item of a feed.

    For example I have a feed of events we are holding for the year. (http://www.cvent.com/Events/feeds/rss.aspx?f=02e3080a-dc7c-496c-892a-f9d64f449b11) The event team uses Cvent, and we cannot alter the way the feed is created. I want to use autoblog to take each feed item and make a post out of it, taking parts of the content and mapping it to custom fields. I'll then use the post and the custom fields in the post to display the upcoming events on various pages on my network.

    I need to get the location (city and state is possible), the date, the event type, and the link back to the registration page. The date of the item is the date of the event.

    A competing plugin offers this description for this: "Feed-specific search and replace features using regular expressions to rewrite words, URLs, fix invalid content, replace affiliate IDs, etc."