def extract_entry_fields(table, entry, feed, client=None):
    """
    Given a table intance, entry dict and feed details, extract fields found in the table
    """
    entry = dict(entry)
    row = {"feed": feed.get("id", feed.link)}
    for key in table.columns_dict:
        value = entry.get(key)
        if value is not None:
            row[key] = value

    return row