#!/usr/bin/env  python



from calibre.web.feeds.news import BasicNewsRecipe


class HelloWorld(BasicNewsRecipe):

    def parse_index(self):
        numFeeds = 5
        numArticles = 50
        url = 'file:///C:/HelloWorld.html'
        feeds = []
        for feedsIndex in range(numFeeds):
            articles = []
            for articlesIndex in range(numArticles):
                articles.append({
                                  'title'      : 'Article-' + str(articlesIndex)
                                 ,'date'       : ''
                                 ,'url'        : url
                                 ,'description': ''
                                })
            feeds.append(('Feed-' + str(feedsIndex), articles))

        return feeds


 

