Flutter Engine
The Flutter Engine
|
Classes | |
class | AllFeedsCollector |
class | Article |
class | DataHandler |
class | Feed |
class | FeedCollector |
class | HtmlFile |
class | MainHandler |
class | OAuthHandler |
class | Section |
class | SetDefaultFeeds |
class | SetTestFeeds |
class | TopHandler |
class | UpdateHtml |
class | UploadFeed |
class | UserData |
class | UserLoginHandler |
Functions | |
def | findSectionByTitle (title) |
def | collectFeed (feed, data, continuation=None) |
def | collectArticle (feed, data) |
def | unescape (html) |
def | getFeedIcon (url) |
def | findImage (text) |
def | findImgTag (text, extensions) |
def | findVideoTag (text) |
def | makeThumbnail (text) |
def | generateThumbnail (url) |
def | main () |
def | Main (root_directory) |
def | GetAllFilepaths (root_directory) |
def | ReportWarning (text) |
def | ReportError (text) |
def | ReadFileIntoString (filepath) |
def | WriteStringToFile (string, filepath) |
def | ConfirmAllowedCopyrightHolder (holder) |
Variables | |
tuple | THUMB_SIZE = (57, 57) |
string | READER_API = 'http://www.google.com/reader/api/0' |
int | MAX_SECTIONS = 5 |
int | MAX_ARTICLES = 20 |
int | UPDATE_COUNT = 4 |
int | INITIAL_COUNT = 40 |
int | SNIPPET_SIZE = 180 |
list | ALLOWED_COPYRIGHT_HOLDERS |
Copyright 2011 Google Inc. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
def main.collectArticle | ( | feed, | |
data | |||
) |
Reads an article from the given JSON object and populates the datastore with it.
Definition at line 614 of file main.py.
def main.collectFeed | ( | feed, | |
data, | |||
continuation = None |
|||
) |
Reads a feed from the given JSON object and populates the given feed object in the datastore with its data.
Definition at line 585 of file main.py.
def main.ConfirmAllowedCopyrightHolder | ( | holder | ) |
Returns True if this is one of our allowed copyright holders. @param holder copyright holder as a string
Definition at line 108 of file main.py.
def main.findImage | ( | text | ) |
Definition at line 671 of file main.py.
def main.findImgTag | ( | text, | |
extensions | |||
) |
def main.findSectionByTitle | ( | title | ) |
def main.findVideoTag | ( | text | ) |
def main.generateThumbnail | ( | url | ) |
Definition at line 712 of file main.py.
def main.GetAllFilepaths | ( | root_directory | ) |
Return a list of all files (absolute path for each one) within a tree. @param root_directory root directory within which to find all files
Definition at line 68 of file main.py.
def main.getFeedIcon | ( | url | ) |
def main.main | ( | ) |
Definition at line 758 of file main.py.
def main.Main | ( | root_directory | ) |
Run everything. @param root_directory root directory within which to modify all files
Definition at line 33 of file main.py.
def main.makeThumbnail | ( | text | ) |
def main.ReadFileIntoString | ( | filepath | ) |
def main.ReportError | ( | text | ) |
def main.ReportWarning | ( | text | ) |
def main.unescape | ( | html | ) |
Definition at line 658 of file main.py.
def main.WriteStringToFile | ( | string, | |
filepath | |||
) |
list main.ALLOWED_COPYRIGHT_HOLDERS |
string main.READER_API = 'http://www.google.com/reader/api/0' |