'Creates a single FeedItem of any feed element type specified.'

def feed_item_factory(self, carrier=1, region=1, item_type=feed.FEED_TYPE_APP, **kw):

    feed_item = FeedItem(carrier=carrier, region=region, item_type=item_type, **kw)
    if (item_type == feed.FEED_TYPE_APP):
        feed_item.app = self.feed_app_factory()
    elif (item_type == feed.FEED_TYPE_BRAND):
        feed_item.brand = self.feed_brand_factory()
    elif (item_type == feed.FEED_TYPE_COLL):
        feed_item.collection = self.feed_collection_factory()
    elif (item_type == feed.FEED_TYPE_SHELF):
        feed_item.shelf = self.feed_shelf_factory(carrier=carrier, region=region)
    feed_item.save()
    return feed_item
