Example #1
0
def upload_evernote():
    articles = genkbhtml.process_file(EVERNOTE_SRC_FILE)
    articles = [
        convert_evernote_article(article) for article in articles
        if not article.is_hidden()
    ]
    #print("len(articles)=%d" % len(articles))
    upload_posts(articles)
Example #2
0
def upload_kb():
    articles = genkbhtml.process_file(KB_SRC_FILE)
    articles = [
        convert_kb_article(article) for article in articles
        if not article.is_hidden()
    ]
    #print("len(articles)=%d" % len(articles))
    upload_posts(articles)
def upload_evernote():
    articles = genkbhtml.process_file(EVERNOTE_SRC_FILE)
    articles = [convert_evernote_article(article) for article in articles if not article.is_hidden()]
    #print("len(articles)=%d" % len(articles))
    upload_posts(articles)
def upload_kb():
    articles = genkbhtml.process_file(KB_SRC_FILE)
    articles = [convert_kb_article(article) for article in articles if not article.is_hidden()]
    #print("len(articles)=%d" % len(articles))
    upload_posts(articles)