__license__   = 'GPL v3'
__copyright__ = '2010, Darko Miletic <darko.miletic at gmail.com>'
'''
www.virtualshackles.com
'''

from calibre.web.feeds.recipes import BasicNewsRecipe

class Virtualshackles(BasicNewsRecipe):
    title                  = 'Virtual Shackles'
    __author__             = 'Darko Miletic'
    description            = "The adventures of Orion and Jack, making games they'd never play for people they don't like."
    category               = 'virtual shackles, virtualshackles, games, webcomic, comic, video game, orion, jack'
    oldest_article         = 10
    max_articles_per_feed  = 100
    no_stylesheets         = True
    use_embedded_content   = True
    encoding               = 'cp1252'
    publisher              = 'Virtual Shackles'
    language               = 'en'
    publication_type       = 'comic'

    conversion_options = {
                             'comments'  : description
                            ,'tags'      : category
                            ,'language'  : language
                            ,'publisher' : publisher
                         }

    feeds = [(u'Virtual Shackles', u'http://feeds2.feedburner.com/virtualshackles' )]

    def preprocess_html(self, soup):
        return self.adeify_images(soup)
