# Path: feedplatform/addins.py
# class base(object):
#     class __metaclass__(type):
#         def __new__(cls, name, bases, attrs):
#     def __new__(cls, *args, **kwargs):
#     def setup(self):
#     def log(self):
# def get_addins():
# def _make_addin(addin):
# def reinstall(addins=None):
#         def resolve_dependencies(addin, index):
# def install(*args, **kwargs):
# _ADDINS = None
#     _ADDINS = to_be_setup


from feedplatform import addins
from hashlib import md5
import calendar


        return None


class guid_by_link(addins.base):
    """Generates a guid based on the <link> element of an item.

    The link url itself will be used as the guid. This differs from
    ``guid_by_content`` which could be used on the link-field with
    much the same effect, but would store a hash.

    This can go terribly wrong: There are a number of feeds out there
    which use a common base url for all items.

    By default, the guids are prefixed with ``link:`` for
    identification. You may override this using the ``prefix``
    parameter, or disable it completely by passing ``False``.
    """

    def __init__(self, prefix='link:'):
        self.prefix = prefix

    def on_need_guid(self, feed, item_dict):
        link = item_dict.get('link')
        if link:
            return '%s%s' % (self.prefix or '', link)

        return None



# Path: feedplatform/addins.py
# class base(object):
#     class __metaclass__(type):
#         def __new__(cls, name, bases, attrs):
#     def __new__(cls, *args, **kwargs):
#     def setup(self):
#     def log(self):
# def get_addins():
# def _make_addin(addin):
# def reinstall(addins=None):
#         def resolve_dependencies(addin, index):
# def install(*args, **kwargs):
# _ADDINS = None
#     _ADDINS = to_be_setup


# Path: feedplatform/lib/addins/items/guid.py
from feedplatform import addins
from hashlib import md5
import calendar


        return None


class guid_by_link(addins.base):
    """Generates a guid based on the <link> element of an item.

    The link url itself will be used as the guid. This differs from
    ``guid_by_content`` which could be used on the link-field with
    much the same effect, but would store a hash.

    This can go terribly wrong: There are a number of feeds out there
    which use a common base url for all items.

    By default, the guids are prefixed with ``link:`` for
    identification. You may override this using the ``prefix``
    parameter, or disable it completely by passing ``False``.
    """

    def __init__(self, prefix='link:'):
        self.prefix = prefix

    def on_need_guid(self, feed, item_dict):
        link = item_dict.get('link')
        if link:
            return '%s%s' % (self.prefix or '', link)

        return None



class guid_by_date(addins.base):
