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!
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 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 containerEntry
- A new postauthor
- The author of the post
Title
- Self explanatoryDate
- 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
- Please store all the images at the
Content
- The body of the post goes here- You can use HTML, CSS, Javascript here
- Don't forget that this field needs
<![CDATA[]]>
<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>
Some sites where you can find me:
Please consider donating some money for the developer so he can continue improving this project and buying more books to improve his knowledge.