Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Get the available metadata for a story file.
    

        def get_meta(story_file, truncate=False):
    """Get the available metadata for a story file.
    """

    story_data = _get_story_data(story_file)
    if blorb.claim_story_file(story_data):
        return blorb.get_story_file_meta(story_data)
    else:
        handler = deduce_handler(story_file, story_data)
        if handler.HAS_META:
            return handler.get_story_file_meta(story_data, truncate)
    return None
        


src/p/y/pyifbabel-0.2.3/treatyofbabel/ifstory.py   pyifbabel(Download)
            if ifid not in self.ifid_list:
                self.ifid_list.append(ifid)
        meta = babel.get_meta(self.story_file)
        if meta is not None:
            meta_dom = ifiction.get_ifiction_dom(meta)