My blogger widget in Python
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
PBctrl.py
PBlogger.py
README.md
parse.py
tools.py

README.md

Introduction

  1. Aim: This is a practice of python. I have a website located at here, and I want to use it as a blog. So I developed this widget to help me make this possible.

  2. What does PBlogger do: It is feed with 2 xml file, config.xml to control the css and shortcut icon of the html file generated and a xml file with two element <title> and <content> to define the content of the blog post.

How to use

  1. The format of the config.xml:

     <config>  
     	<css link="pathtocssfile"/>
     	<icon link="pathtoiconfile"/>
     </config>
    
  2. The format of the blog.xml:

     <blog>
     	<title>Blog Title</title>
     	<content>Blog Content</content>
     </blog>
    

License

You can use the code in anyway you like.