Skip to content

Gopinathp/plainblog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I've been working very hard on this to make the most lightweight blog engine possible. Everything you need is a XML file and the engine built entirely using jQuery will do the rest of the work for you. My engine will read the XML feed and parse it's content to a full featured blog! You don't need any kind of scripting language like PHP, Ruby or Python installed to run this blog engine, since it's entirely built using jQuery. Upload the files to your server, edit the feed.xml file and you're ready to go!

Table of Contents

Installation

The installation is very simple, all that you need to do is copy the files to your server public web directory(usually /var/www for UNIX systems running Apache), now run the new script that will configure some stuff for you by running ./config.sh.

The next step is to change the navigation bar that is displayed below the blog header, to make this you need to change the variables/headNav.xml file to add more items and change the existing ones. Just follow the example that is already included.

The last thing you need to do is edit the feed.xml file to add your posts(You'll need to change this file every time you make a new post). Now it's all up and running!

The XML Feed

The feed.xml file contains all the stuff that will be published on the front page, so here you can find a bit about each tag that the blog engine recognizes(They are all obligatory):

  • Blog - The whole container
  • Entry - A new post
    • author - The author of the post
  • Title - Self explanatory
  • Date - The date of the post
    • Any format will be accepted, but dd/mm/yyyy is preferable
  • Image - Every post needs a thumbnail that will be attached on the left side of each post
    • Please store all the images at the images folder
  • Content - The body of the post goes here
    • You can use HTML, CSS, Javascript here
    • Don't forget that this field needs <![CDATA[]]>
Important: The entries will be shown on the same order that they are on the file, so put the newer ones first.

Example

<Blog>
	<Entry author="Nathan Campos">
		<Title>Introducing the Test of plainBlog</title>
		<Date>25/06/2011</date>
		<Image>images/github_mini.png</image>
		<Content format="html"><![CDATA[Testing the HTML formatting things like <b>Bold</b> and <i>Italic</i><br />
			Second line with <a href="http://google.com">link</a>]]></content>
	</entry>
</blog>

Author

Some sites where you can find me:

Donate

Please consider donating some money for the developer so he can continue improving this project and buying more books to improve his knowledge.

File:http://pixhost.tk/img/z5fk.png

About

The most lightweight blog engine ever!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published