Skip to content

dreamhost/zendesk-publish-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zendesk-publish-script

This is a script that takes an html file and a section as arguments and publishes the html to that zection on zendesk. Handles images and tags, also can update a article if it already exists.

Using the Script

First create a virtualenv with the required modules using:

virtualenv venv ; . venv/bin/activate ; pip install -r requirements.txt

After that you will also need to set some environment variables:

Then you can run the script with:

python publish.py file.html section_num

To mass publish articles, write a yaml file with the configs (see example.yml), then run:

python publish.py file.yml

To publish a json file that is pulled from zendesk, use

python publish.py file.json

About

Small script to publish an article to zendesk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages